mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 04:23:16 -04:00
dev-python/Pyro5: disable failing test
It looks harmelss and it is pypy3 specific. Informed upstream. Require python[sqlite]. Closes: https://bugs.gentoo.org/915997 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
40
dev-python/Pyro5/Pyro5-5.15-r1.ebuild
Normal file
40
dev-python/Pyro5/Pyro5-5.15-r1.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
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
|
||||
"
|
||||
SRC_URI="$(pypi_sdist_url --no-normalize "${PN^}" "${PV}")"
|
||||
S=${WORKDIR}/${P^}
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/serpent-1.40[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs/source \
|
||||
dev-python/sphinx-rtd-theme
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
tests/test_socketutil.py::TestSocketutil::testGetInterface # https://github.com/irmen/Pyro5/issues/82
|
||||
tests/test_server.py::TestServerOnce::testRegisterWeak # https://github.com/irmen/Pyro5/issues/83 (pypy3 specific)
|
||||
)
|
||||
|
||||
python_test() {
|
||||
epytest -m 'not network'
|
||||
}
|
||||
Reference in New Issue
Block a user