commit:     c030f2ce36f7a563c9bbb691f6cddd6b29dfc236
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 22 19:41:07 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov 22 19:46:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c030f2ce

dev-python/Pyro5: Add PYPI_PN prior to rename

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/Pyro5/Pyro5-5.15-r1.ebuild | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/dev-python/Pyro5/Pyro5-5.15-r1.ebuild 
b/dev-python/Pyro5/Pyro5-5.15-r1.ebuild
index 6a65b9fdf96b..2a46b1e14588 100644
--- a/dev-python/Pyro5/Pyro5-5.15-r1.ebuild
+++ b/dev-python/Pyro5/Pyro5-5.15-r1.ebuild
@@ -3,18 +3,19 @@
 
 EAPI=8
 
-PYTHON_REQ_USE="sqlite"
+DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
+PYPI_PN=${PN^}
 PYTHON_COMPAT=( python3_{10..13} pypy3 )
-DISTUTILS_USE_PEP517=setuptools
+PYTHON_REQ_USE="sqlite"
 
 inherit distutils-r1 pypi
 
 DESCRIPTION="Distributed object middleware for Python (RPC)"
 HOMEPAGE="
-       https://pyro5.readthedocs.io
+       https://pyro5.readthedocs.io/
+       https://github.com/irmen/Pyro5/
        https://pypi.org/project/Pyro5/
-       https://github.com/irmen/Pyro5
 "
 
 LICENSE="MIT"
@@ -33,11 +34,11 @@ 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() {
+       local EPYTEST_DESELECT=(
+               # https://github.com/irmen/Pyro5/issues/83 (pypy3 specific)
+               tests/test_server.py::TestServerOnce::testRegisterWeak
+       )
+
        epytest -m 'not network'
 }

Reply via email to