[arch-commits] Commit in python-rdflib-jsonld/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Apr 23 22:55:40 UTC 2020


    Date: Thursday, April 23, 2020 @ 22:55:40
  Author: felixonmars
Revision: 618391

archrelease: copy trunk to community-testing-any

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

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

Copied: python-rdflib-jsonld/repos/community-testing-any/PKGBUILD (from rev 618390, python-rdflib-jsonld/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-04-23 22:55:40 UTC (rev 618391)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-rdflib-jsonld
+pkgver=0.5.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=('5fb1409eb201c330d89ee2fbfe9fc4b07754605bad4acc85163643d5faba7b513d52afe02f71f601a31e205f5972430f6fc487d58e7c9a4e6f5f20f0d91f2cbc')
+
+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