summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-24 14:53:41 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-25 18:18:36 +0100
commit4454a8fb7361dd81c0e4ee6e0516512be31fb28a (patch)
tree903d022fb64ed6ca2cdd5dcf0bc76fd7be722a6c /dev-python/pretty-yaml
parentdev-python/pmw: Use pypi.eclass (diff)
downloadgentoo-4454a8fb7361dd81c0e4ee6e0516512be31fb28a.tar.gz
gentoo-4454a8fb7361dd81c0e4ee6e0516512be31fb28a.tar.bz2
gentoo-4454a8fb7361dd81c0e4ee6e0516512be31fb28a.zip
dev-python/pretty-yaml: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pretty-yaml')
-rw-r--r--dev-python/pretty-yaml/pretty-yaml-21.10.1.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-python/pretty-yaml/pretty-yaml-21.10.1.ebuild b/dev-python/pretty-yaml/pretty-yaml-21.10.1.ebuild
index 7c611e28e084..ad36eef3de6a 100644
--- a/dev-python/pretty-yaml/pretty-yaml-21.10.1.ebuild
+++ b/dev-python/pretty-yaml/pretty-yaml-21.10.1.ebuild
@@ -4,13 +4,12 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
+PYPI_PN="pyaml"
+
+inherit distutils-r1 pypi
-MY_P=pyaml-${PV}
DESCRIPTION="PyYAML-based module to produce pretty and readable YAML-serialized data"
HOMEPAGE="https://github.com/mk-fg/pretty-yaml"
-SRC_URI="mirror://pypi/${PN:0:1}/${MY_P%-*}/${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
LICENSE="WTFPL-2"
SLOT="0"