Skip to content
Snippets Groups Projects
Commit 889e5ab2 authored by Felix Yan's avatar Felix Yan
Browse files

upgpkg: 6.2.0-1

parent c5efc983
No related branches found
Tags 6.2.0-1
No related merge requests found
......@@ -3,33 +3,31 @@
# Contributor: Leif Warner <abimelech@gmail.com>
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"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment