summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-01 16:21:17 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-05 06:10:34 +0100
commitf01d61ce0ecfd855b3c3e3f532f64bfb9ed95e01 (patch)
tree975098d8890734bbabdeadc5aa3b70cb5fc84d8b /dev-python/markups/markups-4.0.0.ebuild
parentdev-python/Faker: Use pypi.eclass (diff)
downloadgentoo-f01d61ce0ecfd855b3c3e3f532f64bfb9ed95e01.tar.gz
gentoo-f01d61ce0ecfd855b3c3e3f532f64bfb9ed95e01.tar.bz2
gentoo-f01d61ce0ecfd855b3c3e3f532f64bfb9ed95e01.zip
dev-python/markups: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/markups/markups-4.0.0.ebuild')
-rw-r--r--dev-python/markups/markups-4.0.0.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-python/markups/markups-4.0.0.ebuild b/dev-python/markups/markups-4.0.0.ebuild
index ebc63113662d..5a364ea4a6d9 100644
--- a/dev-python/markups/markups-4.0.0.ebuild
+++ b/dev-python/markups/markups-4.0.0.ebuild
@@ -6,17 +6,16 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..10} )
-inherit distutils-r1
+inherit distutils-r1 pypi
-MY_P=${P^}
DESCRIPTION="A wrapper around various text markups"
HOMEPAGE="
https://pymarkups.readthedocs.io/en/latest/
https://github.com/retext-project/pymarkups
https://pypi.org/project/Markups/
"
-SRC_URI="mirror://pypi/${MY_P:0:1}/${PN^}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
+SRC_URI="$(pypi_sdist_url "${PN^}")"
+S=${WORKDIR}/${P^}
LICENSE="BSD"
SLOT="0"