diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-04-26 18:49:53 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-04-26 18:49:53 +0000 |
commit | 4c6494fe27c56d86c7bd1b0793555142470527c1 (patch) | |
tree | f26f2e821f674de897f1ae8ec90dbe90dba0c6e9 /dev-python/pyro | |
parent | Stable for HPPA (bug #363263). (diff) | |
download | gentoo-2-4c6494fe27c56d86c7bd1b0793555142470527c1.tar.gz gentoo-2-4c6494fe27c56d86c7bd1b0793555142470527c1.tar.bz2 gentoo-2-4c6494fe27c56d86c7bd1b0793555142470527c1.zip |
Version bump.
(Portage version: 2.2.0_alpha30_p2/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyro')
-rw-r--r-- | dev-python/pyro/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/pyro/pyro-4.4.ebuild | 80 |
2 files changed, 87 insertions, 1 deletions
diff --git a/dev-python/pyro/ChangeLog b/dev-python/pyro/ChangeLog index 7c52c2047f78..476de0e33a98 100644 --- a/dev-python/pyro/ChangeLog +++ b/dev-python/pyro/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/pyro # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/ChangeLog,v 1.38 2011/04/26 08:51:56 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/ChangeLog,v 1.39 2011/04/26 18:49:53 arfrever Exp $ + +*pyro-4.4 (26 Apr 2011) + + 26 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +pyro-4.4.ebuild: + Version bump. 26 Apr 2011; Markos Chandras <hwoarang@gentoo.org> pyro-4.3.ebuild: Stable on amd64 wrt bug #363873 diff --git a/dev-python/pyro/pyro-4.4.ebuild b/dev-python/pyro/pyro-4.4.ebuild new file mode 100644 index 000000000000..6d8506ef7ffe --- /dev/null +++ b/dev-python/pyro/pyro-4.4.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/pyro-4.4.ebuild,v 1.1 2011/04/26 18:49:53 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="*:2.6" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="2.[45]" + +inherit distutils + +MY_PN="Pyro4" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Advanced and powerful Distributed Object Technology system written entirely in Python" +HOMEPAGE="http://www.xs4all.nl/~irmen/pyro4/ http://www.razorvine.net/projects/Pyro.html http://pypi.python.org/pypi/Pyro4" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples test" + +RDEPEND="!dev-python/pyro:0" +DEPEND="${RDEPEND} + test? ( + dev-python/coverage + dev-python/nose + )" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="Pyro4" + +src_prepare() { + distutils_src_prepare + + sed -e '/sys.path.insert/a sys.path.insert(1,"PyroTests")' -i tests/run_suite.py + + # Disable tests requiring network connection. + sed \ + -e "s/testBCstart/_&/" \ + -e "s/testDaemonPyroObj/_&/" \ + -e "s/testLookupAndRegister/_&/" \ + -e "s/testMulti/_&/" \ + -e "s/testRefuseDottedNames/_&/" \ + -e "s/testResolve/_&/" \ + -i tests/PyroTests/test_naming.py + sed \ + -e "s/testOwnloopBasics/_&/" \ + -e "s/testStartNSfunc/_&/" \ + -i tests/PyroTests/test_naming2.py + sed -e "s/testServerConnections/_&/" -i tests/PyroTests/test_server.py + sed \ + -e "s/testBroadcast/_&/" \ + -e "s/testGetIP/_&/" \ + -i tests/PyroTests/test_socket.py +} + +src_test() { + cd tests + + testing() { + "$(PYTHON)" run_suite.py + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + if use doc; then + dohtml -r docs/* || die "Installation of documentation failed" + fi + + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples || die "Installation of examples failed" + fi +} |