[arch-commits] Commit in python-sparqlwrapper/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Sep 19 16:41:14 UTC 2015
Date: Saturday, September 19, 2015 @ 18:41:13
Author: foutrelis
Revision: 140972
archrelease: copy trunk to community-staging-any
Added:
python-sparqlwrapper/repos/community-staging-any/
python-sparqlwrapper/repos/community-staging-any/PKGBUILD
(from rev 140971, python-sparqlwrapper/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-sparqlwrapper/repos/community-staging-any/PKGBUILD (from rev 140971, python-sparqlwrapper/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2015-09-19 16:41:13 UTC (rev 140972)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-sparqlwrapper
+pkgname=("python-sparqlwrapper" "python2-sparqlwrapper")
+pkgver=1.6.4
+pkgrel=2
+pkgdesc="SPARQL Endpoint interface to Python"
+arch=('any')
+url="http://rdflib.github.io/sparqlwrapper/"
+license=('W3C')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.python.org/packages/source/S/SPARQLWrapper/SPARQLWrapper-$pkgver.tar.gz")
+md5sums=('e30a18bd53e16c93e5fc0a2cc736ad34')
+
+prepare() {
+ cp -a SPARQLWrapper-$pkgver{,-py2}
+}
+
+package_python-sparqlwrapper() {
+ depends=('python3')
+
+ cd SPARQLWrapper-$pkgver
+ LC_CTYPE=en_US.utf8 python3 setup.py install --root="${pkgdir}" --optimize=1
+ #install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_python2-sparqlwrapper() {
+ depends=('python2')
+
+ cd SPARQLWrapper-$pkgver-py2
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+ #install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
More information about the arch-commits
mailing list