summaryrefslogtreecommitdiff
path: root/~xihh/python2-socketpool/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to '~xihh/python2-socketpool/PKGBUILD')
-rw-r--r--~xihh/python2-socketpool/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/~xihh/python2-socketpool/PKGBUILD b/~xihh/python2-socketpool/PKGBUILD
new file mode 100644
index 000000000..9c853efea
--- /dev/null
+++ b/~xihh/python2-socketpool/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+pkgname=python2-socketpool
+pkgver=0.2.3
+pkgrel=1
+pkgdesc="Socket pool is a simple socket pool that suports multiple factories and backends. It can easily be used by gevent, eventlet or any other library."
+arch=('any')
+url="https://github.com/benoitc/socketpool"
+license=('MIT')
+depends=('python2')
+makedepends=('python2-distribute')
+options=(!emptydirs)
+source=("http://pypi.python.org/packages/source/s/socketpool/socketpool-$pkgver.tar.gz"
+ "doc.patch")
+md5sums=('aa7829958eb5df7f69f43c2946b17956'
+ 'b647167a37276f6dce2b9dc427a46dcc')
+
+package() {
+ cd "$srcdir/socketpool-$pkgver"
+
+ # Install doc at the proper location
+ patch -p1 < "$srcdir/doc.patch"
+
+ python2 setup.py install --prefix=/usr --root=$pkgdir/ --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: