Commit 5e4bb255 authored by Luca Weiss's avatar Luca Weiss
Browse files

community/py3-rdflib: upgrade to 6.0.2

parent acf39833
Pipeline #96214 passed with stages
in 5 minutes and 48 seconds
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=py3-rdflib
_pyname=rdflib
pkgver=5.0.0
pkgrel=1
pkgver=6.0.2
pkgrel=0
pkgdesc="A Python library for working with RDF, a simple yet powerful language for representing information"
url="https://rdflib.readthedocs.org/"
arch="noarch !s390x" # tests fail with segfault
arch="noarch !s390x !x86" # tests fail with segfault
license="BSD-3-Clause"
depends="py3-isodate py3-parsing"
checkdepends="py3-nose py3-html5lib py3-sparqlwrapper py3-doctest-ignore-unicode py3-requests"
checkdepends="py3-nose py3-html5lib py3-sparqlwrapper py3-doctest-ignore-unicode py3-requests py3-berkeleydb"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
build() {
python3 setup.py build
}
check() {
# sparql service updated so skip some tests
# https://github.com/RDFLib/rdflib/issues/1229
nosetests --exclude "test_sparql_service"
# exclude test that can't find csv2rdf from itself
nosetests --exclude "test_csv2rdf"
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="ba98ab6a7bb9d993d11c559a739761f297282eb9307f3e333db8dd1c6b365b408a59b701d823bef9be774a59b3f44f64c9444e3bb0115c0c549cb00945385dab rdflib-5.0.0.tar.gz"
sha512sums="
0d14902d24582aad01289f5265feba3c533bbf5a0928b2e1032ba0af16d16cce46a92bde0f01ec2980351c1c13fe2cf4113445d2731e04400f0c20de73efa050 rdflib-6.0.2.tar.gz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment