diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-08-09 09:45:02 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-08-09 09:50:35 +0200 |
commit | e7fe7429e4a00ad7f3a48ad7a1ef68757f825cf9 (patch) | |
tree | 2d1c111907ceacb5b90b65051eaaf4db090b2f4a /dev-python/pretty-yaml | |
parent | dev-python/radon: Bump to 5.1.0 (diff) | |
download | gentoo-e7fe7429e4a00ad7f3a48ad7a1ef68757f825cf9.tar.gz gentoo-e7fe7429e4a00ad7f3a48ad7a1ef68757f825cf9.tar.bz2 gentoo-e7fe7429e4a00ad7f3a48ad7a1ef68757f825cf9.zip |
dev-python/pretty-yaml: Bump to 21.8.3
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-21.8.3.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pretty-yaml/Manifest b/dev-python/pretty-yaml/Manifest index 32b92a644034..8b03cf8cce48 100644 --- a/dev-python/pretty-yaml/Manifest +++ b/dev-python/pretty-yaml/Manifest @@ -1 +1,2 @@ DIST pyaml-20.4.0.tar.gz 21176 BLAKE2B 0aac0250d610d7b2ef042e251142de4520e7db96073d46bde0dcb37ad43d9c278cbdfc7ab247b4d41c7c30e893306aa47b25a584a2aa4c157d66203b8e140895 SHA512 432fd215e034beafc07270a6aa8b726d5a16ef8946a95c1db9a34b4f492bbe2089dffbb1ce856d3e8153ec18ac943973a23e3aa9283d53ee0b2e7ba5dcd3d317 +DIST pyaml-21.8.3.tar.gz 20269 BLAKE2B 8b829ce374efe13007bb924393a8cde26914cc443999906b7bb4db610b614964170a80b8dd381eeaa9137026c60d98140b3b0d601a6af816c32d1ce9708e33be SHA512 69b1181511f7d3ac1263b710fa49b18a162e096e28414d83300bc2e9038222363cef995a0d3248387560e7066973736f9cee06b67042ee957427b4790c269653 diff --git a/dev-python/pretty-yaml/pretty-yaml-21.8.3.ebuild b/dev-python/pretty-yaml/pretty-yaml-21.8.3.ebuild new file mode 100644 index 000000000000..1a6b58996d2e --- /dev/null +++ b/dev-python/pretty-yaml/pretty-yaml-21.8.3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +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 ~arm64 ~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}" +} |