Date: Friday, August 26, 2022 @ 16:59:47 Author: felixonmars Revision: 454551
upgpkg: python-rdflib 6.2.0-1 Modified: python-rdflib/trunk/PKGBUILD ----------+ PKGBUILD | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-08-26 13:58:53 UTC (rev 454550) +++ PKGBUILD 2022-08-26 16:59:47 UTC (rev 454551) @@ -3,33 +3,31 @@ # Contributor: Leif Warner <[email protected]> pkgname=python-rdflib -pkgver=6.1.1 +pkgver=6.2.0 pkgrel=1 pkgdesc="A Python library for working with RDF, a simple yet powerful language for representing information" arch=('any') -url="http://rdflib.net/" +url="https://github.com/RDFLib/rdflib" license=('BSD') -depends=('python-isodate' 'python-pyparsing') -optdepends=('python-html5lib: for html support' - 'python-requests: for sparql support') -makedepends=('python-setuptools') -checkdepends=('python-pytest' 'python-six' 'python-html5lib' 'python-requests' 'python-networkx' - 'python-doctest-ignore-unicode') -source=(rdflib-$pkgver.tar.gz::https://github.com/RDFLib/rdflib/tarball/$pkgver) -sha512sums=('2381ff71b09ec31a5802fac62ec161d89ec25f695981821541d0b959f803442442e3f6eac14a60722012536e02979cc53d55be42d931024c4d09606e75575163') +depends=('python-isodate' 'python-pyparsing' 'python-setuptools') +optdepends=('python-html5lib: for html support') +checkdepends=('python-pytest-cov' 'python-six' 'python-html5lib' 'python-networkx' + 'python-doctest-ignore-unicode' 'python-pip') +source=(https://github.com/RDFLib/rdflib/archive/$pkgver/$pkgname-$pkgver.tar.gz) +sha512sums=('8177c50e9c2d48859a061dfee24c3560b8f979bc306b3d940a9251ec130e3a324bbad474f4fa7ced5e11522d3bd4e13931461bf106f31177fd972806968d8245') build() { - cd RDFLib-rdflib-* + cd rdflib-$pkgver python setup.py build } check() { - cd RDFLib-rdflib-* + cd rdflib-$pkgver pytest } package() { - cd RDFLib-rdflib-* + cd rdflib-$pkgver python setup.py install --root="$pkgdir" --optimize=1 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }
