public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/libusb1/
@ 2025-03-06 22:06 James Le Cuirot
  0 siblings, 0 replies; 2+ messages in thread
From: James Le Cuirot @ 2025-03-06 22:06 UTC (permalink / raw
  To: gentoo-commits

commit:     e3b868f1bd0db16b5bf5cde8d87e4ccdb305229b
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  6 22:02:10 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Mar  6 22:04:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3b868f1

dev-python/libusb1: New package at 3.2.0

3.3.0 has recently been released, but I believe it may be broken.

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 dev-python/libusb1/Manifest             |  1 +
 dev-python/libusb1/libusb1-3.2.0.ebuild | 29 +++++++++++++++++++++++++++++
 dev-python/libusb1/metadata.xml         | 12 ++++++++++++
 3 files changed, 42 insertions(+)

diff --git a/dev-python/libusb1/Manifest b/dev-python/libusb1/Manifest
new file mode 100644
index 000000000000..10aaf932733f
--- /dev/null
+++ b/dev-python/libusb1/Manifest
@@ -0,0 +1 @@
+DIST libusb1-3.2.0.tar.gz 105601 BLAKE2B 11a4f49253e3698448c97b9ede585d67f8c174fb0fdeb4040077f9851e96b4ffb50af4ee02fe9ca2b4c22f47098e5d1d3798aa34a2ed75f43dae23d8d96eec25 SHA512 5979d50e0f3fe6e0054bb67a13e1c7c31f9f468949ea51dccd9a990bf6e2333c35136e0f6fe46c66902f5c135872999a5657abc8b4205d8349704fa8b9f53759

diff --git a/dev-python/libusb1/libusb1-3.2.0.ebuild b/dev-python/libusb1/libusb1-3.2.0.ebuild
new file mode 100644
index 000000000000..6c134a62e8a7
--- /dev/null
+++ b/dev-python/libusb1/libusb1-3.2.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_13 python3_13t )
+
+inherit distutils-r1
+
+DESCRIPTION="Python ctype-based wrapper around libusb1"
+HOMEPAGE="https://github.com/vpelletier/python-libusb1"
+SRC_URI="https://github.com/vpelletier/python-libusb1/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="virtual/libusb:1"
+DEPEND="test? ( ${RDEPEND} )"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+	# Don't need this.
+	rm -r usb1/__pyinstaller || die
+	default
+}

diff --git a/dev-python/libusb1/metadata.xml b/dev-python/libusb1/metadata.xml
new file mode 100644
index 000000000000..d7b268814e30
--- /dev/null
+++ b/dev-python/libusb1/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>games@gentoo.org</email>
+		<name>Gentoo Games Project</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">vpelletier/python-libusb1</remote-id>
+		<remote-id type="pypi">libusb1</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/libusb1/
@ 2025-03-07  6:24 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2025-03-07  6:24 UTC (permalink / raw
  To: gentoo-commits

commit:     36d4b5ca5ca7a34951a8166b98768712f9e7aacb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  7 06:23:24 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar  7 06:23:24 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36d4b5ca

dev-python/libusb1: enable py3.10, py3.11, py3.12

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/libusb1/libusb1-3.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/libusb1/libusb1-3.2.0.ebuild b/dev-python/libusb1/libusb1-3.2.0.ebuild
index 6c134a62e8a7..054133f2294d 100644
--- a/dev-python/libusb1/libusb1-3.2.0.ebuild
+++ b/dev-python/libusb1/libusb1-3.2.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_13 python3_13t )
+PYTHON_COMPAT=( python3_{10..13} python3_13t )
 
 inherit distutils-r1
 


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-03-07  6:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-06 22:06 [gentoo-commits] repo/gentoo:master commit in: dev-python/libusb1/ James Le Cuirot
  -- strict thread matches above, loose matches on Subject: below --
2025-03-07  6:24 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox