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

Evangelos Foutras foutrelis at gemini.archlinux.org
Fri Dec 3 17:35:05 UTC 2021


    Date: Friday, December 3, 2021 @ 17:35:05
  Author: foutrelis
Revision: 1064841

archrelease: copy trunk to community-staging-any

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

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

Copied: python-sparqlwrapper/repos/community-staging-any/PKGBUILD (from rev 1064840, python-sparqlwrapper/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-03 17:35:05 UTC (rev 1064841)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-sparqlwrapper
+pkgver=1.8.5
+pkgrel=3
+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