[arch-commits] Commit in python-egenix-mx-base/repos (4 files)

Stéphane Gaudreault stephane at archlinux.org
Tue Oct 11 00:44:56 UTC 2011


    Date: Monday, October 10, 2011 @ 20:44:55
  Author: stephane
Revision: 140254

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  python-egenix-mx-base/repos/extra-i686/PKGBUILD
    (from rev 140253, python-egenix-mx-base/trunk/PKGBUILD)
  python-egenix-mx-base/repos/extra-x86_64/PKGBUILD
    (from rev 140253, python-egenix-mx-base/trunk/PKGBUILD)
Deleted:
  python-egenix-mx-base/repos/extra-i686/PKGBUILD
  python-egenix-mx-base/repos/extra-x86_64/PKGBUILD

-----------------------+
 extra-i686/PKGBUILD   |   62 +++++++++++++++++++++++++-----------------------
 extra-x86_64/PKGBUILD |   62 +++++++++++++++++++++++++-----------------------
 2 files changed, 66 insertions(+), 58 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2011-10-11 00:44:46 UTC (rev 140253)
+++ extra-i686/PKGBUILD	2011-10-11 00:44:55 UTC (rev 140254)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
-
-pkgname=python-egenix-mx-base
-origname=egenix-mx-base
-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")
-sha1sums=('7346268002461512ef59da726047f79649a82b27')
-
-build() {
-  cd "${srcdir}/${origname}-${pkgver}"
-  python2 setup.py build
-}
-
-package() {
-  cd "${srcdir}/${origname}-${pkgver}"
-  python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1
-  install -D -m644 COPYRIGHT "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: python-egenix-mx-base/repos/extra-i686/PKGBUILD (from rev 140253, python-egenix-mx-base/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2011-10-11 00:44:55 UTC (rev 140254)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=python-egenix-mx-base
+_origname=egenix-mx-base
+pkgver=3.2.1
+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")
+sha1sums=('a82f7f155ea92f26f40a6a3bf9160bfac7c52a00')
+
+build() {
+  cd "${srcdir}/${_origname}-${pkgver}"
+
+  find . -name \*.py -exec sed -i -e "s|#!/usr/bin/env python|#!/usr/bin/env python2|" \
+                                  -e "s|#!/usr/local/.*python.*|#!/usr/bin/env python2|" {} \;
+
+  python2 setup.py build
+}
+
+package() {
+  cd "${srcdir}/${_origname}-${pkgver}"
+  python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1
+  install -D -m644 COPYRIGHT "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2011-10-11 00:44:46 UTC (rev 140253)
+++ extra-x86_64/PKGBUILD	2011-10-11 00:44:55 UTC (rev 140254)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer:
-# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
-
-pkgname=python-egenix-mx-base
-origname=egenix-mx-base
-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")
-sha1sums=('7346268002461512ef59da726047f79649a82b27')
-
-build() {
-  cd "${srcdir}/${origname}-${pkgver}"
-  python2 setup.py build
-}
-
-package() {
-  cd "${srcdir}/${origname}-${pkgver}"
-  python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1
-  install -D -m644 COPYRIGHT "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: python-egenix-mx-base/repos/extra-x86_64/PKGBUILD (from rev 140253, python-egenix-mx-base/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2011-10-11 00:44:55 UTC (rev 140254)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=python-egenix-mx-base
+_origname=egenix-mx-base
+pkgver=3.2.1
+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")
+sha1sums=('a82f7f155ea92f26f40a6a3bf9160bfac7c52a00')
+
+build() {
+  cd "${srcdir}/${_origname}-${pkgver}"
+
+  find . -name \*.py -exec sed -i -e "s|#!/usr/bin/env python|#!/usr/bin/env python2|" \
+                                  -e "s|#!/usr/local/.*python.*|#!/usr/bin/env python2|" {} \;
+
+  python2 setup.py build
+}
+
+package() {
+  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