diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-10-18 10:38:15 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-10-18 10:38:15 -0300 |
commit | 59d570b2f4d752b3cd4dfcdf2ce8c75993d9c2eb (patch) | |
tree | 452fb18314fb6d4393552d1ef1190a3168353f44 /extra/python-egenix-mx-base | |
parent | bb3524a1ba0370174d0c586ae94cd503b562a207 (diff) | |
parent | 9e3985ed7c9851da65023a0ab3d0739cce1858e2 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-staging/gambas2/PKGBUILD
community-staging/gambas3/PKGBUILD
community-staging/libextractor/PKGBUILD
community-staging/pdf2djvu/PKGBUILD
community/dante/PKGBUILD
community/gnunet/PKGBUILD
community/luafilesystem/PKGBUILD
community/luajit/PKGBUILD
community/python-mpi4py/PKGBUILD
community/python-psutil/PKGBUILD
extra/gnome-python-desktop/PKGBUILD
extra/pycrypto/PKGBUILD
extra/pygobject/PKGBUILD
extra/pygobject2/PKGBUILD
extra/pyopenssl/PKGBUILD
extra/python/PKGBUILD
extra/vde2/PKGBUILD
gnome-unstable/clutter-gtk/PKGBUILD
gnome-unstable/clutter/PKGBUILD
gnome-unstable/eog/PKGBUILD
gnome-unstable/evolution-data-server/PKGBUILD
gnome-unstable/gcr/PKGBUILD
gnome-unstable/gnome-desktop/PKGBUILD
gnome-unstable/gnome-keyring/PKGBUILD
gnome-unstable/gnome-themes-standard/PKGBUILD
gnome-unstable/gobject-introspection/PKGBUILD
staging/kdebase-workspace/PKGBUILD
testing/iputils/PKGBUILD
testing/php/PKGBUILD
testing/php/php-fpm.conf.in.patch
testing/php/php-fpm.service
testing/php/rc.d.php-fpm
Diffstat (limited to 'extra/python-egenix-mx-base')
-rw-r--r-- | extra/python-egenix-mx-base/PKGBUILD | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/extra/python-egenix-mx-base/PKGBUILD b/extra/python-egenix-mx-base/PKGBUILD index a1f63c3b5..47a144f6a 100644 --- a/extra/python-egenix-mx-base/PKGBUILD +++ b/extra/python-egenix-mx-base/PKGBUILD @@ -1,31 +1,32 @@ -# $Id: PKGBUILD 159295 2012-05-21 01:39:56Z stephane $ +# $Id: PKGBUILD 169013 2012-10-17 10:20:08Z allan $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> # Contributor: Douglas Soares de Andrade <douglas@archlinux.org> -pkgname=python-egenix-mx-base +pkgbase=python-egenix-mx-base +pkgname=('python2-egenix-mx-base') _origname=egenix-mx-base pkgver=3.2.4 -pkgrel=1 +pkgrel=3 pkgdesc="A collection of Python tools" arch=('i686' 'x86_64' 'mips64el') license=('custom') url="http://www.egenix.com/products/python/mxBase/" -depends=('python2') -replaces=('egenix-mx-base') -provides=('egenix-mx-base') +makedepends=('python2') +conflicts=('python-egenix-mx-base<=3.2.4-1') +replaces=('python-egenix-mx-base<=3.2.4-1') source=("http://downloads.egenix.com/python/${_origname}-${pkgver}.tar.gz") sha1sums=('22d7fcbd582177f9a43245eadc3644f3b48cc9a7') 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|" {} \; + find . -name \*.py -exec sed -i -e "s|^#!.*python|#!/usr/bin/python2|" {} \; python2 setup.py build } -package() { +package_python2-egenix-mx-base() { + depends=('python2>=2.7') cd "${srcdir}/${_origname}-${pkgver}" python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1 install -D -m644 COPYRIGHT "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE |