[arch-commits] Commit in python-rdflib/repos/extra-any (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Thu Aug 13 07:15:32 UTC 2015
Date: Thursday, August 13, 2015 @ 09:15:31
Author: fyan
Revision: 243389
archrelease: copy trunk to extra-any
Added:
python-rdflib/repos/extra-any/PKGBUILD
(from rev 243388, python-rdflib/trunk/PKGBUILD)
Deleted:
python-rdflib/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 134 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 67 insertions(+), 67 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-08-13 07:15:11 UTC (rev 243388)
+++ PKGBUILD 2015-08-13 07:15:31 UTC (rev 243389)
@@ -1,67 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Leif Warner <abimelech at gmail.com>
-
-pkgbase=python-rdflib
-pkgname=('python2-rdflib' 'python-rdflib')
-pkgver=4.2.0
-pkgrel=1
-pkgdesc="A Python library for working with RDF, a simple yet powerful language for representing information"
-arch=('any')
-url="http://rdflib.net/"
-license=('BSD')
-makedepends=('python2-isodate' 'python-isodate' 'python2-setuptools' 'python-setuptools')
-checkdepends=('python2-nose' 'python-nose' 'python2-pyparsing' 'python-pyparsing'
- 'python2-six' 'python-six' 'python-html5lib' 'python2-html5lib' 'python-sparqlwrapper'
- 'python2-sparqlwrapper')
-source=(rdflib-$pkgver.tar.gz::https://github.com/RDFLib/rdflib/tarball/$pkgver)
-sha1sums=('1a5a8ff5beb528754e6c198db9ec9e8c8d22151e')
-
-prepare() {
- cp -r RDFLib-rdflib-* python2-rdflib
- cd python2-rdflib
- sed -i 's|/usr/bin/env python|/usr/bin/env python2|' rdflib/extras/{describer.py,infixowl.py} \
- rdflib/plugins/parsers/{ntriples.py,notation3.py,structureddata.py,pyRdfa/extras/httpheader.py} \
- rdflib/tools/rdfpipe.py
-}
-
-build() {
- cd RDFLib-rdflib-*
- python setup.py build
- cd ../python2-rdflib
- python2 setup.py build
-}
-
-check() {
- cd RDFLib-rdflib-*
- #python setup.py test # Will download and install rdflib again
- nosetests3 --where=./build/src \
- --with-doctest \
- --doctest-extension=.doctest \
- --doctest-tests || true # Tests failing - 4.1.2
- cd ../python2-rdflib
- #python2 setup.py test # Same
- python2 run_tests.py --with-xunit || true
-}
-
-package_python2-rdflib() {
- depends=('python2-isodate')
-
- cd python2-rdflib
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- cd "$pkgdir/usr/bin"
- for i in * ; do
- mv $i $i-py2
- done
-}
-
-package_python-rdflib() {
- depends=('python-isodate')
-
- cd RDFLib-rdflib-*
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: python-rdflib/repos/extra-any/PKGBUILD (from rev 243388, python-rdflib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-08-13 07:15:31 UTC (rev 243389)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Leif Warner <abimelech at gmail.com>
+
+pkgbase=python-rdflib
+pkgname=('python2-rdflib' 'python-rdflib')
+pkgver=4.2.1
+pkgrel=1
+pkgdesc="A Python library for working with RDF, a simple yet powerful language for representing information"
+arch=('any')
+url="http://rdflib.net/"
+license=('BSD')
+makedepends=('python2-isodate' 'python-isodate' 'python2-setuptools' 'python-setuptools')
+checkdepends=('python2-nose' 'python-nose' 'python2-pyparsing' 'python-pyparsing'
+ 'python2-six' 'python-six' 'python-html5lib' 'python2-html5lib' 'python-sparqlwrapper'
+ 'python2-sparqlwrapper')
+source=(rdflib-$pkgver.tar.gz::https://github.com/RDFLib/rdflib/tarball/$pkgver)
+sha1sums=('82dafb4a20d5d2e82e9fce4185ecd215c4ad0267')
+
+prepare() {
+ cp -r RDFLib-rdflib-* python2-rdflib
+ cd python2-rdflib
+ sed -i 's|/usr/bin/env python|/usr/bin/env python2|' rdflib/extras/{describer.py,infixowl.py} \
+ rdflib/plugins/parsers/{ntriples.py,notation3.py,structureddata.py,pyRdfa/extras/httpheader.py} \
+ rdflib/tools/rdfpipe.py
+}
+
+build() {
+ cd RDFLib-rdflib-*
+ python setup.py build
+ cd ../python2-rdflib
+ python2 setup.py build
+}
+
+check() {
+ cd RDFLib-rdflib-*
+ #python setup.py test # Will download and install rdflib again
+ nosetests3 --where=./build/src \
+ --with-doctest \
+ --doctest-extension=.doctest \
+ --doctest-tests || true # Tests failing - 4.1.2
+ cd ../python2-rdflib
+ #python2 setup.py test # Same
+ python2 run_tests.py --with-xunit || true
+}
+
+package_python2-rdflib() {
+ depends=('python2-isodate')
+
+ cd python2-rdflib
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ cd "$pkgdir/usr/bin"
+ for i in * ; do
+ mv $i $i-py2
+ done
+}
+
+package_python-rdflib() {
+ depends=('python-isodate')
+
+ cd RDFLib-rdflib-*
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list