diff options
author | Aisha Tammy <gentoo@aisha.cc> | 2020-10-16 15:05:00 +0000 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2020-11-09 22:01:46 +0800 |
commit | df9570f0e458c9013a2103630b473c0f7186628c (patch) | |
tree | 591886753c4139dcf6cec36547756124a58b1db9 /dev-python/pyaml | |
parent | dev-python/scikit-image: version bump to 0.17.2 (diff) | |
download | gentoo-df9570f0e458c9013a2103630b473c0f7186628c.tar.gz gentoo-df9570f0e458c9013a2103630b473c0f7186628c.tar.bz2 gentoo-df9570f0e458c9013a2103630b473c0f7186628c.zip |
dev-python/pyaml: yaml readable serializer
dependency for dev-python/scikit-optimize
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'dev-python/pyaml')
-rw-r--r-- | dev-python/pyaml/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyaml/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/pyaml/pyaml-20.4.0.ebuild | 24 |
3 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/pyaml/Manifest b/dev-python/pyaml/Manifest new file mode 100644 index 000000000000..32b92a644034 --- /dev/null +++ b/dev-python/pyaml/Manifest @@ -0,0 +1 @@ +DIST pyaml-20.4.0.tar.gz 21176 BLAKE2B 0aac0250d610d7b2ef042e251142de4520e7db96073d46bde0dcb37ad43d9c278cbdfc7ab247b4d41c7c30e893306aa47b25a584a2aa4c157d66203b8e140895 SHA512 432fd215e034beafc07270a6aa8b726d5a16ef8946a95c1db9a34b4f492bbe2089dffbb1ce856d3e8153ec18ac943973a23e3aa9283d53ee0b2e7ba5dcd3d317 diff --git a/dev-python/pyaml/metadata.xml b/dev-python/pyaml/metadata.xml new file mode 100644 index 000000000000..483185512673 --- /dev/null +++ b/dev-python/pyaml/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gentoo@aisha.cc</email> + <name>Aisha Tammy</name> + </maintainer> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> +</pkgmetadata> diff --git a/dev-python/pyaml/pyaml-20.4.0.ebuild b/dev-python/pyaml/pyaml-20.4.0.ebuild new file mode 100644 index 000000000000..e958c5ef424c --- /dev/null +++ b/dev-python/pyaml/pyaml-20.4.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) +inherit distutils-r1 + +DESCRIPTION="pretty and readable YAML-serialized data generator" +HOMEPAGE="https://github.com/mk-fg/pretty-yaml" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}] +" + +python_test() { + ${EPYTHON} pyaml/tests/dump.py || die "tests failed with ${EPYTHON}" +} |