# 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.49 2011/07/07 19:11:07 neurogeek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyro/ChangeLog,v 1.50 2011/09/05 13:09:44 djc Exp $
+
+*pyro-4.8 (05 Sep 2011)
+
+ 05 Sep 2011; Dirkjan Ochtman <djc@gentoo.org> +pyro-4.8.ebuild:
+ Version bump to 4.8 (thanks to jbergstroem for testing).
07 Jul 2011; Jesus Rivero <neurogeek@gentoo.org> pyro-4.4.ebuild:
Disabled tests that request connections wrt bug #370577
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
DIST Pyro-3.13.tar.gz 296739 RMD160 be3ca6e7118a0a29fc2cbd41645fa2ca9ab0f78f SHA1 6479a60fc7f21a4f152d7ebbab2c3183d7d6f6f5 SHA256 e0123cd3a234af080728f668005043f104bd3dcef5b1aa21b043c99375cf68cd
DIST Pyro4-4.4.tar.gz 68865 RMD160 e777d4974bf5c8116d19391db35a8efb976545da SHA1 8b76f97cd516e832113f59ce8e7e7ac26b8c501c SHA256 18e5e4a382885f69eff808b0a87131082a77e7c61609b4142c2d6797541719a5
+DIST Pyro4-4.8.tar.gz 211959 RMD160 5b51596360bbc8176f304f7bee432218644c212b SHA1 4d3771000963f08dede307fce5714ff48c50057c SHA256 825b8b7dcd4f502def2f7dadbceedf7b79be4b121a77d03c398378979cbc2203
EBUILD pyro-3.13.ebuild 1036 RMD160 43757ecd284c8db9a62a6b454d2417a6f6aece9b SHA1 13ce7c3c48ffd10f2dc70c69c43bc7bd0fcdfb1e SHA256 904421f24378647b8407bfb7bf5f248f981ccdb45024f049b6c52fef83a24501
EBUILD pyro-4.4.ebuild 1974 RMD160 0fb8835d82f61941b2be478b7b8da7a71bb77c6d SHA1 78bf574f7f1466bb44bf93e8a3a49444b6723996 SHA256 d539ef592e734e5972763e9adfbf479801eb8dedde4e4a3c130b9f03f55b48dd
-MISC ChangeLog 5941 RMD160 b48189d9bf0ca57a01122d4c5d9392de21061faf SHA1 29165323164b33d54d0c72e22d2216fc16617139 SHA256 09936067a9634241c62e73cdee894799f8cf76866bd3e5bcfa8cd54de6e1e1df
+EBUILD pyro-4.8.ebuild 1994 RMD160 1606cb0e905cdbb74c2795a045dbd4fbd377d9d8 SHA1 93edc04390c70514af4667ea2e4f50d562cc4555 SHA256 2c7fd105e5bf9f229ed062d046302c4dce1ac7e39b8502bc16237f85d334ae15
+MISC ChangeLog 6086 RMD160 330c78ac277ca7647ba7147a8b8e200522982aa2 SHA1 833bbb1b6e214e0db02f5fcc9a19740d8fdc5a42 SHA256 5a02e409d94b564571e92addca80063335c11e7460612062e79080f181fd8916
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk4WB7oACgkQdIssYB9vBoOMcwCdGZ9RTfuUmgPYWmKK4E3UkOu+
-wggAn1crWUvZ9ZeyiDM4QhYthISie3l+
-=yT/N
+iEYEAREKAAYFAk5kyiAACgkQxeMuLWsGW/ujBwCfezgWs/D2rPzju4ib8FLTtp+9
+jHoAoI+sMPXfByrtMGI+nJ/jDYz1FeyA
+=aBSr
-----END PGP SIGNATURE-----
--- /dev/null
+# 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.8.ebuild,v 1.1 2011/09/05 13:09:44 djc 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}
+ dev-python/setuptools
+ 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/_&/" \
+ -e "s/testServerParallelism/_&/" \
+ -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
+}