summaryrefslogtreecommitdiff
path: root/dev-python/xxhash
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-30 22:42:58 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-30 22:42:58 +0100
commit3b4199328e240d392ef1f03900219cb88bdafcff (patch)
tree06007a008d485a5e0a169f2807b68f456e9df1b3 /dev-python/xxhash
parentaca0af8133e724b7edf0b5c6efe12c39077a3dc9 (diff)
gentoo auto-resync : 30:07:2023 - 22:42:58
Diffstat (limited to 'dev-python/xxhash')
-rw-r--r--dev-python/xxhash/Manifest2
-rw-r--r--dev-python/xxhash/xxhash-3.3.0.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/xxhash/Manifest b/dev-python/xxhash/Manifest
index 04415f5c02b3..d619d988058e 100644
--- a/dev-python/xxhash/Manifest
+++ b/dev-python/xxhash/Manifest
@@ -1,3 +1,5 @@
DIST xxhash-3.2.0.tar.gz 74561 BLAKE2B d2c32b9a556eaaa67d961e130b017ff82944fbec983f24e0356436a7a23927faaba118328eff508e288e0757a1379b5ff88a48c2130eb9b3cf347e178cfc810d SHA512 bbe903b95de3e91177064986adc5c945a9b7058650ea2b5cc10ee162a15a42909dc69f95b86081b8d276960f309b4bacf895ad263a9d9188fa66bb216d76dcd5
+DIST xxhash-3.3.0.tar.gz 84262 BLAKE2B 9655bed8c30e8ecc7b3f12bebe9f845412e4fbc24daef11570eb8bf78deaf78fe4ea874a5ed334c965c055e6ad4e32f03f025d3ed815bb7a2249e8f80a0b04b0 SHA512 1418e0ff8d7dca7759bfe048ee42c2b1168b68ec69f431622f065c28bcf65b2e21f5951a8651f2151a17f8d1b19b47d5c305a545ae1e0d427c7cadf29e94b968
EBUILD xxhash-3.2.0.ebuild 612 BLAKE2B c17817ef9ac7f8646dd622b2f2641086ca9cb98237032f0e1cc37e8f4d17cd0570f23790492e611fa5538263ebdb15fc219942cd5766cda3167925bf83ed2ae1 SHA512 1fe586c07695a80f98ec40e9f3d1d5b46518f11e14b35d071e48fc25198e286f59ddccdbf9b28a67608176bd04c606f67c8b58ca03d7147555a822c29abc0e32
+EBUILD xxhash-3.3.0.ebuild 670 BLAKE2B 1057ead9c34367ed3ba4a9f0ccd82859c08aa70f19a3e06a3d1e36353f74f9323422511819a988694246479c05b9d0a3d13c4f6e912c7b8856f7a9709a462808 SHA512 f94566ec54372c8b6af481e3682dd4c9cf1dc9c7e7b623e2d5b43ddb9b09215e166c42a98bd3e599680655320e3eeb83844fdf579c7a06f41799900d8de29c8a
MISC metadata.xml 561 BLAKE2B 80182c778f9e8055e3d9c8a0adf1eea293724fac6706eb76ace27655a6e6ccaf7ab0fe8d4b0dbaf411183ae10da34b0452dc461f12faeb35e06f3253ea5ab48f SHA512 d2bd317bff748d00be51a87bd3cfe93ed3ecd2e758262fea0042cfd3c70051fb72940fde06822fd1ba972b8ce21c33f4a1a5bb5ae14c7c68e25c661e24d7ff68
diff --git a/dev-python/xxhash/xxhash-3.3.0.ebuild b/dev-python/xxhash/xxhash-3.3.0.ebuild
new file mode 100644
index 000000000000..4839bd405feb
--- /dev/null
+++ b/dev-python/xxhash/xxhash-3.3.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 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..12} )
+
+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}
+"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest
+
+python_configure_all() {
+ export XXHASH_LINK_SO=1
+}
+
+python_test() {
+ cd tests || die
+ eunittest
+}