summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-20 09:21:09 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-20 09:25:33 +0200
commit11f8616df2d8fe3d488b46e19b77dfaaf17dfdb8 (patch)
treeee8e861e27e704f61a91f04da79afd67a0befdeb /dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.9.1.ebuild
parentdev-python/sphinx: Use pypi.eclass in older version(s) (diff)
downloadgentoo-11f8616df2d8fe3d488b46e19b77dfaaf17dfdb8.tar.gz
gentoo-11f8616df2d8fe3d488b46e19b77dfaaf17dfdb8.tar.bz2
gentoo-11f8616df2d8fe3d488b46e19b77dfaaf17dfdb8.zip
dev-python/sphinx_ansible_theme: Use pypi.eclass in older version(s)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.9.1.ebuild')
-rw-r--r--dev-python/sphinx_ansible_theme/sphinx_ansible_theme-0.9.1.ebuild8
1 files 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"