diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-03-15 18:45:48 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-16 04:48:05 +0100 |
commit | 8068373892ad0a40596c5c103a49d8dde52fb690 (patch) | |
tree | aec095cdc0ef1a8065ef693320a4a455b4448e7a | |
parent | dev-python/helpdev: Use pypi.eclass (diff) | |
download | gentoo-8068373892ad0a40596c5c103a49d8dde52fb690.tar.gz gentoo-8068373892ad0a40596c5c103a49d8dde52fb690.tar.bz2 gentoo-8068373892ad0a40596c5c103a49d8dde52fb690.zip |
dev-python/hidapi: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/hidapi/hidapi-0.13.1.ebuild | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/dev-python/hidapi/hidapi-0.13.1.ebuild b/dev-python/hidapi/hidapi-0.13.1.ebuild index fe4ec8ca7aa0..6a65cf05265a 100644 --- a/dev-python/hidapi/hidapi-0.13.1.ebuild +++ b/dev-python/hidapi/hidapi-0.13.1.ebuild @@ -4,12 +4,10 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 +inherit distutils-r1 pypi DESCRIPTION="A Cython interface to HIDAPI library" HOMEPAGE="https://github.com/trezor/cython-hidapi" -MY_PV=$(ver_rs 3 .post) -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz" LICENSE="|| ( BSD GPL-3 )" SLOT="0" @@ -21,8 +19,6 @@ BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" distutils_enable_tests pytest -S="${WORKDIR}/${PN}-${MY_PV}" - python_configure_all() { DISTUTILS_ARGS=( --with-system-hidapi ) } |