summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Bergström (jbergstroem) <bugs@bergstroem.nu>2009-09-05 16:29:34 +0000
committerJohan Bergström (jbergstroem) <bugs@bergstroem.nu>2009-09-05 16:29:34 +0000
commit0c23462c37d488ee4dd58f086e514c171c778bae (patch)
treea7ee737ece4888985fe1ba155f18f7d439e2b56f /dev-python/eventlet/eventlet-0.8.16.ebuild
parentnet-analyzer/icinga: New Ebuild for bug 271339, version bump 0.8.3 (diff)
downloadsunrise-0c23462c37d488ee4dd58f086e514c171c778bae.tar.gz
sunrise-0c23462c37d488ee4dd58f086e514c171c778bae.tar.bz2
sunrise-0c23462c37d488ee4dd58f086e514c171c778bae.zip
dev-python/eventlet: Version bump. Also remove the now unneeded patch
svn path=/sunrise/; revision=9178
Diffstat (limited to 'dev-python/eventlet/eventlet-0.8.16.ebuild')
-rw-r--r--dev-python/eventlet/eventlet-0.8.16.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/eventlet/eventlet-0.8.16.ebuild b/dev-python/eventlet/eventlet-0.8.16.ebuild
new file mode 100644
index 000000000..9d6b4ea9e
--- /dev/null
+++ b/dev-python/eventlet/eventlet-0.8.16.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+inherit distutils
+
+DESCRIPTION="A networking library that achieves high scalability by using non-blocking io"
+HOMEPAGE="http://wiki.secondlife.com/wiki/Eventlet"
+SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples test"
+
+RDEPEND="dev-lang/python
+ dev-python/greenlet
+ dev-python/pyopenssl"
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ test? ( || ( dev-lang/python[sqlite] dev-python/pysqlite ) )"
+
+src_test() {
+ cd greentest
+ PYTHONPATH=.. ${python} runall.py || die "Tests failed"
+}
+
+src_install() {
+ distutils_src_install
+ if use examples ; then
+ insinto /usr/share/doc/${PF}
+ doins -r examples || die "Install failed"
+ fi
+}