summaryrefslogtreecommitdiff
path: root/pcr/python2-eventlet/PKGBUILD
blob: df82d165519789c310867c426254adbb7f213d8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>

pkgname=("python2-eventlet" "python-eventlet")
pkgver=0.17.3
pkgrel=1
pkgdesc="Highly concurrent networking library"
arch=(any)
url="http://eventlet.net"
license=(MIT)
makedepends=("python2" "python" "python2-setuptools" "python-setuptools")
source=("http://pypi.python.org/packages/source/e/eventlet/eventlet-${pkgver}.tar.gz")

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')