diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-10-27 20:28:27 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-10-27 20:28:27 (GMT) |
commit | f7b823f55a80b1498c30e9f3a47692a2329c4f09 (patch) | |
tree | 6de557714e6336282fbc0ab16c6578386dfc6654 /abs/core/python_modules/python-beaker | |
parent | 4c2a2e3504f472628285a989c7c9a76be6855f54 (diff) | |
parent | 01c1a60f3b7f93b3ed7404196c2cf798c4d8c674 (diff) | |
download | linhes_pkgbuild-f7b823f55a80b1498c30e9f3a47692a2329c4f09.zip linhes_pkgbuild-f7b823f55a80b1498c30e9f3a47692a2329c4f09.tar.gz linhes_pkgbuild-f7b823f55a80b1498c30e9f3a47692a2329c4f09.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/python_modules/python-beaker')
-rw-r--r-- | abs/core/python_modules/python-beaker/PKGBUILD | 42 | ||||
-rw-r--r-- | abs/core/python_modules/python-beaker/__changelog | 1 |
2 files changed, 43 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-beaker/PKGBUILD b/abs/core/python_modules/python-beaker/PKGBUILD new file mode 100644 index 0000000..fbc3bae --- /dev/null +++ b/abs/core/python_modules/python-beaker/PKGBUILD @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer : Ionut Biru <ibiru@archlinux.org> +# Contributor: Massimiliano Torromeo < massimiliano DOT torromeo AT gmail DOT com > + +pkgname=('python2-beaker') +pkgver=1.6.4 +pkgrel=2 +arch=('any') +license=('custom') +pkgdesc="Caching and sessions WSGI middleware for use with web applications and stand-alone Python scripts and applications" +url="http://beaker.groovie.org/" +makedepends=('python2-setuptools') +source=("http://cheeseshop.python.org/packages/source/B/Beaker/Beaker-${pkgver}.tar.gz") +md5sums=('c2e102870ed4c53104dec48ceadf8e9d') + +build() { + cp -r Beaker-${pkgver} python2-Beaker-${pkgver} + + cd "${srcdir}/Beaker-${pkgver}" + sed -i "s#/usr/bin/python#/usr/bin/python3#" beaker/crypto/pbkdf2.py +# python3 setup.py build + + cd "${srcdir}/python2-Beaker-${pkgver}" + sed -i "s#/usr/bin/python#/usr/bin/python2#" beaker/crypto/pbkdf2.py + python2 setup.py build +} + +#package_python-beaker() { +# depends=('python') + +# cd "${srcdir}/Beaker-${pkgver}" +# python3 setup.py install --root="${pkgdir}" --optimize=1 +# install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python-beaker/LICENSE" +#} + +package_python2-beaker() { + depends=('python2') + + cd "${srcdir}/python2-Beaker-${pkgver}" + python2 setup.py install --root="${pkgdir}" --optimize=1 + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/python2-beaker/LICENSE" +} diff --git a/abs/core/python_modules/python-beaker/__changelog b/abs/core/python_modules/python-beaker/__changelog new file mode 100644 index 0000000..9715c21 --- /dev/null +++ b/abs/core/python_modules/python-beaker/__changelog @@ -0,0 +1 @@ +PKGBUILD - comment out all python 3 stuff and only build for py 2 |