diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pyro |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pyro')
-rw-r--r-- | dev-python/pyro/Manifest | 9 | ||||
-rw-r--r-- | dev-python/pyro/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/pyro/pyro-3.16-r1.ebuild | 35 | ||||
-rw-r--r-- | dev-python/pyro/pyro-4.41.ebuild | 77 | ||||
-rw-r--r-- | dev-python/pyro/pyro-4.56.ebuild | 76 |
5 files changed, 209 insertions, 0 deletions
diff --git a/dev-python/pyro/Manifest b/dev-python/pyro/Manifest new file mode 100644 index 000000000000..ffbd68b73b44 --- /dev/null +++ b/dev-python/pyro/Manifest @@ -0,0 +1,9 @@ +DIST Pyro-3.16.tar.gz 298769 SHA256 1bed508453ef7a7556b51424a58101af2349b662baab7e7331c5cb85dbe7e578 SHA512 d0e4ae93120a6566a2b06fa52b66e20daa972324a9d57d639ca68171e1e6e5c412250f7e6af3fc307631d2270be3731ea5898ad35819dc0369e6a2d8341d5965 WHIRLPOOL 0d7efcead6bc7a31a690c012a4213c835d43ca932e461ab25ddb2e12636970de2c3da6feb4915385bdadaf2261558d2041d5e6dad9899f11e450aa0a065460da +DIST Pyro4-4.41.tar.gz 502294 SHA256 3af4749140e9d4032632277ac19e7fd4761856d2df0f0643c574d1e7174a9703 SHA512 01c3f16448b39cd7a83c845eec86013315ee183a3e50c6caee1d327308e67ff63732833b413b189ebcb77cdb3fc65bbd7417ecbfc8575775ff79550678bce020 WHIRLPOOL 4ff63737b01eca22bc1dcd7e61a81ad3285c90ac1e03764edffe85b003eade780a936bbd74773f8d58d2a34dbe562bdfe332c5dd8ddd052f5a3928caa736d882 +DIST Pyro4-4.56.tar.gz 455253 SHA256 a80c27e1debbd8d8725ee4a8f0d30cf831dde5e80b04bfa9c912932c4c13d6aa SHA512 88805f5d7108432f98d38267a7a881e35fc1e34ae32cc7a1640f4b6e0d69718a86bf195fb4e4eecbd53075667521585b7006cd5c5736e5ff1ed39b5212b91bef WHIRLPOOL 0e82a13c2bf5e23c5fcbf844417888fd2e02270a12d465c6388397c913bbb06ebdc770d3744593d66b9b30ffc30aeda03a50dd934db38840ba1baeeb80961ff7 +EBUILD pyro-3.16-r1.ebuild 742 SHA256 a4f0a07841b652e2e1d177fe191826743ec64cfbdcbcb3a1e6bfacd0a98e0bfc SHA512 5bde2f3ac26eeb775f29a368f1ff5dcb19d12a82a6f627041aba861bc20125c64c0fb483a9e5c158ac7f6b3544eae029a77961aac5a3c00b13f0c23aa89e80dd WHIRLPOOL 8537e95ff59ecf59d4aab1465e31f1ab77a7fc752b01085bba471a53eae26dc8a5665d3912ec201487cae4510bc79746bbea082f8910ea991e6e361eb166caed +EBUILD pyro-4.41.ebuild 1915 SHA256 9742a619dce3eb60b9db1294512c8db5f4107cd8b20b1c921474e96cb7dea0e8 SHA512 92ca5686041d64ec368ec7f8d31b6560f04c55d4f2ccc8e1f462469e1c44fb8a0850b9c7f33af29c67740da03687a59153933548bfc4cf5c116b789ea0b19a9d WHIRLPOOL 775a85bbb3a2d9e106b6a5977fcec38c22d9bf35717169c81f8ec450abd9af6b120dc0f088cab113ce66532e59b4193c2e263619a5da56b2285d5619cb5761a1 +EBUILD pyro-4.56.ebuild 1917 SHA256 e04d1ee574ccd528dde87fdf7534ad46e2620ed559e63d1cdd14a28d090cc17f SHA512 c4c2e325879f0b3fa77d191f34cf2f16a63517f7141f60078c8747f36473d2a1345d7cf73bba3f12a32d44eb9052d78ff95ff432e43567c938b13349a935d337 WHIRLPOOL f9ed292618600ef18492d643cbc59972e2bedc5c7d588730521ddcbe9e69a114598353dcc63a599feef0d14a058616c4cf1604a12a347ec57c81806e4d1ae9b0 +MISC ChangeLog 4383 SHA256 fb2550efa14deb4b45a495e87fde39a49e6128c499a81b8a24ddbaaff069a547 SHA512 f2a96d427d0c4d2a2dfed32360ff24b031ac2edeb315965fb37c550d26c6735c4cecac7b551e28a8aadf10877668b2c560a9aeaf557c388a2d09bc2f44d0121d WHIRLPOOL 7e61ac8872e2e65a8a9cabe0ca1c0adda3baa6fdba8a452a2b0cb7476c7d3958ffc3d39c864be9a21e46b5f09a83de6bf9fcff7579f4b7010d3d36239ba2911b +MISC ChangeLog-2015 21253 SHA256 02c7ddadcd0f8eef1163d220ee2725924b927219013fbc66866fa463533621dd SHA512 7583512a4501d726f6238a8fed2b588ca24f9e83215a12910622390e540f74231123e1b22ff6229494e98faaee29ae729a1a034878440226af907aac205bddcc WHIRLPOOL edebf185d9ceafca3372428d66900eb9d95c1f403cf48a62a926ed4eb664565ac6f811b21a29946663c8299e241db1702340357ed8a36927f01340b945f1c278 +MISC metadata.xml 370 SHA256 d7ec5ad29688855eb60213b3cf8dd3d27afb03cbe7ed200ff1ffcc35437e43be SHA512 59ce12c791648049dcaac68c75f9d8af472635442b25c4ba81b37e89d913b5b1954dbc40eac44694e5093008cbc41256ef2a177de1906598bb876ab0ab17d544 WHIRLPOOL 4a63bad3ef116bbc4241874a49fca0b306252f373b537c1121de3fc701f5ceb3f16bda2d5b441f406ad8197070ffd005725767f752dca27445b265e3fb587b34 diff --git a/dev-python/pyro/metadata.xml b/dev-python/pyro/metadata.xml new file mode 100644 index 000000000000..47aaae3963b3 --- /dev/null +++ b/dev-python/pyro/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">Pyro</remote-id> + <remote-id type="github">irmen/Pyro4</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pyro/pyro-3.16-r1.ebuild b/dev-python/pyro/pyro-3.16-r1.ebuild new file mode 100644 index 000000000000..4337e724e785 --- /dev/null +++ b/dev-python/pyro/pyro-3.16-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 pypy ) + +inherit distutils-r1 + +MY_PN="Pyro" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Distributed object middleware for Python (RPC)" +HOMEPAGE="http://www.xs4all.nl/~irmen/pyro3/ https://pypi.python.org/pypi/Pyro" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" +IUSE="doc examples" + +DEPEND="!dev-python/pyro:0" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +python_install_all() { + use doc && HTML_DOCS=( docs/. ) + distutils-r1_python_install_all + + if use examples; then + insinto /usr/share/${P} + doins -r examples + fi +} diff --git a/dev-python/pyro/pyro-4.41.ebuild b/dev-python/pyro/pyro-4.41.ebuild new file mode 100644 index 000000000000..b788f9063a01 --- /dev/null +++ b/dev-python/pyro/pyro-4.41.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy ) + +inherit distutils-r1 + +MY_PN="Pyro4" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Distributed object middleware for Python (RPC)" +HOMEPAGE="http://www.xs4all.nl/~irmen/pyro/ https://pypi.python.org/pypi/Pyro4 https://github.com/irmen/Pyro4" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="amd64 ~arm64 ppc x86 ~amd64-linux ~x86-linux" +IUSE="doc examples test" + +RDEPEND=" + !dev-python/pyro:0 + >=dev-python/serpent-1.11[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + )" + +S="${WORKDIR}/${MY_P}" +DISTUTILS_IN_SOURCE_BUILD=1 + +python_prepare_all() { + sed \ + -e '/sys.path.insert/a sys.path.insert(1,"PyroTests")' \ + -i tests/run_testsuite.py || die + + # Disable tests requiring network connection. + sed \ + -e "s/testBCstart/_&/" \ + -e "s/testDaemonPyroObj/_&/" \ + -e "s/testLookupAndRegister/_&/" \ + -e "s/testMulti/_&/" \ + -e "s/testRefuseDottedNames/_&/" \ + -e "s/testResolve/_&/" \ + -e "s/testBCLookup/_&/" \ + -i tests/PyroTests/test_naming.py || die + sed \ + -e "s/testOwnloopBasics/_&/" \ + -e "s/testStartNSfunc/_&/" \ + -i tests/PyroTests/test_naming2.py || die + + sed \ + -e "s/testServerConnections/_&/" \ + -e "s/testServerParallelism/_&/" \ + -i tests/PyroTests/test_server.py || die + + sed \ + -e "s/testBroadcast/_&/" \ + -e "s/testGetIP/_&/" \ + -e "s/testGetIpVersion[46]/_&/" \ + -i tests/PyroTests/test_socket.py || die + distutils-r1_python_prepare_all +} + +python_test() { + cd "${S}"/tests || die + ${PYTHON} -E run_testsuite.py || die +} + +python_install_all() { + use doc && HTML_DOCS=( docs/. ) + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/pyro/pyro-4.56.ebuild b/dev-python/pyro/pyro-4.56.ebuild new file mode 100644 index 000000000000..60026395443a --- /dev/null +++ b/dev-python/pyro/pyro-4.56.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5,6} pypy ) + +inherit distutils-r1 + +MY_PN="Pyro4" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Distributed object middleware for Python (RPC)" +HOMEPAGE="http://www.xs4all.nl/~irmen/pyro/ https://pypi.python.org/pypi/Pyro4 https://github.com/irmen/Pyro4" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64 ~arm64 ~ppc ~x86" +IUSE="doc examples test" + +RDEPEND=" + !dev-python/pyro:0 + $(python_gen_cond_dep \ + 'dev-python/selectors34[${PYTHON_USEDEP}]' python{2_7,3_3}) + >=dev-python/serpent-1.19[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/dill[${PYTHON_USEDEP}] + >=dev-python/msgpack-0.4.6[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + )" + +S="${WORKDIR}/${MY_P}" + +python_prepare_all() { + sed \ + -e '/sys.path.insert/a sys.path.insert(1,"PyroTests")' \ + -i tests/run_testsuite.py || die + + # Disable tests requiring network connection. + rm tests/PyroTests/test_naming.py || die + sed \ + -e "s/testOwnloopBasics/_&/" \ + -e "s/testStartNSfunc/_&/" \ + -i tests/PyroTests/test_naming2.py || die + + sed \ + -e "s/testServerConnections/_&/" \ + -e "s/testServerParallelism/_&/" \ + -i tests/PyroTests/test_server.py || die + + sed \ + -e "s/testBroadcast/_&/" \ + -e "s/testGetIP/_&/" \ + -e "s/testGetIpVersion[46]/_&/" \ + -i tests/PyroTests/test_socket.py || die + distutils-r1_python_prepare_all +} + +python_test() { + pushd "${S}"/tests >/dev/null || die + PYTHONPATH=../src ${PYTHON} run_testsuite.py || die + popd >/dev/null || die +} + +python_install_all() { + use doc && HTML_DOCS=( docs/. ) + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + distutils-r1_python_install_all +} |