summaryrefslogtreecommitdiff
path: root/community/python2-gevent-beta
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/python2-gevent-beta
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/python2-gevent-beta')
-rw-r--r--community/python2-gevent-beta/PKGBUILD34
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')