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>[email protected]</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>
