diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-02 12:07:43 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-02 12:07:43 -0500 |
commit | 21579cbef1010aad71600bbb87c5f8d9fbae4af5 (patch) | |
tree | 7b4e95fea9f887f1b2c543141d07abe4def84b05 /pcr/python2-empy | |
parent | 78d69d1d94fb3516e85983e97370a3d368c44661 (diff) | |
download | abslibre-21579cbef1010aad71600bbb87c5f8d9fbae4af5.tar.gz abslibre-21579cbef1010aad71600bbb87c5f8d9fbae4af5.tar.bz2 abslibre-21579cbef1010aad71600bbb87c5f8d9fbae4af5.zip |
python2-empy-3.3.2-2: updating version
Diffstat (limited to 'pcr/python2-empy')
-rw-r--r-- | pcr/python2-empy/PKGBUILD | 24 | ||||
-rw-r--r-- | pcr/python2-empy/python2.patch | 8 |
2 files changed, 27 insertions, 5 deletions
diff --git a/pcr/python2-empy/PKGBUILD b/pcr/python2-empy/PKGBUILD index 5c92c6e30..184cfbd3f 100644 --- a/pcr/python2-empy/PKGBUILD +++ b/pcr/python2-empy/PKGBUILD @@ -1,20 +1,34 @@ +# Contributor (Arch): Benjamin Chretien <chretien at lirmm dot fr> # Contributor (Arch): Andrew Conkling <andrewski@fr.st> # Contributor (Arch): hauptmech <hauptmech@gmail.com> # Maintainer : Parabola GNU / LInux-libre Aurelien Desbrieres <aurelien@cwb.io> pkgname=python2-empy realname=empy -pkgver=3.3 +pkgver=3.3.2 pkgrel=2 pkgdesc="A powerful and robust templating system for Python." arch=(i686 x86_64) url="http://www.alcyone.com/software/empy" -depends=('python2') +depends=('python2>=2.4') license=('LGPL') -source=("http://www.alcyone.com/software/empy/empy-$pkgver.tar.gz") +source=("https://pypi.python.org/packages/source/E/EmPy/empy-$pkgver.tar.gz" + "python2.patch") +md5sums=('fbb34761cdf9acc4c65e298c9eced395' + '198d743409b18c0d024851ca80829a1d') build() { - cd $startdir/src/empy-$pkgver - python2 setup.py install --prefix=$startdir/pkg/usr + cd ${srcdir}/empy-$pkgver + + patch -p0 -i ${srcdir}/python2.patch + + python2 setup.py build } +package() { + cd ${srcdir}/empy-$pkgver + python2 setup.py install -O2 --skip-build --prefix=/usr --root=${pkgdir} + + # Make em.py executable + chmod a+x ${pkgdir}/usr/lib/python2.7/site-packages/em.py +} diff --git a/pcr/python2-empy/python2.patch b/pcr/python2-empy/python2.patch new file mode 100644 index 000000000..9fc8b5502 --- /dev/null +++ b/pcr/python2-empy/python2.patch @@ -0,0 +1,8 @@ +--- em.py 2014-07-24 15:56:40.226205123 +0200 ++++ em.py 2014-07-24 15:56:47.439634962 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + # + # $Id: em.py 5364 2014-01-24 21:39:38Z max $ $Date: 2014-01-24 13:39:38 -0800 (Fri, 24 Jan 2014) $ + |