summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-20 09:20:12 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-20 09:25:32 +0200
commit879bb5d0a741f494d35aa1b068869c43ac51d369 (patch)
treeed04a8682142cda852e4c10c112e6ccbdae5d538 /dev-python/sphinx
parentdev-python/scikit-build: Remove old (diff)
downloadgentoo-879bb5d0a741f494d35aa1b068869c43ac51d369.tar.gz
gentoo-879bb5d0a741f494d35aa1b068869c43ac51d369.tar.bz2
gentoo-879bb5d0a741f494d35aa1b068869c43ac51d369.zip
dev-python/sphinx: Use pypi.eclass in older version(s)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/sphinx')
-rw-r--r--dev-python/sphinx/sphinx-4.5.0-r1.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-python/sphinx/sphinx-4.5.0-r1.ebuild b/dev-python/sphinx/sphinx-4.5.0-r1.ebuild
index 97e87fe600ad..0d56f2330c9b 100644
--- a/dev-python/sphinx/sphinx-4.5.0-r1.ebuild
+++ b/dev-python/sphinx/sphinx-4.5.0-r1.ebuild
@@ -4,16 +4,16 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=${PN^}
PYTHON_COMPAT=( python3_{9..11} pypy3 )
PYTHON_REQ_USE="threads(+)"
-inherit distutils-r1
+inherit distutils-r1 pypi
DESCRIPTION="Python documentation generator"
HOMEPAGE="https://www.sphinx-doc.org/
https://github.com/sphinx-doc/sphinx"
-SRC_URI="mirror://pypi/S/${PN^}/${P^}.tar.gz"
-S=${WORKDIR}/${P^}
LICENSE="BSD"
SLOT="0"