Date: Tuesday, January 31, 2023 @ 19:51:14 Author: felixonmars Revision: 1391490
upgpkg: python-kiwisolver 1.4.4-2 Modified: python-kiwisolver/trunk/PKGBUILD ----------+ PKGBUILD | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-01-31 19:49:20 UTC (rev 1391489) +++ PKGBUILD 2023-01-31 19:51:14 UTC (rev 1391490) @@ -2,31 +2,30 @@ pkgname=python-kiwisolver pkgver=1.4.4 -pkgrel=1 +_commit=55205cebe20fdd02dfdf15fe7fbc23a2c486997d +pkgrel=2 pkgdesc="A fast implementation of the Cassowary constraint solver" url="https://github.com/nucleic/kiwi" license=('PerlArtistic') arch=('x86_64') depends=('python') -makedepends=('python-cppy' 'python-setuptools-scm' 'python-wheel') +makedepends=('git' 'python-cppy' 'python-setuptools-scm' 'python-wheel') checkdepends=('python-pytest-runner') -source=("https://github.com/nucleic/kiwi/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('9a7ed487bb28f8c430543dc21ea59156078c129fd29b1382f1578368e72f312f4e813eb4501e4c9387647b42b085b93d4bd27d0e846f1396fa4ce68fd9e9ba5f') +source=("git+https://github.com/nucleic/kiwi.git#commit=$_commit") +sha512sums=('SKIP') -export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver - build() { - cd kiwi-$pkgver + cd kiwi python setup.py build } check() { - cd kiwi-$pkgver + cd kiwi PYTHONPATH="$PWD"/py \ python setup.py pytest } package() { - cd kiwi-$pkgver - python3 setup.py install --root="$pkgdir" --optimize=1 + cd kiwi + python setup.py install --root="$pkgdir" --optimize=1 }
