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="https://github.com/RDFLib/rdflib"
12 depends=('python-isodate' 'python-pyparsing' 'python-setuptools')
13 optdepends=('python-html5lib: for html support')
14 checkdepends=('python-pytest-cov' 'python-six' 'python-html5lib' 'python-networkx'
15 'python-doctest-ignore-unicode' 'python-pip')
16 source=(https://github.com/RDFLib/rdflib/archive/$pkgver/$pkgname-$pkgver.tar.gz)
17 sha512sums=('8177c50e9c2d48859a061dfee24c3560b8f979bc306b3d940a9251ec130e3a324bbad474f4fa7ced5e11522d3bd4e13931461bf106f31177fd972806968d8245')
31 python setup.py install --root="$pkgdir" --optimize=1
32 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"