Files
gentoo/dev-python/Pyro5/Pyro5-5.15-r1.ebuild
Michał Górny f30b2f058b dev-python/Pyro5: Keyword 5.15-r1 arm64, #917827
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-11-23 19:50:59 +01:00

44 lines
877 B
Bash

# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_REQ_USE="sqlite"
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{10..12} pypy3 )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Distributed object middleware for Python (RPC)"
HOMEPAGE="
https://pyro5.readthedocs.io
https://pypi.org/project/Pyro5/
https://github.com/irmen/Pyro5
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
>=dev-python/serpent-1.40[${PYTHON_USEDEP}]
"
PATCHES=(
"${FILESDIR}"/${P}-fix-test-on-ipv6.patch
)
distutils_enable_tests pytest
distutils_enable_sphinx docs/source \
dev-python/sphinx-rtd-theme
EPYTEST_DESELECT=(
# https://github.com/irmen/Pyro5/issues/83 (pypy3 specific)
tests/test_server.py::TestServerOnce::testRegisterWeak
)
python_test() {
epytest -m 'not network'
}