diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -2,8 +2,8 @@ # Contributor: Kaizhao Zhang <zhangkaizhao@gmail.com> pkgname=python-google-crc32c -pkgver=1.3.0 -pkgrel=4 +pkgver=1.5.0 +pkgrel=1 pkgdesc="Wraps Google's crc32c library into a Python wrapper" arch=('x86_64') url="https://github.com/googleapis/python-crc32c" @@ -11,8 +11,9 @@ license=('APACHE') depends=('python-setuptools' 'google-crc32c') makedepends=('python-build' 'python-installer' 'python-wheel') checkdepends=('python-pytest') +changelog=CHANGELOG.md source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha256sums=('573d5f16a2c8e7cb8eab5e962f2aca6dd4a684178f9803e1c5ca2914bf023afa') +sha256sums=('029111b916bf130d9bcb13ad81d592e66623713f7791dd6d2bf366afd15dacf6') prepare() { ## remove lib64 from runpath @@ -27,8 +28,8 @@ build() { check() { cd "python-crc32c-$pkgver" - local _ver="$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')" - PYTHONPATH="$PWD/build/lib.linux-$CARCH-$_ver" pytest -x tests + local _ver="$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))')" + PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-$_ver" pytest -x tests } package() { |