1 |
commit: 418dcfa189ef07b5c7589171266732f3ba4bbc1e |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 5 17:50:07 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 5 18:01:44 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=418dcfa1 |
7 |
|
8 |
dev-python/pyu2f: Use PEP517 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/pyu2f/pyu2f-0.1.5-r1.ebuild | 33 +++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 33 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/pyu2f/pyu2f-0.1.5-r1.ebuild b/dev-python/pyu2f/pyu2f-0.1.5-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..18a4a5df25a4 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/pyu2f/pyu2f-0.1.5-r1.ebuild |
20 |
@@ -0,0 +1,33 @@ |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+DISTUTILS_USE_PEP517=setuptools |
27 |
+PYTHON_COMPAT=( python3_{8..10} ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="Python based U2F host library" |
32 |
+HOMEPAGE="https://github.com/google/pyu2f" |
33 |
+SRC_URI="https://github.com/google/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="Apache-2.0" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" |
38 |
+ |
39 |
+RDEPEND=" |
40 |
+ dev-python/six[${PYTHON_USEDEP}] |
41 |
+" |
42 |
+BDEPEND=" |
43 |
+ ${RDEPEND} |
44 |
+ test? ( |
45 |
+ dev-python/pyfakefs[${PYTHON_USEDEP}] |
46 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
47 |
+ dev-python/mock[${PYTHON_USEDEP}] |
48 |
+ ) |
49 |
+" |
50 |
+ |
51 |
+DOCS=( CONTRIBUTING.md README.md ) |
52 |
+ |
53 |
+distutils_enable_tests pytest |