void-packages/srcpkgs/python3-xxhash/template

25 lines
702 B
Bash

# Template file for 'python3-xxhash'
pkgname=python3-xxhash
version=3.0.0
revision=2
wrksrc="xxhash-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools_scm"
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"
changelog="https://raw.githubusercontent.com/ifduyue/python-xxhash/master/CHANGELOG.rst"
distfiles="${PYPI_SITE}/x/xxhash/xxhash-${version}.tar.gz"
checksum=30b2d97aaf11fb122023f6b44ebb97c6955e9e00d7461a96415ca030b5ceb9c7
pre_build() {
export XXHASH_LINK_SO=1
}
post_install() {
vlicense LICENSE
}