diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-06-10 19:37:44 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-06-10 19:38:52 +0200 |
commit | 151bf03e6e6d664f9ac2b9352f9b9f53dd8a0c51 (patch) | |
tree | d56c848d46be82bb1f1d7a8c5decab67d3b3c267 /dev-python/pretty-yaml | |
parent | dev-python/pretty-yaml: Port to py3.9 (diff) | |
download | gentoo-151bf03e6e6d664f9ac2b9352f9b9f53dd8a0c51.tar.gz gentoo-151bf03e6e6d664f9ac2b9352f9b9f53dd8a0c51.tar.bz2 gentoo-151bf03e6e6d664f9ac2b9352f9b9f53dd8a0c51.zip |
dev-python/pretty-yaml: Bump to 20.4.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pretty-yaml')
-rw-r--r-- | dev-python/pretty-yaml/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pretty-yaml/pretty-yaml-20.4.0.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pretty-yaml/Manifest b/dev-python/pretty-yaml/Manifest index 7f457161ff2e..f9cb3f79a40b 100644 --- a/dev-python/pretty-yaml/Manifest +++ b/dev-python/pretty-yaml/Manifest @@ -1 +1,2 @@ DIST pyaml-15.8.2.tar.gz 16544 BLAKE2B 1e9820c172bb0c2e05c78f5dee3299c6bb0d83e2c658f3cd45322abac3404af1c9dd1f3b00e2c7b285cbd00c17d382c82cbb16b96bbac10021a0ca1a008d0287 SHA512 74f1fdacdd601f0b6f710457627e4dcbc42e7301fe5faa061d3e8d593842d6e5dd85041625aba576bba9cda2a713ee07ca3067221a720cbddc6dcd417fccee64 +DIST pyaml-20.4.0.tar.gz 21176 BLAKE2B 0aac0250d610d7b2ef042e251142de4520e7db96073d46bde0dcb37ad43d9c278cbdfc7ab247b4d41c7c30e893306aa47b25a584a2aa4c157d66203b8e140895 SHA512 432fd215e034beafc07270a6aa8b726d5a16ef8946a95c1db9a34b4f492bbe2089dffbb1ce856d3e8153ec18ac943973a23e3aa9283d53ee0b2e7ba5dcd3d317 diff --git a/dev-python/pretty-yaml/pretty-yaml-20.4.0.ebuild b/dev-python/pretty-yaml/pretty-yaml-20.4.0.ebuild new file mode 100644 index 000000000000..9135bdefe03d --- /dev/null +++ b/dev-python/pretty-yaml/pretty-yaml-20.4.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6..9} ) + +inherit distutils-r1 + +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" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/unidecode[${PYTHON_USEDEP}] + )" + +python_test() { + "${EPYTHON}" pyaml/tests/dump.py -v || + die "tests failed under ${EPYTHON}" +} |