From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/pretty-yaml/Manifest | 2 ++ dev-python/pretty-yaml/metadata.xml | 14 +++++++++++ dev-python/pretty-yaml/pretty-yaml-15.8.2.ebuild | 32 ++++++++++++++++++++++++ dev-python/pretty-yaml/pretty-yaml-20.4.0.ebuild | 31 +++++++++++++++++++++++ 4 files changed, 79 insertions(+) create mode 100644 dev-python/pretty-yaml/Manifest create mode 100644 dev-python/pretty-yaml/metadata.xml create mode 100644 dev-python/pretty-yaml/pretty-yaml-15.8.2.ebuild create mode 100644 dev-python/pretty-yaml/pretty-yaml-20.4.0.ebuild (limited to 'dev-python/pretty-yaml') diff --git a/dev-python/pretty-yaml/Manifest b/dev-python/pretty-yaml/Manifest new file mode 100644 index 000000000000..f9cb3f79a40b --- /dev/null +++ b/dev-python/pretty-yaml/Manifest @@ -0,0 +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/metadata.xml b/dev-python/pretty-yaml/metadata.xml new file mode 100644 index 000000000000..f743b90142a3 --- /dev/null +++ b/dev-python/pretty-yaml/metadata.xml @@ -0,0 +1,14 @@ + + + + + python@gentoo.org + Python + + + pyaml + mk-fg/pretty-yaml + https://github.com/mk-fg/pretty-yaml/issues + + gentoo-staging + diff --git a/dev-python/pretty-yaml/pretty-yaml-15.8.2.ebuild b/dev-python/pretty-yaml/pretty-yaml-15.8.2.ebuild new file mode 100644 index 000000000000..0a7759c45374 --- /dev/null +++ b/dev-python/pretty-yaml/pretty-yaml-15.8.2.ebuild @@ -0,0 +1,32 @@ +# 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_PN="${PN//retty-}" +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_PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="amd64 arm x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/unidecode[${PYTHON_USEDEP}] + )" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_test() { + "${PYTHON}" pyaml/tests/dump.py || die "tests failed under ${EPYTHON}" +} 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}" +} -- cgit v1.3.1