summaryrefslogtreecommitdiff
path: root/extra/python-egenix-mx-base
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-07 22:47:46 +0000
committerroot <root@rshg047.dnsready.net>2011-06-07 22:47:46 +0000
commit4d91fc9a2dc38054b8748f27193dc3a6950bda3c (patch)
treed7af2e15a96d98c0495de0d066c0204c6947778c /extra/python-egenix-mx-base
parent93a9cde1226d0c82849bc71ff4d481d3d2698dc1 (diff)
Tue Jun 7 22:47:46 UTC 2011
Diffstat (limited to 'extra/python-egenix-mx-base')
-rw-r--r--extra/python-egenix-mx-base/PKGBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/extra/python-egenix-mx-base/PKGBUILD b/extra/python-egenix-mx-base/PKGBUILD
index 8582040b1..3ef1b6b16 100644
--- a/extra/python-egenix-mx-base/PKGBUILD
+++ b/extra/python-egenix-mx-base/PKGBUILD
@@ -1,24 +1,29 @@
-# $Id: PKGBUILD 89533 2010-09-01 15:30:54Z remy $
+# $Id: PKGBUILD 126581 2011-06-06 10:49:23Z stephane $
# Maintainer:
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=python-egenix-mx-base
origname=egenix-mx-base
-pkgver=3.1.3
-pkgrel=2
-pkgdesc="A collection of professional quality Python software tools which enhance Python's usability in many important areas - Open Source parts of the eGenix.com mx Extension series"
+pkgver=3.2.0
+pkgrel=1
+pkgdesc="A collection of Python tools"
arch=('i686' 'x86_64')
license=('custom')
url="http://www.egenix.com/products/python/mxBase/"
depends=('python2')
+makedepends=('python2-distribute')
replaces=('egenix-mx-base')
provides=('egenix-mx-base')
source=("http://downloads.egenix.com/python/${origname}-${pkgver}.tar.gz")
-md5sums=('398d6f8d62029f5bea4f94765a6ab4c8')
+sha1sums=('7346268002461512ef59da726047f79649a82b27')
+
+build() {
+ cd "${srcdir}/${origname}-${pkgver}"
+ python2 setup.py build
+}
package() {
- cd $srcdir/$origname-$pkgver
- BASECFLAGS=$BASECFLAGS" -DNDEBUG -O0 -Wall -Wstrict-prototypes "
- python2 setup.py install --root=$pkgdir
- install -D -m644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ cd "${srcdir}/${origname}-${pkgver}"
+ python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1
+ install -D -m644 COPYRIGHT "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}