diff options
Diffstat (limited to 'pcr/python2-webob')
-rw-r--r-- | pcr/python2-webob/Changelog | 26 | ||||
-rw-r--r-- | pcr/python2-webob/PKGBUILD | 34 |
2 files changed, 60 insertions, 0 deletions
diff --git a/pcr/python2-webob/Changelog b/pcr/python2-webob/Changelog new file mode 100644 index 000000000..d67f3b16b --- /dev/null +++ b/pcr/python2-webob/Changelog @@ -0,0 +1,26 @@ +2012-10-30 Aaron DeVore <aaron.devore@gmail.com> (1.2.3-1) +- Version bump to 1.2.3 +- Change WebOb-${pkgver}.zip to WebOb-${pkgver}.tar.gz +2012-06-07 Aaron DeVore <aaron.devore@gmail.com> (1.2.2-1) +- Version bump to 1.2.2 +2012-06-07 Aaron DeVore <aaron.devore@gmail.com> (1.2-1) +- Version bump to 1.2 +2012-10-07 Aaron DeVore <aaron.devore@gmail.com> +- Version bump to 1.1.1 +2011-8-8 Aaron DeVore <aaron.devore@gmail.com> (1.1b2) +- Version bump to 1.1b2 +- Add python-sphinx to makedepends +2011-5-14 Aaron DeVore <aaron.devore@gmail.com> (1.0.7-2) +- Revert from split build (AUR doesn't work with split builds) +2011-5-14 Aaron DeVore <aaron.devore@gmail.com> (1.0.7-1) +- Version bump to 1.0.7 +- Switch to split build +- Split Sphinx html docs into python-webob-docs package +- Don't bundle license file (upstream has restored it) +2011-4-13 Aaron DeVore <aaron.devore@gmail.com> (1.0.6-1) +- Version bump to 1.0.6 +- Bundle the license file (upstream removed it from the Pypi zip file) +2011-3-24 Aaron DeVore <aaron.devore@gmail.com> (1.0.5-1) +- Version bump to 1.0.5 +- Fix source URL (file extension changed on Pypi) +- Fix some recently change idioms 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 +} + |