Date: Wednesday, June 29, 2022 @ 14:28:44 Author: felixonmars Revision: 1240551
upgpkg: python-kiwisolver 1.4.2-1 Modified: python-kiwisolver/trunk/PKGBUILD ----------+ PKGBUILD | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-06-29 14:26:44 UTC (rev 1240550) +++ PKGBUILD 2022-06-29 14:28:44 UTC (rev 1240551) @@ -1,29 +1,31 @@ # Maintainer: Felix Yan <[email protected]> pkgname=python-kiwisolver -pkgver=1.3.2 -pkgrel=3 +pkgver=1.4.2 +pkgrel=1 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-pip') +makedepends=('python-cppy' 'python-setuptools-scm' 'python-wheel') checkdepends=('python-pytest-runner') -source=("https://github.com/nucleic/kiwi/archive/$pkgver.rc1/$pkgname-$pkgver.rc1.tar.gz") -sha512sums=('e9ef20756df587b49f7b8e52ff388db6e2e551548ae7d60b6916586fb35249b10bda895a7be7635b300e6100ec1c7daf7d641de6d26d9b2c36055ac6c176302b') +source=("https://github.com/nucleic/kiwi/archive/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('e7726ac7985bea1020fd3a26bf54b941acfffffb1f47b462c74f9829c5a89e7abd0732b5a11685b20d6a17ac9625178c68ea71052e852f91491a308d07111b01') +export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + build() { - cd kiwi-$pkgver.rc1 + cd kiwi-$pkgver python setup.py build } check() { - cd kiwi-$pkgver.rc1 + cd kiwi-$pkgver python setup.py pytest } package() { - cd kiwi-$pkgver.rc1/ + cd kiwi-$pkgver python3 setup.py install --root="$pkgdir" --optimize=1 }
