Date: Thursday, February 2, 2023 @ 15:05:18 Author: felixonmars Revision: 1391943
upgpkg: python-zope-security 6.0-1 Modified: python-zope-security/trunk/PKGBUILD ----------+ PKGBUILD | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-02-02 15:05:11 UTC (rev 1391942) +++ PKGBUILD 2023-02-02 15:05:18 UTC (rev 1391943) @@ -1,7 +1,8 @@ # Maintainer: Felix Yan <[email protected]> pkgname=python-zope-security -pkgver=5.8 +pkgver=6.0 +_commit=bb454b5666dc3516de5c6ffc28620a8cec9b9bb1 pkgrel=1 pkgdesc="Zope Security Framework" arch=('x86_64') @@ -9,23 +10,24 @@ license=('ZPL') depends=('python-setuptools' 'python-zope-component' 'python-zope-i18nmessageid' 'python-zope-interface' 'python-zope-location' 'python-zope-proxy' 'python-zope-schema') +makedepends=('git') checkdepends=('python-btrees' 'python-nose' 'python-zope-configuration' 'python-zope-testing' 'python-zope-testrunner') -source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.security/archive/$pkgver.tar.gz") -sha512sums=('095f50cb5e22bbdc4b4e1b20cac0d5e0eb18d108e8ac5812915d5ef3f64ff5828c35153aa641ad690eed4be206e7fc99c93b1023b99d8f125f3f5fcf82acbc2a') +source=("git+https://github.com/zopefoundation/zope.security.git#commit=$_commit") +sha512sums=('SKIP') build() { - cd zope.security-$pkgver + cd zope.security python setup.py build } check() { - cd zope.security-$pkgver - PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-310:$PYTHONPATH" python -m zope.testrunner --test-path=src + cd zope.security + PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-310" python -m zope.testrunner --test-path=src } package() { - cd zope.security-$pkgver + cd zope.security python setup.py install --root="$pkgdir" --optimize=1 }
