1 |
commit: 5002c1d31530d65a1b7c7233efc4c7a700251e9d |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 28 18:54:34 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 28 19:11:26 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5002c1d3 |
7 |
|
8 |
dev-python/xxhash: add 3.2.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/xxhash/Manifest | 1 + |
13 |
dev-python/xxhash/xxhash-3.2.0.ebuild | 38 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/xxhash/Manifest b/dev-python/xxhash/Manifest |
17 |
index f35f9c821333..eb61887a7efd 100644 |
18 |
--- a/dev-python/xxhash/Manifest |
19 |
+++ b/dev-python/xxhash/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST xxhash-3.1.0.tar.gz 74389 BLAKE2B c2c7467aca51a397366c9de47104831f2d3d732b6b287e3fce4a0481d21bf059330dd63e1372b8da3aa9354efbc3de6ba106501d86c907b5783f7192e5e7c9a1 SHA512 a1d78dbbcc8fc8e41b6bc1d9e571df6951d4545fe61b198427db6f8c99058a095cf20e09951acc7bf9b432963f8b234741ae1f15ebb19972e69be0c59c9eb165 |
22 |
+DIST xxhash-3.2.0.tar.gz 74561 BLAKE2B d2c32b9a556eaaa67d961e130b017ff82944fbec983f24e0356436a7a23927faaba118328eff508e288e0757a1379b5ff88a48c2130eb9b3cf347e178cfc810d SHA512 bbe903b95de3e91177064986adc5c945a9b7058650ea2b5cc10ee162a15a42909dc69f95b86081b8d276960f309b4bacf895ad263a9d9188fa66bb216d76dcd5 |
23 |
|
24 |
diff --git a/dev-python/xxhash/xxhash-3.2.0.ebuild b/dev-python/xxhash/xxhash-3.2.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..dc94bedd6f45 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/xxhash/xxhash-3.2.0.ebuild |
29 |
@@ -0,0 +1,38 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Python binding for the xxHash library" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/ifduyue/python-xxhash/ |
43 |
+ https://pypi.org/project/xxhash/ |
44 |
+" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ >=dev-libs/xxhash-0.8.0 |
53 |
+" |
54 |
+RDEPEND=" |
55 |
+ ${DEPEND} |
56 |
+" |
57 |
+ |
58 |
+distutils_enable_tests unittest |
59 |
+ |
60 |
+python_configure_all() { |
61 |
+ export XXHASH_LINK_SO=1 |
62 |
+} |
63 |
+ |
64 |
+python_test() { |
65 |
+ cd tests || die |
66 |
+ eunittest |
67 |
+} |