summaryrefslogtreecommitdiff
path: root/pcr/python2-eventlet
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/python2-eventlet')
-rw-r--r--pcr/python2-eventlet/PKGBUILD26
1 files changed, 14 insertions, 12 deletions
diff --git a/pcr/python2-eventlet/PKGBUILD b/pcr/python2-eventlet/PKGBUILD
index d9dc41d8d..df82d1655 100644
--- a/pcr/python2-eventlet/PKGBUILD
+++ b/pcr/python2-eventlet/PKGBUILD
@@ -1,22 +1,24 @@
-# -*- shell-script -*-
#Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
-python=python2
-name=eventlet
-
-pkgname=$python-$name
-pkgver=0.9.16
+pkgname=("python2-eventlet" "python-eventlet")
+pkgver=0.17.3
pkgrel=1
pkgdesc="Highly concurrent networking library"
arch=(any)
url="http://eventlet.net"
license=(MIT)
-depends=('python2-greenlet' 'python' 'python2-distribute')
-makedepends=("$python")
-source=("http://pypi.python.org/packages/source/e/$name/$name-$pkgver.tar.gz")
+makedepends=("python2" "python" "python2-setuptools" "python-setuptools")
+source=("http://pypi.python.org/packages/source/e/eventlet/eventlet-${pkgver}.tar.gz")
-build() {
- cd "$srcdir/$name-$pkgver"
- $python setup.py install --prefix=/usr --root=$pkgdir
+package_python2-eventlet() {
+ depends=("python2" "python2-greenlet")
+ cd "${srcdir}/eventlet-${pkgver}"
+ python2 setup.py install --prefix=/usr --root="${pkgdir}"
}
+package_python-eventlet() {
+ depends=("python" "python-greenlet")
+ cd "${srcdir}/eventlet-${pkgver}"
+ python setup.py install --prefix=/usr --root="${pkgdir}"
+}
+md5sums=('12c855e37dd688d3137ecc88d5b8f05b')