summaryrefslogtreecommitdiff
path: root/community/python2-gevent/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-06 00:01:34 +0000
committerroot <root@rshg054.dnsready.net>2012-06-06 00:01:34 +0000
commit91734dee3e97f809fb0fcf7add40f7af90fccd87 (patch)
tree5ea3c4fcb1f01ef60e6f841415bd5f7ab78e32f0 /community/python2-gevent/PKGBUILD
parent67db4cf68dbdb364c4dee1599294d7701f3c3b0a (diff)
Wed Jun 6 00:01:34 UTC 2012
Diffstat (limited to 'community/python2-gevent/PKGBUILD')
-rw-r--r--community/python2-gevent/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/python2-gevent/PKGBUILD b/community/python2-gevent/PKGBUILD
new file mode 100644
index 000000000..c35d3ac2b
--- /dev/null
+++ b/community/python2-gevent/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 70305 2012-05-04 08:21:08Z mtorromeo $
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
+# Contributor: Ralf Schmitt <ralf@systemexit.de>
+
+pkgname=python2-gevent
+pkgver=0.13.7
+pkgrel=1
+arch=('i686' 'x86_64')
+pkgdesc="Python network library that uses greenlet and libevent for easy and scalable concurrency"
+license=("MIT")
+url="http://www.gevent.org/"
+depends=('libevent' 'python2-greenlet')
+makedepends=('python2-distribute')
+
+source=(http://pypi.python.org/packages/source/g/gevent/gevent-$pkgver.tar.gz)
+
+build() {
+ cd "$srcdir/gevent-$pkgver"
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/gevent-$pkgver"
+ python2 setup.py install -O1 --root="$pkgdir"
+ install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm0644 LICENSE.pyevent "$pkgdir/usr/share/licenses/$pkgname/LICENSE.pyevent"
+}
+
+md5sums=('c74004730c2543260b751b0aa782987c')
+sha1sums=('2b9c63b84e21a36e244a7c825b9bdbaa98b7ec66')