2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 # Contributor: Leif Warner <abimelech@gmail.com>
8 pkgdesc="A Python library for working with RDF, a simple yet powerful language for representing information"
10 url="http://rdflib.net/"
12 depends=('python-isodate' 'python-pyparsing')
13 optdepends=('python-html5lib: for html support'
14 'python-requests: for sparql support')
15 makedepends=('python-setuptools')
16 checkdepends=('python-pytest' 'python-six' 'python-html5lib' 'python-requests' 'python-networkx'
17 'python-doctest-ignore-unicode')
18 source=(rdflib-$pkgver.tar.gz::https://github.com/RDFLib/rdflib/tarball/$pkgver)
19 sha512sums=('2381ff71b09ec31a5802fac62ec161d89ec25f695981821541d0b959f803442442e3f6eac14a60722012536e02979cc53d55be42d931024c4d09606e75575163')
33 python setup.py install --root="$pkgdir" --optimize=1
34 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"