From 910c1178175ff2c48656d4ddbdbe484419e9649f Mon Sep 17 00:00:00 2001 From: Michał Masłowski Date: Sun, 29 Jan 2012 22:56:46 +0100 Subject: ~mtjm/python-urlreader --- ~mtjm/python-urlreader/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 ~mtjm/python-urlreader/PKGBUILD diff --git a/~mtjm/python-urlreader/PKGBUILD b/~mtjm/python-urlreader/PKGBUILD new file mode 100644 index 000000000..4ffe93c6f --- /dev/null +++ b/~mtjm/python-urlreader/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Michał Masłowski + +_pkgname=URLReader +pkgname=python-urlreader +pkgver=0.0a1 +pkgrel=1 +pkgdesc="Simple package for cached URL fetching" +arch=("any") +url="http://hg.mtjm.eu/urlreader/" +license=('AGPL') +depends=('python' 'python-distribute') +checkdepends=('python2') # due to my laziness +options=(!emptydirs) +source=("http://pypi.python.org/packages/source/U/URLReader/URLReader-${pkgver}.tar.gz") +md5sums=("5a96519a24099aae05fc0612d9cfd650") + +check() { + cd "$srcdir/$_pkgname-$pkgver" + LANG=en_US.UTF-8 python setup.py test +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + LANG=en_US.UTF-8 python setup.py install --root="$pkgdir/" --optimize=1 +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf