[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Mon Dec 30 09:12:53 UTC 2019


    Date: Monday, December 30, 2019 @ 09:12:52
  Author: felixonmars
Revision: 544220

addpkg: python-rdflib-jsonld 0.4.0-1

Added:
  python-rdflib-jsonld/
  python-rdflib-jsonld/repos/
  python-rdflib-jsonld/trunk/
  python-rdflib-jsonld/trunk/PKGBUILD

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

Added: python-rdflib-jsonld/trunk/PKGBUILD
===================================================================
--- python-rdflib-jsonld/trunk/PKGBUILD	                        (rev 0)
+++ python-rdflib-jsonld/trunk/PKGBUILD	2019-12-30 09:12:52 UTC (rev 544220)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-rdflib-jsonld
+pkgver=0.4.0
+pkgrel=1
+pkgdesc="JSON-LD parser and serializer plugins for RDFLib"
+url="https://github.com/RDFLib/rdflib-jsonld"
+license=('BSD')
+arch=('any')
+depends=('python-rdflib')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/RDFLib/rdflib-jsonld/archive/$pkgver.tar.gz")
+sha512sums=('733c5aa570a917f0cb7f19d1aaad375a6b7c79519599fa159fcbbc00c863ec4c7ccff47b41ddd18d9dd25c3e57768b877f5e21630aba662cf43c2da2a764f62d')
+
+build() {
+  cd rdflib-jsonld-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd rdflib-jsonld-$pkgver
+  python setup.py nosetests
+}
+
+package() {
+  cd rdflib-jsonld-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list