1 |
commit: 8a8e6eaad89556b21c782e38b47943ba6d01b130 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 19 14:36:06 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 19 15:23:34 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a8e6eaa |
7 |
|
8 |
dev-python/pytrie: Use PEP517 build |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytrie/pytrie-0.4.0-r1.ebuild | 29 +++++++++++++++++++++++++++++ |
13 |
1 file changed, 29 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/pytrie/pytrie-0.4.0-r1.ebuild b/dev-python/pytrie/pytrie-0.4.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..f516fd30d597 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/pytrie/pytrie-0.4.0-r1.ebuild |
20 |
@@ -0,0 +1,29 @@ |
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 |
+MY_PN="PyTrie" |
32 |
+MY_P="${MY_PN}-${PV}" |
33 |
+DESCRIPTION="A pure Python implementation of the trie data structure" |
34 |
+HOMEPAGE=" |
35 |
+ https://github.com/gsakkis/pytrie/ |
36 |
+ https://pypi.org/project/PyTrie/ |
37 |
+" |
38 |
+SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" |
39 |
+S=${WORKDIR}/${MY_P} |
40 |
+ |
41 |
+LICENSE="BSD" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" |
44 |
+ |
45 |
+RDEPEND=" |
46 |
+ dev-python/sortedcontainers[${PYTHON_USEDEP}] |
47 |
+" |
48 |
+ |
49 |
+distutils_enable_tests unittest |