[arch-commits] Commit in (9 files)

Andrea Scarpino andrea at archlinux.org
Sat Oct 29 10:27:38 UTC 2011


    Date: Saturday, October 29, 2011 @ 06:27:38
  Author: andrea
Revision: 141326

Add libqzeitgeist makedependencies

Added:
  python2-rdflib/
  python2-rdflib/repos/
  python2-rdflib/trunk/
  python2-rdflib/trunk/PKGBUILD
  zeitgeist/
  zeitgeist/repos/
  zeitgeist/trunk/
  zeitgeist/trunk/PKGBUILD
  zeitgeist/trunk/python2.patch

-------------------------------+
 python2-rdflib/trunk/PKGBUILD |   25 +++++++++++++++++++++++++
 zeitgeist/trunk/PKGBUILD      |   39 +++++++++++++++++++++++++++++++++++++++
 zeitgeist/trunk/python2.patch |   22 ++++++++++++++++++++++
 3 files changed, 86 insertions(+)

Added: python2-rdflib/trunk/PKGBUILD
===================================================================
--- python2-rdflib/trunk/PKGBUILD	                        (rev 0)
+++ python2-rdflib/trunk/PKGBUILD	2011-10-29 10:27:38 UTC (rev 141326)
@@ -0,0 +1,25 @@
+# $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
+}


Property changes on: python2-rdflib/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id

Added: zeitgeist/trunk/PKGBUILD
===================================================================
--- zeitgeist/trunk/PKGBUILD	                        (rev 0)
+++ zeitgeist/trunk/PKGBUILD	2011-10-29 10:27:38 UTC (rev 141326)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer:
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=zeitgeist
+pkgver=0.8.2
+pkgrel=1
+pkgdesc="A service which logs the users's activities and events and makes relevant information available to other applications"
+arch=('any')
+url="http://zeitgeist-project.com/"
+license=('GPL')
+depends=('dbus-python' 'python2-gobject2' 'pyxdg')
+makedepends=('intltool' 'raptor' 'python2-rdflib')
+source=("http://launchpad.net/$pkgname/0.8/$pkgver/+download/$pkgname-$pkgver.tar.gz"
+        'python2.patch')
+md5sums=('589e7de784d21177491780bffd11097d'
+         '2c8b0fa6a228088a556601128dfbbb3b')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # Fix python2 path
+  sed -i 's|/usr/bin/python|/usr/bin/python2|' extra/rdfxml2py \
+    zeitgeist-daemon
+  sed -i 's|/usr/bin/env python|/usr/bin/env python2|' zeitgeist-daemon.py
+  patch -Np1 -i "${srcdir}/python2.patch"
+
+  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+}


Property changes on: zeitgeist/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id

Added: zeitgeist/trunk/python2.patch
===================================================================
--- zeitgeist/trunk/python2.patch	                        (rev 0)
+++ zeitgeist/trunk/python2.patch	2011-10-29 10:27:38 UTC (rev 141326)
@@ -0,0 +1,22 @@
+--- zeitgeist-0.8.2/configure~	2011-10-29 10:11:50.009654352 +0000
++++ zeitgeist-0.8.2/configure	2011-10-29 10:08:55.204860261 +0000
+@@ -5612,7 +5612,7 @@
+ # check for python-rdflib
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python-rdflib" >&5
+ $as_echo_n "checking for python-rdflib... " >&6; }
+-echo "import rdflib" | python - 2>/dev/null
++echo "import rdflib" | $PYTHON - 2>/dev/null
+ if test $? -ne 0 ; then
+   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+ $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+--- zeitgeist-0.8.2/configure.ac~	2011-10-29 10:09:01.078242642 +0000
++++ zeitgeist-0.8.2/configure.ac	2011-10-29 10:09:20.901741533 +0000
+@@ -39,7 +39,7 @@
+ 
+ # check for python-rdflib
+ AC_MSG_CHECKING([for python-rdflib])
+-echo "import rdflib" | python - 2>/dev/null
++echo "import rdflib" | $PYTHON - 2>/dev/null
+ if test $? -ne 0 ; then
+   AC_MSG_FAILURE([failed.  Please install the python-rdflib package.])
+ else




More information about the arch-commits mailing list