23 lines
609 B
Bash
23 lines
609 B
Bash
# Template file for 'python3-xxhash'
|
|
pkgname=python3-xxhash
|
|
version=2.0.2
|
|
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=b7bead8cf6210eadf9cecf356e17af794f57c0939a3d420a00d87ea652f87b49
|
|
|
|
pre_build() {
|
|
export XXHASH_LINK_SO=1
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|