1 |
commit: a5d7f3e02b1a9168eb076d86947f5b2939feec72 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 15 06:11:15 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 15 06:32:05 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5d7f3e0 |
7 |
|
8 |
dev-python/xxhash: Bump to 2.0.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/xxhash/Manifest | 1 + |
13 |
dev-python/xxhash/xxhash-2.0.2.ebuild | 31 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/xxhash/Manifest b/dev-python/xxhash/Manifest |
17 |
index 623d9cb8a8a..480d1039a07 100644 |
18 |
--- a/dev-python/xxhash/Manifest |
19 |
+++ b/dev-python/xxhash/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST xxhash-2.0.0.tar.gz 64099 BLAKE2B bf4a013b70f02945b00b01043b34ff32bda0ce8aac5a533a0c7c606665a4054f443a46b1f60454b4d19a064db276ea66370a159d4037df49d5213dfc33703421 SHA512 c0d303f2705542ef8edb78ccccf42e3da6904e81cecb52f45861d0f0215f0882ad1617167273781c19bb5ff7ed776ec41a36a380eab2ce59e02636fc76f4b009 |
22 |
+DIST xxhash-2.0.2.tar.gz 64283 BLAKE2B 01fe9868b45f0be762c233a80b550e4069bd7f259fac8aeb90407864ac1fa6cda314880c87ce03d8854bedbecea1eba665ec4e00b27b68a8573c398238c5ce97 SHA512 8908e78207ff7b835259e359e2617f6b96555bd9dbc5bb079c850e9de22fd33c15396fbde0cd824cf8af2a195217f3ddc1aa8e62f1ed4071408b4a29bab31f2c |
23 |
|
24 |
diff --git a/dev-python/xxhash/xxhash-2.0.2.ebuild b/dev-python/xxhash/xxhash-2.0.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..0249b086214 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/xxhash/xxhash-2.0.2.ebuild |
29 |
@@ -0,0 +1,31 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{7..9} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Python binding for the xxHash library" |
40 |
+HOMEPAGE="https://github.com/ifduyue/python-xxhash |
41 |
+ https://pypi.org/project/xxhash/" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+LICENSE="MIT" |
44 |
+ |
45 |
+KEYWORDS="~amd64" |
46 |
+SLOT="0" |
47 |
+ |
48 |
+RDEPEND=">=dev-libs/xxhash-0.8.0" |
49 |
+BDEPEND="${RDEPEND}" |
50 |
+ |
51 |
+distutils_enable_tests unittest |
52 |
+ |
53 |
+python_configure_all() { |
54 |
+ export XXHASH_LINK_SO=1 |
55 |
+} |
56 |
+ |
57 |
+python_test() { |
58 |
+ cd tests || die |
59 |
+ eunittest |
60 |
+} |