diff options
Diffstat (limited to 'community/python2-gevent-beta/PKGBUILD')
-rw-r--r-- | community/python2-gevent-beta/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/python2-gevent-beta/PKGBUILD b/community/python2-gevent-beta/PKGBUILD new file mode 100644 index 000000000..180ae5b40 --- /dev/null +++ b/community/python2-gevent-beta/PKGBUILD @@ -0,0 +1,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') |