diff options
author | Luis Martinez | 2022-08-31 20:21:57 -0500 |
---|---|---|
committer | Luis Martinez | 2022-08-31 20:21:57 -0500 |
commit | 011f833320bdea3c6847a874d32b30d7cb8bb6b7 (patch) | |
tree | 6a1e3ea6188fb21376935dc0d0c72761a43e5051 /PKGBUILD | |
parent | 5f8d59794317acd21a697528080e0e5627426ecd (diff) | |
download | aur-python-google-crc32c.tar.gz |
update to 1.5.0
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() { |