void-packages/srcpkgs/python3-xxhash/template

24 lines
609 B
Bash

# Template file for 'python3-xxhash'
pkgname=python3-xxhash
version=2.0.0
revision=2
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=58ca818554c1476fa1456f6cd4b87002e2294f09baf0f81e5a2a4968e62c423c
pre_build() {
export XXHASH_LINK_SO=1
}
post_install() {
vlicense LICENSE
}