24 lines
675 B
Bash
24 lines
675 B
Bash
# Template file for 'python3-xxhash'
|
|
pkgname=python3-xxhash
|
|
version=3.2.0
|
|
revision=1
|
|
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=1afd47af8955c5db730f630ad53ae798cf7fae0acb64cebb3cf94d35c47dd088
|
|
|
|
pre_build() {
|
|
export XXHASH_LINK_SO=1
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|