diff options
Diffstat (limited to 'dev-python/colorclass')
-rw-r--r-- | dev-python/colorclass/Manifest | 3 | ||||
-rw-r--r-- | dev-python/colorclass/colorclass-2.2.0.ebuild | 24 | ||||
-rw-r--r-- | dev-python/colorclass/metadata.xml | 7 |
3 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/colorclass/Manifest b/dev-python/colorclass/Manifest new file mode 100644 index 000000000000..36628e7730db --- /dev/null +++ b/dev-python/colorclass/Manifest @@ -0,0 +1,3 @@ +DIST colorclass-2.2.0.gh.tar.gz 486151 BLAKE2B d8f4c9e826cf284df47bf2aac4da71f448818858e2383b331b5bba791d9db3c5c11d5aff74b3eb740e657914137b2b74b217854ab589806a22a0ff6697cbde1c SHA512 c627cdf6abdb5a60e9ecc1fb3b669898edc027fdc3f8cde31be2e10402ee308c2067fcd50d1228759e93fc58c521b7fc12e6b259233a17cf99f55cda26279fed +EBUILD colorclass-2.2.0.ebuild 674 BLAKE2B b858d9f2149e54099abfc32f5a7d52d92a9172c1e1b73d65b6c362ff64f7c4370d5c1d6ac99f52a2fde9a3aa2276f297baf3c46be99ff6fc651a1055e21fe0d6 SHA512 c4615fd717098cde340b8e1dbd595764ba1928e303cfdefe2e73506f1fc260417b63cffcdd64663c745fbdeb92873abdad30fa141107be2e93cc0f67252d83e4 +MISC metadata.xml 218 BLAKE2B 086fdcf7b63ca7bd6c58e861d717bb375e1cd372eff26d5d2eeeb176d8c5e6f10e653562abafb50eae7d7508f8e3d421b87e6a749acd0490308672828d0da697 SHA512 4558fee4c51117e21b1f42ca3edbdf1195ed297db798d6bfa0e5fbb7019654a187422b0abde7af5d800caffed66d1e55e4280e8be602bad591424d9776c46781 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> |