[arch-commits] Commit in python-sparqlwrapper/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Nov 2 00:26:20 UTC 2019


    Date: Saturday, November 2, 2019 @ 00:26:19
  Author: arojas
Revision: 522117

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-02 00:25:51 UTC (rev 522116)
+++ PKGBUILD	2019-11-02 00:26:19 UTC (rev 522117)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-sparqlwrapper
-pkgname=("python-sparqlwrapper" "python2-sparqlwrapper")
-pkgver=1.8.2
-pkgrel=2
-pkgdesc="SPARQL Endpoint interface to Python"
-arch=('any')
-url="http://rdflib.github.io/sparqlwrapper/"
-license=('W3C')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/RDFLib/sparqlwrapper/archive/$pkgver.tar.gz")
-sha512sums=('a98ff3276c56d464775f2db032eeb14cd67eca447fe85c48086e7ee2895529c53cbd3b9f11464ff3918ad8f8e9d00729c26ef0c55ac7350cabc05edb68e3af93')
-
-prepare() {
-  cp -a sparqlwrapper-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/sparqlwrapper-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/sparqlwrapper-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/sparqlwrapper-$pkgver
-  ./run_tests_py3.sh
-
-  cd "$srcdir"/sparqlwrapper-$pkgver-py2
-  nosetests2
-}
-
-package_python-sparqlwrapper() {
-  depends=('python')
-
-  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
-}
-
-package_python2-sparqlwrapper() {
-  depends=('python2')
-
-  cd sparqlwrapper-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}

Copied: python-sparqlwrapper/repos/community-any/PKGBUILD (from rev 522116, python-sparqlwrapper/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-02 00:26:19 UTC (rev 522117)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-sparqlwrapper
+pkgver=1.8.4
+pkgrel=1
+pkgdesc="SPARQL Endpoint interface to Python"
+arch=('any')
+url="https://rdflib.github.io/sparqlwrapper/"
+license=('W3C')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/RDFLib/sparqlwrapper/archive/$pkgver.tar.gz")
+sha512sums=('b89fe07319a3108f29fe984c7ae7381c30db6f655da35c5d193b7365fde4dbbc4f7575defe0371aff6c5d6d626e36c15b6fa8685c1d12eb19ae73d3bd3650eac')
+
+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