diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-10-19 12:01:21 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-10-19 12:02:37 +0200 |
commit | 83b923e7edc552938fdc1b198e42a7d7133e3729 (patch) | |
tree | 2537bba9753d9927f6de77fc5c90ecd9879dd217 /dev-python/xxhash | |
parent | dev-python/hatchling: Bump to 1.11.1 (diff) | |
download | gentoo-83b923e7edc552938fdc1b198e42a7d7133e3729.tar.gz gentoo-83b923e7edc552938fdc1b198e42a7d7133e3729.tar.bz2 gentoo-83b923e7edc552938fdc1b198e42a7d7133e3729.zip |
dev-python/xxhash: Bump to 3.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/xxhash')
-rw-r--r-- | dev-python/xxhash/Manifest | 1 | ||||
-rw-r--r-- | dev-python/xxhash/xxhash-3.1.0.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/xxhash/Manifest b/dev-python/xxhash/Manifest index 2d4d065a874f..ceac0fcc9cac 100644 --- a/dev-python/xxhash/Manifest +++ b/dev-python/xxhash/Manifest @@ -1 +1,2 @@ DIST xxhash-3.0.0.tar.gz 74279 BLAKE2B 4c3d68103a7145aa1fd99da955b206c734c7882f1f6f3020d8bce9e5f2eb9714b9168b28918595bbb60445a024ec50d606e387358e6db8f4e575014763dece65 SHA512 170bfbacf0c4f8136550a257328d71dca096d996a52993a54442a7c5a54d48c51bb7997b3a718d73ae6c8e25a672ed4de664e7a651e02c43eb5f3fd135a59a80 +DIST xxhash-3.1.0.tar.gz 74389 BLAKE2B c2c7467aca51a397366c9de47104831f2d3d732b6b287e3fce4a0481d21bf059330dd63e1372b8da3aa9354efbc3de6ba106501d86c907b5783f7192e5e7c9a1 SHA512 a1d78dbbcc8fc8e41b6bc1d9e571df6951d4545fe61b198427db6f8c99058a095cf20e09951acc7bf9b432963f8b234741ae1f15ebb19972e69be0c59c9eb165 diff --git a/dev-python/xxhash/xxhash-3.1.0.ebuild b/dev-python/xxhash/xxhash-3.1.0.ebuild new file mode 100644 index 000000000000..dc94bedd6f45 --- /dev/null +++ b/dev-python/xxhash/xxhash-3.1.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Python binding for the xxHash library" +HOMEPAGE=" + https://github.com/ifduyue/python-xxhash/ + https://pypi.org/project/xxhash/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +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 +} |