summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-24 14:53:26 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-25 18:18:22 +0100
commit2421dd0fb6a7e43c0a08ca0b0409a068f559a493 (patch)
tree45301aa36ed1b27590cee0134e75b64add24814b /dev-python/automat
parentapp-shells/powerline: Use pypi.eclass (diff)
downloadgentoo-2421dd0fb6a7e43c0a08ca0b0409a068f559a493.tar.gz
gentoo-2421dd0fb6a7e43c0a08ca0b0409a068f559a493.tar.bz2
gentoo-2421dd0fb6a7e43c0a08ca0b0409a068f559a493.zip
dev-python/automat: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/automat')
-rw-r--r--dev-python/automat/automat-22.10.0.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-python/automat/automat-22.10.0.ebuild b/dev-python/automat/automat-22.10.0.ebuild
index 30899b251834..d5b7257c2c47 100644
--- a/dev-python/automat/automat-22.10.0.ebuild
+++ b/dev-python/automat/automat-22.10.0.ebuild
@@ -4,18 +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
-MY_P=${P^}
DESCRIPTION="Self-service finite-state machines for the programmer on the go"
HOMEPAGE="
https://github.com/glyph/automat/
https://pypi.org/project/Automat/
"
-SRC_URI="mirror://pypi/${MY_P::1}/${PN^}/${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"