summaryrefslogtreecommitdiff
path: root/dev-python/pretty-yaml/pretty-yaml-21.10.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pretty-yaml/pretty-yaml-21.10.1.ebuild')
-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"