[arch-commits] Commit in python-sparqlwrapper/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu May 17 08:59:39 UTC 2018
Date: Thursday, May 17, 2018 @ 08:59:38
Author: felixonmars
Revision: 323536
archrelease: copy trunk to community-any
Added:
python-sparqlwrapper/repos/community-any/PKGBUILD
(from rev 323535, python-sparqlwrapper/trunk/PKGBUILD)
Deleted:
python-sparqlwrapper/repos/community-any/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-17 08:59:14 UTC (rev 323535)
+++ PKGBUILD 2018-05-17 08:59:38 UTC (rev 323536)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-sparqlwrapper
-pkgname=("python-sparqlwrapper" "python2-sparqlwrapper")
-pkgver=1.8.1
-pkgrel=1
-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=('d9d14d7e5317a587ae4f5af596a39dec9d59781d438571e776b3a395dd3b0160483e0cf94311ea93b043b23805052c5fdea3302fbad93d9591828e9c2fa40f1f')
-
-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 323535, python-sparqlwrapper/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-17 08:59:38 UTC (rev 323536)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-sparqlwrapper
+pkgname=("python-sparqlwrapper" "python2-sparqlwrapper")
+pkgver=1.8.2
+pkgrel=1
+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
+}
More information about the arch-commits
mailing list