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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 22:58:47 UTC 2020


    Date: Thursday, November 12, 2020 @ 22:58:47
  Author: foutrelis
Revision: 753801

archrelease: copy trunk to community-staging-any

Added:
  python-sparqlwrapper/repos/community-staging-any/
  python-sparqlwrapper/repos/community-staging-any/PKGBUILD
    (from rev 753800, python-sparqlwrapper/trunk/PKGBUILD)

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

Copied: python-sparqlwrapper/repos/community-staging-any/PKGBUILD (from rev 753800, python-sparqlwrapper/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 22:58:47 UTC (rev 753801)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-sparqlwrapper
+pkgver=1.8.5
+pkgrel=2
+pkgdesc="SPARQL Endpoint interface to Python"
+arch=('any')
+url="https://rdflib.github.io/sparqlwrapper/"
+license=('W3C')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'python-rdflib-jsonld')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/RDFLib/sparqlwrapper/archive/$pkgver.tar.gz")
+sha512sums=('7637989bbf883824be5d277d6b0bd2c2ec8b628ded8a103f6da724b62977a5e9bd13f8ec8d9031de5f5028acfcbd599148dbab5ff3694261c1ec27295c34ee38')
+
+build() {
+  cd "$srcdir"/sparqlwrapper-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/sparqlwrapper-$pkgver
+  ./run_tests_py3.sh
+}
+
+package() {
+  cd sparqlwrapper-$pkgver
+  LC_CTYPE=en_US.UTF-8 python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list