summaryrefslogtreecommitdiff
path: root/dev-python/xxhash
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/xxhash')
-rw-r--r--dev-python/xxhash/Manifest2
-rw-r--r--dev-python/xxhash/xxhash-3.5.0.ebuild38
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/xxhash/Manifest b/dev-python/xxhash/Manifest
index 3572b651d55e..49521fd58a3d 100644
--- a/dev-python/xxhash/Manifest
+++ b/dev-python/xxhash/Manifest
@@ -1,3 +1,5 @@
DIST xxhash-3.4.1.tar.gz 84220 BLAKE2B 9bf0bc3ea15adbcf9c1b0dd526f406bd20ca11b6c25c2c771e34952d9bd3d2e85d121304bebfe47590573b4da73acf28d1726d0c628239ec9591738462cee3c0 SHA512 ab3c1fa5ce3ebefa13f87c60a700a897a080c576f1ce492bae9c47eb24a9d182cc8e71bfed81c8f0413ee261fd5522bdf44187043c9703958b72fa77e46a8953
+DIST xxhash-3.5.0.tar.gz 84241 BLAKE2B efe3fcfa02b15afd1539aa8667878868430337a9fe1decca03ae402893c743fd6f2e8dbbfae747e54a9bc6b65ba5cf5f4d2170181b88a820e9d4615b2b902ec7 SHA512 0242589264cba67eb535a0fffbfa8f171fe8c1991b8a90a1484311f283c9f49c81cae8a86552c43232aa9ac7ba66c989fda0a21bb403b3e8219b32db53941b2e
EBUILD xxhash-3.4.1.ebuild 611 BLAKE2B 28e72269239c783a836dbe8cc9337024a076d6fb431aaeea5d67afaf12f47e4bd5d4e42e7c59d459e79690431b2ed5ce785d317056c90b9f57aad9dbe6257839 SHA512 c8f2c60f6b4f754a244c3d9ca470ab5905f01cbd97d346847da08a1f2f607289878b6694ce88da11047feae9116bbafe35fb3ab4f6f03b879422e65c8823fc8c
+EBUILD xxhash-3.5.0.ebuild 613 BLAKE2B 026079a87b5014b59b37e3f108e43e698549f4ebff43e1b7cab5192db7261147b7d56632a55c25a65e676dbb4d7e4d2bb7f8219961dea335b4c3c6cd94e883c9 SHA512 8284e30ff70850aee122723ea3cf7be6c505b5b1a8d0a395a5db7a3cc273d2bcfd375bf22364f2780a4f5e12e7364a638cadce6e4ce98960da2d71a0db2b462d
MISC metadata.xml 561 BLAKE2B 80182c778f9e8055e3d9c8a0adf1eea293724fac6706eb76ace27655a6e6ccaf7ab0fe8d4b0dbaf411183ae10da34b0452dc461f12faeb35e06f3253ea5ab48f SHA512 d2bd317bff748d00be51a87bd3cfe93ed3ecd2e758262fea0042cfd3c70051fb72940fde06822fd1ba972b8ce21c33f4a1a5bb5ae14c7c68e25c661e24d7ff68
diff --git a/dev-python/xxhash/xxhash-3.5.0.ebuild b/dev-python/xxhash/xxhash-3.5.0.ebuild
new file mode 100644
index 000000000000..733105cff70f
--- /dev/null
+++ b/dev-python/xxhash/xxhash-3.5.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python binding for the xxHash library"
+HOMEPAGE="
+ https://github.com/ifduyue/python-xxhash/
+ https://pypi.org/project/xxhash/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+DEPEND="
+ >=dev-libs/xxhash-0.8.0
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+distutils_enable_tests unittest
+
+python_configure_all() {
+ export XXHASH_LINK_SO=1
+}
+
+python_test() {
+ cd tests || die
+ eunittest
+}