New package: python3-xxhash-1.4.3

This commit is contained in:
Piotr Wójcik 2020-02-13 21:35:22 +01:00 committed by Piotr
parent ab16bdde96
commit 8abfa0a428
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# Template file for 'python3-xxhash'
pkgname=python3-xxhash
version=1.4.3
revision=1
wrksrc="xxhash-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel xxHash-devel"
depends="python3"
short_desc="Python binding for xxHash"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="BSD-2-Clause"
homepage="https://github.com/ifduyue/python-xxhash"
distfiles="${PYPI_SITE}/x/xxhash/xxhash-${version}.tar.gz"
checksum=8b6b1afe7731d7d9cbb0398b4a811ebb5e6be5c174f72c68abf81f919a435de9
pre_build() {
export XXHASH_LINK_SO=1
}
post_install() {
vlicense LICENSE
}