# Maintainer: Luca Weiss pkgname=py3-rdflib _pyname=rdflib pkgver=6.1.1 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 !x86" # tests fail with segfault license="BSD-3-Clause" depends="py3-isodate py3-parsing" checkdepends="py3-pytest py3-html5lib py3-sparqlwrapper py3-doctest-ignore-unicode py3-requests" 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() { # exclude failing test pytest --ignore="test/test_so_69984830.py" } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums=" 049608dc37dba929eac1e40431885d319311f27be9fddc292d768e3703927e61a646a73137e4a1eaa16836cfba4606ea2cfd8fe3a86cfbf10e3271cee2ee251f rdflib-6.1.1.tar.gz "