dev-python/Pyro4: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-01-26 21:17:51 +01:00
parent 8bf403ea89
commit 3e6a3328a8
2 changed files with 0 additions and 56 deletions

View File

@@ -1,2 +1 @@
DIST Pyro4-4.81.tar.gz 514678 BLAKE2B ffe9edcb947203b37cf1b13b2380f2b7d76357a5bca36e454fe67f6bd0d34574f5df429dd784ba2c2bc69c0188edd14e4572f12f5c137d87d2898f01ea3e855c SHA512 3848d473acd624ae1356ad3470c669eb0bc30287691ff8b9fc27fb0591ba305812c6be1946d6a2a91377e222a9e114f05ed18170d1b035dec24e436ab8dadc59
DIST Pyro4-4.82.tar.gz 516110 BLAKE2B ecd7b5cf1469896acfec1db92d99784aa316db5cadbb7fc595a5f9916ac705619d070771549fb8ba7379a7395e4449eabcfc84aa131d4b23b587b7467f4bf196 SHA512 f5916ce37ec52d8cd23bece79325480140621ac8412febb4877a32b1ce54502ef17d20bf591dc30eb20e9619741548b30a78165937d5e69e8d1911d95a23b1e1

View File

@@ -1,55 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
DESCRIPTION="Distributed object middleware for Python (RPC)"
HOMEPAGE="https://pypi.org/project/Pyro4/
https://github.com/irmen/Pyro4"
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 ppc x86"
IUSE="doc examples test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/serpent-1.27[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? (
>=dev-python/cloudpickle-1.2.1[${PYTHON_USEDEP}]
dev-python/dill[${PYTHON_USEDEP}]
>=dev-python/msgpack-0.4.6[${PYTHON_USEDEP}]
)"
python_prepare_all() {
# Disable tests requiring network connection.
rm tests/PyroTests/test_naming.py || die
sed \
-e "s/testStartNSfunc/_&/" \
-i tests/PyroTests/test_naming2.py || die
sed \
-e "s/testBroadcast/_&/" \
-e "s/testGetIP/_&/" \
-i tests/PyroTests/test_socket.py || die
distutils-r1_python_prepare_all
}
python_test() {
esetup.py test
}
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
}