[arch-commits] Commit in python2-rdflib/repos/extra-any (PKGBUILD PKGBUILD)

Eric Bélanger eric at archlinux.org
Tue Jul 17 03:14:28 UTC 2012


    Date: Monday, July 16, 2012 @ 23:14:28
  Author: eric
Revision: 163617

archrelease: copy trunk to extra-any

Added:
  python2-rdflib/repos/extra-any/PKGBUILD
    (from rev 163616, python2-rdflib/trunk/PKGBUILD)
Deleted:
  python2-rdflib/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   57 ++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 32 insertions(+), 25 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2012-07-17 03:14:19 UTC (rev 163616)
+++ PKGBUILD	2012-07-17 03:14:28 UTC (rev 163617)
@@ -1,25 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Leif Warner <abimelech at gmail.com>
-
-pkgname=python2-rdflib
-pkgver=3.1.0
-pkgrel=1
-pkgdesc="A Python library for working with RDF, a simple yet powerful language for representing information"
-url="http://rdflib.net/"
-license=('BSD')
-depends=('python2')
-makedepends=('python2-distribute')
-arch=('any')
-replaces=('rdflib')
-provides=('rdflib')
-conflicts=('rdflib')
-source=("http://rdflib.googlecode.com/files/rdflib-$pkgver.tar.gz")
-sha1sums=('bbef5011fcd9cfa296a8ef33ac2885416b97da2d')
-
-package() {
-  cd "$srcdir/rdflib-$pkgver"
-  python2 setup.py install --root="$pkgdir" --optimize=1 
-  install -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python2-rdflib/repos/extra-any/PKGBUILD (from rev 163616, python2-rdflib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2012-07-17 03:14:28 UTC (rev 163617)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Leif Warner <abimelech at gmail.com>
+
+pkgname=python2-rdflib
+pkgver=3.2.1
+pkgrel=1
+pkgdesc="A Python library for working with RDF, a simple yet powerful language for representing information"
+url="http://rdflib.net/"
+license=('BSD')
+depends=('python2' 'python2-isodate')
+makedepends=('python2-distribute')
+checkdepends=('python2-nose')
+arch=('any')
+replaces=('rdflib')
+provides=('rdflib')
+conflicts=('rdflib')
+source=(rdflib-$pkgver.tar.gz::https://github.com/RDFLib/rdflib/tarball/$pkgver)
+sha1sums=('e49f7fa347bab177f4fa74b72730f8f088280b93')
+
+check() {
+  cd "$srcdir"/RDFLib-rdflib-*
+  python2 setup.py test
+}
+
+package() {
+  cd "$srcdir"/RDFLib-rdflib-*
+  python2 setup.py install --root="$pkgdir" --optimize=1 
+  sed -i 's|/usr/bin/env python|/usr/bin/env python2|' "$pkgdir"/usr/lib/python2.7/site-packages/rdflib/plugins/parsers/{ntriples.py,notation3.py}
+  install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}




More information about the arch-commits mailing list