diff options
author | aurelien <tek@localhost.localdomain> | 2012-11-24 09:24:52 +0100 |
---|---|---|
committer | aurelien <tek@localhost.localdomain> | 2012-11-24 09:24:52 +0100 |
commit | 0a9a064dde6943f5ce78d9eb03f403326cd5b4ef (patch) | |
tree | 950bd3f3cc003ab3cb8384d1a60476035f307a29 /pcr/python2-webob/PKGBUILD | |
parent | 13e7da299d6c1d313b32309f5737d887212b7d4c (diff) | |
download | abslibre-0a9a064dde6943f5ce78d9eb03f403326cd5b4ef.tar.gz abslibre-0a9a064dde6943f5ce78d9eb03f403326cd5b4ef.tar.bz2 abslibre-0a9a064dde6943f5ce78d9eb03f403326cd5b4ef.zip |
glance nova python2-amqplib python2-carrot python2-daemon python2-eventlet python2-iso8601 python2-kombu python2-netaddr python2-passlib python2-pkgtools python2-sendfile python2-suds python2-webob pyt
hon-anyjson python-paste-deploy python-paste python-repoze.lru python-routes python-wsgiref python-xattr
Diffstat (limited to 'pcr/python2-webob/PKGBUILD')
-rw-r--r-- | pcr/python2-webob/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pcr/python2-webob/PKGBUILD b/pcr/python2-webob/PKGBUILD new file mode 100644 index 000000000..8dd0df386 --- /dev/null +++ b/pcr/python2-webob/PKGBUILD @@ -0,0 +1,34 @@ +# Contributor: Aaron DeVore <aaron.devore@gmail.com> +# Contributor: Cilyan Olowen <gaknar@gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +pkgname='python2-webob' +pkgver='1.2.3' +pkgrel='1' +pkgdesc="WebOb provides objects for HTTP requests and responses." +arch=('any') +url="http://webob.org/" +license=('MIT') +depends=('python2') +makedepends=('python2-distribute') +optdepends=('python-webob-docs: documentation') +changelog='Changelog' +source=("http://pypi.python.org/packages/source/W/WebOb/WebOb-${pkgver}.tar.gz") + +build() { + cd "$srcdir/WebOb-${pkgver}" + python2 setup.py build +} + +package() { + cd "$srcdir/WebOb-${pkgver}" + python2 setup.py install "--root=$pkgdir" --optimize=1 + install -D -m644 "docs/license.txt" \ + "$pkgdir/usr/share/licenses/$pkgname/license.txt" +} + +check() { + cd "$srcdir/WebOb-${pkgver}" + python2 setup.py test +} + |