blob: 180ae5b40eb99fb81eac727bba571f622db3cb6f (
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
25
26
27
28
29
30
31
32
33
34
|
# $Id: PKGBUILD 83594 2013-02-03 14:32:24Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
_pkgbase=gevent
pkgname=python2-${_pkgbase}-beta
pkgver=1.0rc2
pkgrel=3
pkgdesc="Python networking library based on greenlet and libev - Beta version"
arch=('i686' 'x86_64')
url="http://www.gevent.org/"
license=('MIT')
depends=('python2-greenlet')
makedepends=('cython2')
conflicts=('python2-gevent')
provides=("python2-gevent=$pkgver")
source=("https://github.com/SiteSupport/gevent/archive/$pkgver.tar.gz")
package() {
cd "$srcdir/${_pkgbase}-${pkgver}"
msg "Starting make..."
# Workaround
unset MAKEFLAGS
LIBEV_EMBED=1 \
CARES_EMBED=1 \
CYTHON=cython2 \
PYTHON=python2 \
python2 setup.py install \
--prefix=/usr \
--root="$pkgdir"
}
md5sums=('e1bce8e15c7ebb08788978c0f4860f9d')
|