diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-07-07 14:06:33 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-07-07 14:06:33 +0200 |
commit | 2634bc20f52d7985422da6d48b3151c3a1f47f3f (patch) | |
tree | 5f14ea1b4e1d8dc7389188126c888d04506306b0 /dev-python/colorclass | |
parent | dev-python/backports-csv: Bump to 1.0.7, add tests (diff) | |
download | gentoo-2634bc20f52d7985422da6d48b3151c3a1f47f3f.tar.gz gentoo-2634bc20f52d7985422da6d48b3151c3a1f47f3f.tar.bz2 gentoo-2634bc20f52d7985422da6d48b3151c3a1f47f3f.zip |
dev-python/colorclass: New package, test-dep of tabulate & others
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/colorclass')
-rw-r--r-- | dev-python/colorclass/Manifest | 1 | ||||
-rw-r--r-- | dev-python/colorclass/colorclass-2.2.0.ebuild | 24 | ||||
-rw-r--r-- | dev-python/colorclass/metadata.xml | 7 |
3 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/colorclass/Manifest b/dev-python/colorclass/Manifest new file mode 100644 index 000000000000..eb298177c197 --- /dev/null +++ b/dev-python/colorclass/Manifest @@ -0,0 +1 @@ +DIST colorclass-2.2.0.gh.tar.gz 486151 BLAKE2B d8f4c9e826cf284df47bf2aac4da71f448818858e2383b331b5bba791d9db3c5c11d5aff74b3eb740e657914137b2b74b217854ab589806a22a0ff6697cbde1c SHA512 c627cdf6abdb5a60e9ecc1fb3b669898edc027fdc3f8cde31be2e10402ee308c2067fcd50d1228759e93fc58c521b7fc12e6b259233a17cf99f55cda26279fed diff --git a/dev-python/colorclass/colorclass-2.2.0.ebuild b/dev-python/colorclass/colorclass-2.2.0.ebuild new file mode 100644 index 000000000000..3a2e9a69f58a --- /dev/null +++ b/dev-python/colorclass/colorclass-2.2.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) +inherit distutils-r1 + +DESCRIPTION="Colorful worry-free console applications for multiple platforms" +HOMEPAGE="https://pypi.org/project/colorclass/ https://github.com/Robpol86/colorclass" +SRC_URI="https://github.com/Robpol86/colorclass/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + pytest -vv || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/colorclass/metadata.xml b/dev-python/colorclass/metadata.xml new file mode 100644 index 000000000000..266e3f19ca59 --- /dev/null +++ b/dev-python/colorclass/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> +</pkgmetadata> |