diff options
Diffstat (limited to 'dev-python/pyro')
-rw-r--r-- | dev-python/pyro/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/pyro/pyro-4.1.ebuild | 57 |
2 files changed, 64 insertions, 1 deletions
diff --git a/dev-python/pyro/ChangeLog b/dev-python/pyro/ChangeLog index dd16e867723f..fdab8bcc6d60 100644 --- a/dev-python/pyro/ChangeLog +++ b/dev-python/pyro/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pyro # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/ChangeLog,v 1.25 2010/03/07 13:18:18 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/ChangeLog,v 1.26 2010/06/29 03:54:50 arfrever Exp $ + +*pyro-4.1 (29 Jun 2010) + + 29 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -pyro-3.9.1.ebuild, +pyro-4.1.ebuild: + Version bump. 07 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> pyro-3.10.ebuild: amd64 stable wrt #300243 diff --git a/dev-python/pyro/pyro-4.1.ebuild b/dev-python/pyro/pyro-4.1.ebuild new file mode 100644 index 000000000000..72fa4612a3c1 --- /dev/null +++ b/dev-python/pyro/pyro-4.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/pyro-4.1.ebuild,v 1.1 2010/06/29 03:54:50 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="*:2.5" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.4" + +inherit distutils + +MY_P="Pyro-${PV}" + +DESCRIPTION="Advanced and powerful Distributed Object Technology system written entirely in Python" +HOMEPAGE="http://www.xs4all.nl/~irmen/pyro4/ http://pypi.python.org/pypi/Pyro" +SRC_URI="http://www.xs4all.nl/~irmen/pyro4/download/${MY_P}-python3.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/${MY_P}-python3" + +PYTHON_MODNAME="Pyro" + +src_prepare() { + distutils_src_prepare + + # PyroTests.namingtests.NameServerTests.testResolve sometimes hangs. + sed -e "s/testResolve/_&/" -i tests/PyroTests/namingtests.py || die "sed failed" +} + +src_test() { + cd tests + + testing() { + "$(PYTHON)" run_testsuite.py + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + if use doc; then + dohtml -r docs/* + fi + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} |