1 |
commit: 8068373892ad0a40596c5c103a49d8dde52fb690 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 15 17:45:48 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 16 03:48:05 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80683738 |
7 |
|
8 |
dev-python/hidapi: Use pypi.eclass |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/hidapi/hidapi-0.13.1.ebuild | 6 +----- |
13 |
1 file changed, 1 insertion(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/hidapi/hidapi-0.13.1.ebuild b/dev-python/hidapi/hidapi-0.13.1.ebuild |
16 |
index fe4ec8ca7aa0..6a65cf05265a 100644 |
17 |
--- a/dev-python/hidapi/hidapi-0.13.1.ebuild |
18 |
+++ b/dev-python/hidapi/hidapi-0.13.1.ebuild |
19 |
@@ -4,12 +4,10 @@ |
20 |
EAPI=8 |
21 |
PYTHON_COMPAT=( python3_{9..11} ) |
22 |
DISTUTILS_USE_PEP517=setuptools |
23 |
-inherit distutils-r1 |
24 |
+inherit distutils-r1 pypi |
25 |
|
26 |
DESCRIPTION="A Cython interface to HIDAPI library" |
27 |
HOMEPAGE="https://github.com/trezor/cython-hidapi" |
28 |
-MY_PV=$(ver_rs 3 .post) |
29 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz" |
30 |
|
31 |
LICENSE="|| ( BSD GPL-3 )" |
32 |
SLOT="0" |
33 |
@@ -21,8 +19,6 @@ BDEPEND="dev-python/cython[${PYTHON_USEDEP}]" |
34 |
|
35 |
distutils_enable_tests pytest |
36 |
|
37 |
-S="${WORKDIR}/${PN}-${MY_PV}" |
38 |
- |
39 |
python_configure_all() { |
40 |
DISTUTILS_ARGS=( --with-system-hidapi ) |
41 |
} |