summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-24 14:53:36 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-25 18:18:32 +0100
commitbe82f0b41bf622679eca985c7ad8f0eb012e6088 (patch)
tree08ca284462a242ee34e69aa1228c953c8fdbc90a /dev-python/mako
parentdev-python/m2crypto: Use pypi.eclass (diff)
downloadgentoo-be82f0b41bf622679eca985c7ad8f0eb012e6088.tar.gz
gentoo-be82f0b41bf622679eca985c7ad8f0eb012e6088.tar.bz2
gentoo-be82f0b41bf622679eca985c7ad8f0eb012e6088.zip
dev-python/mako: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/mako')
-rw-r--r--dev-python/mako/mako-1.2.4.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-python/mako/mako-1.2.4.ebuild b/dev-python/mako/mako-1.2.4.ebuild
index 59fd5c13e3f0..b844ac3bd638 100644
--- a/dev-python/mako/mako-1.2.4.ebuild
+++ b/dev-python/mako/mako-1.2.4.ebuild
@@ -4,19 +4,18 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYPI_PN=${PN^}
PYTHON_COMPAT=( pypy3 python3_{9..11} )
-inherit distutils-r1
+inherit distutils-r1 pypi
-MY_P=${P^}
DESCRIPTION="A Python templating language"
HOMEPAGE="
https://www.makotemplates.org/
https://github.com/sqlalchemy/mako/
https://pypi.org/project/Mako/
"
-SRC_URI="mirror://pypi/${MY_P:0:1}/${PN^}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0"