From 8abfa0a4284b30f51ceb6269662b1bdaa037e299 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Thu, 13 Feb 2020 21:35:22 +0100 Subject: [PATCH] New package: python3-xxhash-1.4.3 --- srcpkgs/python3-xxhash/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-xxhash/template diff --git a/srcpkgs/python3-xxhash/template b/srcpkgs/python3-xxhash/template new file mode 100644 index 0000000000..ee5afe7f21 --- /dev/null +++ b/srcpkgs/python3-xxhash/template @@ -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 " +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 +}