summaryrefslogtreecommitdiff
path: root/~mtjm/python-urlreader
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-29 23:15:03 +0000
committerroot <root@rshg054.dnsready.net>2012-01-29 23:15:03 +0000
commit39711f3264d3b9de2ff6392649274d6333932457 (patch)
treede0577b44ca853064f52a0df25ee9f22efd756bc /~mtjm/python-urlreader
parent738e6c6d93b4c7118e49b38c610abed8b7f7d55a (diff)
Sun Jan 29 23:15:02 UTC 2012
Diffstat (limited to '~mtjm/python-urlreader')
-rw-r--r--~mtjm/python-urlreader/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
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 <mtjm@mtjm.eu>
+
+_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: