diff options
author | root <root@rshg054.dnsready.net> | 2012-10-14 00:46:01 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-14 00:46:01 -0700 |
commit | 4eb56e1b3a80c84f2dddf2692310369dc9cbd31a (patch) | |
tree | b31de2992989d616383f6552ba5d23b75701ef04 /staging/python-egenix-mx-base | |
parent | 21c295a86a10a3cd59802b2cf3ab7c24ebf0c608 (diff) |
Sun Oct 14 00:45:38 PDT 2012
Diffstat (limited to 'staging/python-egenix-mx-base')
-rw-r--r-- | staging/python-egenix-mx-base/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/staging/python-egenix-mx-base/PKGBUILD b/staging/python-egenix-mx-base/PKGBUILD new file mode 100644 index 000000000..f48fd8fb8 --- /dev/null +++ b/staging/python-egenix-mx-base/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 168671 2012-10-13 23:05:54Z stephane $ +# Maintainer: Stéphane Gaudreault <stephane@archlinux.org> +# Contributor: Douglas Soares de Andrade <douglas@archlinux.org> + +pkgbase=python-egenix-mx-base +pkgname=('python2-egenix-mx-base') +_origname=egenix-mx-base +pkgver=3.2.4 +pkgrel=2 +pkgdesc="A collection of Python tools" +arch=('i686' 'x86_64') +license=('custom') +url="http://www.egenix.com/products/python/mxBase/" +makedepends=('python2') +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|^#!.*python|#!/usr/bin/python2|" {} \; + + python2 setup.py build +} + +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 +} |