Date: Thursday, February 2, 2023 @ 19:06:05 Author: felixonmars Revision: 1391993
upgpkg: python-elementpath 4.0.0-1 Modified: python-elementpath/trunk/PKGBUILD ----------+ PKGBUILD | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-02-02 18:54:59 UTC (rev 1391992) +++ PKGBUILD 2023-02-02 19:06:05 UTC (rev 1391993) @@ -1,7 +1,8 @@ # Maintainer: Felix Yan <[email protected]> pkgname=python-elementpath -pkgver=3.0.2 +pkgver=4.0.0 +_commit=8b4674ad878206bea9cff74f25bd3fd80739955a pkgrel=1 pkgdesc="XPath 1.0/2.0 parsers and selectors for ElementTree and lxml" url="https://github.com/sissaschool/elementpath" @@ -8,24 +9,23 @@ license=('MIT') arch=('any') depends=('python') -makedepends=('python-setuptools') +makedepends=('git' 'python-setuptools') checkdepends=('python-lxml' 'python-pytest' 'python-xmlschema') -source=("$pkgname-$pkgver.tar.gz::https://github.com/sissaschool/elementpath/archive/v$pkgver.tar.gz") -sha512sums=('46392cece136bd6e73285333b14a00ebbebcca70c7df42cd04021225207593ef33337fd468c12f089030f2a8adc1251660ebf762aa17f82b2f26ba902d6e89d2') +source=("git+https://github.com/sissaschool/elementpath.git#commit=$_commit") +sha512sums=('SKIP') build() { - cd elementpath-$pkgver + cd elementpath python setup.py build } check() { - cd elementpath-$pkgver + cd elementpath python -m pytest } package() { - cd elementpath-$pkgver + cd elementpath python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ }
