diff options
author | Luis Martinez | 2022-01-07 22:30:44 -0600 |
---|---|---|
committer | Luis Martinez | 2022-01-07 22:30:44 -0600 |
commit | ecd516bff0e8c0680f0b9cbe24ba61157a96893c (patch) | |
tree | 14a4b3b06a059f997ac7eed90308af0c8c2b7429 | |
parent | b4111b101540b6da4ffb546d303b35b3be20dd06 (diff) | |
download | aur-ecd516bff0e8c0680f0b9cbe24ba61157a96893c.tar.gz |
update to 1.12
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 9 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = python-quicktions pkgdesc = Fast fractions implementation in Cython - pkgver = 1.11 + pkgver = 1.12 pkgrel = 1 url = https://github.com/scoder/quicktions changelog = CHANGES.rst @@ -9,7 +9,7 @@ pkgbase = python-quicktions makedepends = python-setuptools makedepends = cython depends = glibc - source = python-quicktions-1.11.tar.gz::https://github.com/scoder/quicktions/archive/1.11.tar.gz - sha256sums = 7a6c9af50860731a53e48d9fc8547e1d202069e0d01afc2f557dabd7d043b006 + source = python-quicktions-1.12.tar.gz::https://github.com/scoder/quicktions/archive/1.12.tar.gz + sha256sums = 691463020f41386e10dc05da1eef4090270443557dbdf94a5ceabed389951cfa pkgname = python-quicktions @@ -1,7 +1,7 @@ # Maintainer: Luis Martinez <luis dot martinez at disroot dot org> pkgname=python-quicktions -pkgver=1.11 +pkgver=1.12 pkgrel=1 pkgdesc="Fast fractions implementation in Cython" arch=('x86_64') @@ -11,7 +11,7 @@ depends=('glibc') makedepends=('python-setuptools' 'cython') changelog=CHANGES.rst source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") -sha256sums=('7a6c9af50860731a53e48d9fc8547e1d202069e0d01afc2f557dabd7d043b006') +sha256sums=('691463020f41386e10dc05da1eef4090270443557dbdf94a5ceabed389951cfa') build() { cd "quicktions-$pkgver" @@ -20,11 +20,13 @@ build() { check() { cd "quicktions-$pkgver" - make test + local _python_version="$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')" + PYTHONPATH="$PWD/build/lib.linux-$CARCH-$_python_version" make test } package() { + export PYTHONHASHSEED=0 cd "quicktions-$pkgver" python setup.py install --root="$pkgdir/" --optimize=1 --skip-build - install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" + install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" } |