[arch-commits] Commit in python-rdflib/repos (testing-any testing-any/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Apr 23 22:52:39 UTC 2020


    Date: Thursday, April 23, 2020 @ 22:52:39
  Author: felixonmars
Revision: 381454

archrelease: copy trunk to testing-any

Added:
  python-rdflib/repos/testing-any/
  python-rdflib/repos/testing-any/PKGBUILD
    (from rev 381453, python-rdflib/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: python-rdflib/repos/testing-any/PKGBUILD (from rev 381453, python-rdflib/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2020-04-23 22:52:39 UTC (rev 381454)
@@ -0,0 +1,36 @@
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Leif Warner <abimelech at gmail.com>
+
+pkgname=python-rdflib
+pkgver=5.0.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/"
+license=('BSD')
+depends=('python-isodate' 'python-pyparsing')
+optdepends=('python-html5lib: for html support'
+            'python-requests: for sparql support')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' '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=('d879c9312a5e6a69ef2edf7931f5e20f6d5c59ce6feb2397e5aeb09843f3568c284f9175b24ac4d513b720dcea82076776d33bfc4492f5d82a17c644586e7b48')
+
+build() {
+  cd RDFLib-rdflib-*
+  python setup.py build
+}
+
+check() {
+  cd RDFLib-rdflib-*
+  #python setup.py test # Will download and install rdflib again
+  nosetests3
+}
+
+package() {
+  cd RDFLib-rdflib-*
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644  LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


More information about the arch-commits mailing list