summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Bergström (jbergstroem) <bugs@bergstroem.nu>2010-02-22 11:13:42 +0000
committerJohan Bergström (jbergstroem) <bugs@bergstroem.nu>2010-02-22 11:13:42 +0000
commit773ca90311e954916787eaa08b3a8c99f87849aa (patch)
treef1edd5848086848c6f9bcf000d601231a400ac6a /dev-python
parentwww-servers/webcit: Version bump for webcit, added enewuser line, removed --w... (diff)
downloadsunrise-reviewed-773ca90311e954916787eaa08b3a8c99f87849aa.tar.gz
sunrise-reviewed-773ca90311e954916787eaa08b3a8c99f87849aa.tar.bz2
sunrise-reviewed-773ca90311e954916787eaa08b3a8c99f87849aa.zip
dev-python/eventlet: Version bump, add sphinx docs generation and minor tweak to testing
svn path=/sunrise/; revision=10178
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/eventlet/ChangeLog4
-rw-r--r--dev-python/eventlet/Manifest6
-rw-r--r--dev-python/eventlet/eventlet-0.9.5.ebuild (renamed from dev-python/eventlet/eventlet-0.9.4.ebuild)23
3 files changed, 27 insertions, 6 deletions
diff --git a/dev-python/eventlet/ChangeLog b/dev-python/eventlet/ChangeLog
index c90c47adb..ccf41c904 100644
--- a/dev-python/eventlet/ChangeLog
+++ b/dev-python/eventlet/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 22 Feb 2010; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
+ -eventlet-0.9.4.ebuild, +eventlet-0.9.5.ebuild:
+ Version bump, add sphinx docs generation and minor tweak to testing
+
31 Jan 2010; Johan Bergström (jbergstroem) <bugs@bergstroem.nu>
-eventlet-0.9.3.ebuild, +eventlet-0.9.4.ebuild:
Version bump
diff --git a/dev-python/eventlet/Manifest b/dev-python/eventlet/Manifest
index bb5c4e9cc..8e0ad4931 100644
--- a/dev-python/eventlet/Manifest
+++ b/dev-python/eventlet/Manifest
@@ -1,4 +1,4 @@
-DIST eventlet-0.9.4.tar.gz 139686 RMD160 b877bdb06fdd0df570fcddc5e0dd018d2352367f SHA1 024e41ce9e2f217507daf1cfaa9e33cb089e6f3b SHA256 561569f52d8be83ed48bd77f4fc0754de8da9330db6e76a0d65f1ebcd7fb5593
-EBUILD eventlet-0.9.4.ebuild 889 RMD160 a453a43c3e96047dacc424ca54cd404181dabbb8 SHA1 b5541338a5b68a16dbd2bf100f7a89b21c1e45fe SHA256 2aee8fa9b930beb1703b39889b85131d17f62a6ea8b452aff4d403caad409887
-MISC ChangeLog 2018 RMD160 4f1876a93602a6eb728a8ddf32c757ca61790c68 SHA1 858f7a43a866d572daebe6f3a5eca1957ae863e5 SHA256 4746e2b5d3e1574d92593849826085d2d861423f655dcf65ac06f96bf9ee8782
+DIST eventlet-0.9.5.tar.gz 265513 RMD160 538a00fd0dd43bf8e1a70d78be66688dbb85dc08 SHA1 e6646d25b27a89773cbfab707470e5a33d21b74f SHA256 62a1cf4fee7766390278617522e3de3f355b1bba1963417bbeb9cebbedda4e81
+EBUILD eventlet-0.9.5.ebuild 1220 RMD160 4b17c72bce90c8040484a5f286aab2a7e70bfe98 SHA1 76eec347e2f051030eb3949b1dc816bade834626 SHA256 25cd9015c0be2bcf87f9834ec86df3b9fa9a3d17043931ca91a72ca2a447a7b6
+MISC ChangeLog 2206 RMD160 5743287a48df9a86557119bbf4309471a7ba27ad SHA1 5542a7b40549d72bfd5e4e2c0a049087e6b75195 SHA256 b5838d8d51a378cadf602b3224afeda00314bee1bfb560285966ff461f2d676f
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/dev-python/eventlet/eventlet-0.9.4.ebuild b/dev-python/eventlet/eventlet-0.9.5.ebuild
index 4e51ded6d..445ea0b75 100644
--- a/dev-python/eventlet/eventlet-0.9.4.ebuild
+++ b/dev-python/eventlet/eventlet-0.9.5.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=2
+EAPI="2"
SUPPORT_PYTHON_ABIS="1"
inherit distutils
@@ -14,13 +14,14 @@ 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"
+IUSE="doc examples test"
RDEPEND="dev-python/greenlet
<dev-lang/python-2.6? ( dev-python/pyopenssl )"
DEPEND="${RDEPEND}
dev-python/setuptools
+ doc? ( dev-python/sphinx )
test? (
|| ( dev-lang/python[sqlite] dev-python/pysqlite )
dev-python/nose )"
@@ -29,8 +30,20 @@ RESTRICT_PYTHON_ABIS="3*"
DOCS="README README.twisted NEWS"
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ mkdir html
+ PYTHONPATH=. sphinx-build doc html || die "Building docs failed"
+ fi
+}
+
src_test() {
- nosetests || die "Tests failed"
+ testing() {
+ PYTHONPATH="." nosetests-${PYTHON_ABI} || die "Tests failed"
+ }
+ python_execute_function testing
}
src_install() {
@@ -38,4 +51,8 @@ src_install() {
if use examples ; then
dodoc examples/* || die "Install failed"
fi
+
+ if use doc; then
+ dohtml -r html/* || die "Error installing docs"
+ fi
}