commit: 88fbec28e33b863ff4d1f3a9f2d253b7ee5ab27d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 24 13:53:56 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar 25 17:18:49 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88fbec28
dev-python/sphinx_ansible_theme: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../sphinx_ansible_theme/sphinx_ansible_theme-0.10.1.ebuild | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.10.1.ebuild
b/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.10.1.ebuild
index e23c9a24240a..7e1d1fe92dff 100644
--- a/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.10.1.ebuild
+++ b/dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.10.1.ebuild
@@ -4,20 +4,17 @@
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/
https://pypi.org/project/sphinx-ansible-theme/
"
-SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"