public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/pyusb] rawhide: Drop redundant BuildRequires for python3-wheel
Date: Mon, 29 Jun 2026 15:47:11 GMT [thread overview]
Message-ID: <178274803160.1.10561492290057774697.rpms-pyusb-e7a5743224a6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/pyusb
Branch : rawhide
Commit : e7a5743224a68d64ea8b385d11fc6499cc7883a6
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-06-29T13:51:44+02:00
Stats : +29/-2 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/pyusb/c/e7a5743224a68d64ea8b385d11fc6499cc7883a6?branch=rawhide
Log:
Drop redundant BuildRequires for python3-wheel
---
diff --git a/81b675f1.patch b/81b675f1.patch
new file mode 100644
index 0000000..e35a95b
--- /dev/null
+++ b/81b675f1.patch
@@ -0,0 +1,19 @@
+From 81b675f1f6d31ab4e86ed549e3523b7329cc31a3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
+Date: Mon, 4 Aug 2025 17:10:52 +0200
+Subject: [PATCH] Do not require wheel for building
+
+- current version of setuptools (70.1+) does not need wheel at all
+- older versions of setuptools would fetch wheel when building wheels (but not sdists)
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 508294e5..48647f2d 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,2 +1,2 @@
+ [build-system]
+-requires = ["setuptools>=30.3.0", "wheel", "setuptools_scm"]
++requires = ["setuptools>=30.3.0", "setuptools_scm"]
diff --git a/pyusb.spec b/pyusb.spec
index 4259a7c..3153a3f 100644
--- a/pyusb.spec
+++ b/pyusb.spec
@@ -1,10 +1,15 @@
Name: pyusb
Version: 1.3.1
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Python bindings for libusb
License: BSD-3-Clause
URL: https://github.com/pyusb/pyusb/
Source0: %{pypi_source}
+
+# Do not require wheel for building
+# https://github.com/fedora-eln/eln/issues/284
+Patch: https://github.com/pyusb/pyusb/commit/81b675f1.patch
+
BuildRequires: libusb1
BuildArch: noarch
@@ -25,7 +30,7 @@ PyUSB provides easy USB access to python. The module contains classes and
methods to support most USB operations.
%prep
-%autosetup
+%autosetup -p1
sed -i -e 's/\r//g' README.rst
%generate_buildrequires
@@ -48,6 +53,9 @@ cd tests
%doc README.rst
%changelog
+* Mon Jun 29 2026 Miro Hrončok <mhroncok@redhat.com> - 1.3.1-9
+- Drop redundant BuildRequires for python3-wheel
+
* Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 1.3.1-8
- Rebuilt for Python 3.15
reply other threads:[~2026-06-29 15:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178274803160.1.10561492290057774697.rpms-pyusb-e7a5743224a6@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox