[arch-commits] Commit in python-egenix-mx-base/trunk (PKGBUILD)

Stéphane Gaudreault stephane at archlinux.org
Mon Jun 6 10:49:24 UTC 2011


    Date: Monday, June 6, 2011 @ 06:49:23
  Author: stephane
Revision: 126581

upgpkg: python-egenix-mx-base 3.2.0-1
version bump

Modified:
  python-egenix-mx-base/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-06-06 10:41:32 UTC (rev 126580)
+++ PKGBUILD	2011-06-06 10:49:23 UTC (rev 126581)
@@ -4,21 +4,26 @@
 
 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
 }




More information about the arch-commits mailing list