summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-20 09:06:29 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-20 09:15:08 +0200
commit84b197b5d9d3ff54d1f26ba7180bec960ec1e996 (patch)
treec3ccb9243dae7e8a07ff2ca95dfcd608625ee9df
parentdev-python/jupyterlab: Remove old (diff)
downloadgentoo-84b197b5d9d3ff54d1f26ba7180bec960ec1e996.tar.gz
gentoo-84b197b5d9d3ff54d1f26ba7180bec960ec1e996.tar.bz2
gentoo-84b197b5d9d3ff54d1f26ba7180bec960ec1e996.zip
dev-python/markdown: Use pypi.eclass in older version(s)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/markdown/markdown-3.3.7.ebuild7
-rw-r--r--dev-python/markdown/markdown-3.4.1.ebuild7
2 files changed, 7 insertions, 7 deletions
diff --git a/dev-python/markdown/markdown-3.3.7.ebuild b/dev-python/markdown/markdown-3.3.7.ebuild
index 8eac151196e6..3492db596534 100644
--- a/dev-python/markdown/markdown-3.3.7.ebuild
+++ b/dev-python/markdown/markdown-3.3.7.ebuild
@@ -4,16 +4,17 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=${PN^}
PYTHON_COMPAT=( python3_{9..11} pypy3 )
-inherit distutils-r1
+
+inherit distutils-r1 pypi
DESCRIPTION="Python implementation of the markdown markup language"
HOMEPAGE="
https://python-markdown.github.io/
https://pypi.org/project/Markdown/
https://github.com/Python-Markdown/markdown"
-SRC_URI="mirror://pypi/M/${PN^}/${P^}.tar.gz"
-S="${WORKDIR}/${P^}"
LICENSE="BSD"
SLOT="0"
diff --git a/dev-python/markdown/markdown-3.4.1.ebuild b/dev-python/markdown/markdown-3.4.1.ebuild
index f4bf4a2ca9a3..9ed85ab27aa1 100644
--- a/dev-python/markdown/markdown-3.4.1.ebuild
+++ b/dev-python/markdown/markdown-3.4.1.ebuild
@@ -4,19 +4,18 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=${PN^}
PYTHON_COMPAT=( python3_{9..11} pypy3 )
-inherit distutils-r1
+inherit distutils-r1 pypi
-MY_P=${P^}
DESCRIPTION="Python implementation of the markdown markup language"
HOMEPAGE="
https://python-markdown.github.io/
https://pypi.org/project/Markdown/
https://github.com/Python-Markdown/markdown/
"
-SRC_URI="mirror://pypi/${MY_P::1}/${PN^}/${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
LICENSE="BSD"
SLOT="0"