diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-04-15 08:11:15 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-04-15 08:32:05 +0200 |
commit | a5d7f3e02b1a9168eb076d86947f5b2939feec72 (patch) | |
tree | 3950dfaff34ce101e5eed32a5f3b2968a314f74d /dev-python/xxhash | |
parent | dev-python/boto3: Bump to 1.17.52 (diff) | |
download | gentoo-a5d7f3e02b1a9168eb076d86947f5b2939feec72.tar.gz gentoo-a5d7f3e02b1a9168eb076d86947f5b2939feec72.tar.bz2 gentoo-a5d7f3e02b1a9168eb076d86947f5b2939feec72.zip |
dev-python/xxhash: Bump to 2.0.2
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-2.0.2.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/xxhash/Manifest b/dev-python/xxhash/Manifest index 623d9cb8a8af..480d1039a078 100644 --- a/dev-python/xxhash/Manifest +++ b/dev-python/xxhash/Manifest @@ -1 +1,2 @@ DIST xxhash-2.0.0.tar.gz 64099 BLAKE2B bf4a013b70f02945b00b01043b34ff32bda0ce8aac5a533a0c7c606665a4054f443a46b1f60454b4d19a064db276ea66370a159d4037df49d5213dfc33703421 SHA512 c0d303f2705542ef8edb78ccccf42e3da6904e81cecb52f45861d0f0215f0882ad1617167273781c19bb5ff7ed776ec41a36a380eab2ce59e02636fc76f4b009 +DIST xxhash-2.0.2.tar.gz 64283 BLAKE2B 01fe9868b45f0be762c233a80b550e4069bd7f259fac8aeb90407864ac1fa6cda314880c87ce03d8854bedbecea1eba665ec4e00b27b68a8573c398238c5ce97 SHA512 8908e78207ff7b835259e359e2617f6b96555bd9dbc5bb079c850e9de22fd33c15396fbde0cd824cf8af2a195217f3ddc1aa8e62f1ed4071408b4a29bab31f2c diff --git a/dev-python/xxhash/xxhash-2.0.2.ebuild b/dev-python/xxhash/xxhash-2.0.2.ebuild new file mode 100644 index 000000000000..0249b086214b --- /dev/null +++ b/dev-python/xxhash/xxhash-2.0.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +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" + +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND=">=dev-libs/xxhash-0.8.0" +BDEPEND="${RDEPEND}" + +distutils_enable_tests unittest + +python_configure_all() { + export XXHASH_LINK_SO=1 +} + +python_test() { + cd tests || die + eunittest +} |