commit: 11f8616df2d8fe3d488b46e19b77dfaaf17dfdb8
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 20 07:21:09 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 20 07:25:33 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11f8616d
dev-python/sphinx_ansible_theme: Use pypi.eclass in older version(s)
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.9.1.ebuild | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.9.1.ebuild
b/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.9.1.ebuild
index 6b2e14dde2ce..e7a356b0bd46 100644
--- a/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.9.1.ebuild
+++ b/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.9.1.ebuild
@@ -4,16 +4,14 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN="sphinx-ansible-theme"
PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
-MY_PN="${PN//_/-}"
-MY_P="${MY_PN}-${PV}"
+inherit distutils-r1 pypi
DESCRIPTION="A reusable Ansible Sphinx theme"
HOMEPAGE="https://github.com/ansible-community/sphinx_ansible_theme"
-SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S="${WORKDIR}"/${MY_P}
LICENSE="MIT"
SLOT="0"