summaryrefslogtreecommitdiff
path: root/extra/python-pyspi/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-18 01:24:49 -0700
committerroot <root@rshg054.dnsready.net>2012-10-18 01:24:49 -0700
commit9e3985ed7c9851da65023a0ab3d0739cce1858e2 (patch)
tree817050bac0aea21506bd81fde0bd6a07d7e2d3e4 /extra/python-pyspi/PKGBUILD
parentc84b2cd310f86dc50c4f52a5907cb17652e8c87c (diff)
Thu Oct 18 01:23:58 PDT 2012
Diffstat (limited to 'extra/python-pyspi/PKGBUILD')
-rw-r--r--extra/python-pyspi/PKGBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/extra/python-pyspi/PKGBUILD b/extra/python-pyspi/PKGBUILD
index 739f3b08a..41ebf4be2 100644
--- a/extra/python-pyspi/PKGBUILD
+++ b/extra/python-pyspi/PKGBUILD
@@ -1,19 +1,19 @@
-# $Id: PKGBUILD 151344 2012-02-25 14:53:09Z pierre $
+# $Id: PKGBUILD 169029 2012-10-17 10:20:57Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
-pkgname=python-pyspi
+pkgbase=python-pyspi
+pkgname=python2-pyspi
pkgver=0.6.1
-pkgrel=5
+pkgrel=1
pkgdesc="Python AT-SPI bindings"
arch=('i686' 'x86_64')
url="http://people.redhat.com/zcerza/dogtail"
license=('LGPL')
depends=('python2' 'at-spi')
makedepends=('pyrex')
-conflicts=('pyspi')
-provides=('pyspi')
-replaces=('pyspi')
+conflicts=('python-pyspi<=0.6.1-5')
+conflicts=('python-pyspi<=0.6.1-5')
source=("http://dlc.sun.com/osol/jds/downloads/sources/pyspi-${pkgver}.tar.gz"
'pyspi-build.patch')
md5sums=('def336bd566ea688a06ec03db7ccf1f4'
@@ -24,5 +24,9 @@ build() {
patch -Np1 -i ${srcdir}/pyspi-build.patch
# Pyrex tells us to use __cinit__ instead of __new__
sed -i 's/__new__/__cinit__/' pyspi.pyx
+}
+
+package_python2-pyspi() {
+ cd ${srcdir}/pyspi-${pkgver}
python2 setup.py install --root=${pkgdir}
}