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/colorama/Manifest | 2 ++ dev-python/colorama/colorama-0.4.1.ebuild | 44 +++++++++++++++++++++++++++++ dev-python/colorama/colorama-0.4.3.ebuild | 46 +++++++++++++++++++++++++++++++ dev-python/colorama/metadata.xml | 18 ++++++++++++ 4 files changed, 110 insertions(+) create mode 100644 dev-python/colorama/Manifest create mode 100644 dev-python/colorama/colorama-0.4.1.ebuild create mode 100644 dev-python/colorama/colorama-0.4.3.ebuild create mode 100644 dev-python/colorama/metadata.xml (limited to 'dev-python/colorama') diff --git a/dev-python/colorama/Manifest b/dev-python/colorama/Manifest new file mode 100644 index 000000000000..d3666422db8f --- /dev/null +++ b/dev-python/colorama/Manifest @@ -0,0 +1,2 @@ +DIST colorama-0.4.1.github.tar.gz 104708 BLAKE2B 625c6ff325ff0de8113c5c9abe9dd296eb614b0483a2dce59b163431ec4ef1992073719160143b68e76d3ad77f77b975a110ce19496be1d8f6ee90b3f66b6e7b SHA512 006069859ca05ec8a6808860ca73ab541b246e6e6443b1bc8426973beaa5268660b48994f21edb6492fe97c4b9d29949b874b861ec200b1756d40e8abda8dee0 +DIST colorama-0.4.3.github.tar.gz 107251 BLAKE2B e09e92171b6ea4b3db4801feaf794e9aeb4f2b3e57079907911cbb909167b192eb857f0b404fa45673bee3bc02c122326bd05091846755d7dbfd990a74c60a24 SHA512 ab41a2f95fe75de0b280c174c6166b86645e5cc675dcedf784fe15170aae630e831370527c9490342b77c7d088a023a48428a519b52ad1c70be58904742a94c8 diff --git a/dev-python/colorama/colorama-0.4.1.ebuild b/dev-python/colorama/colorama-0.4.1.ebuild new file mode 100644 index 000000000000..ff35d63367da --- /dev/null +++ b/dev-python/colorama/colorama-0.4.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7,8}} ) + +inherit distutils-r1 + +DESCRIPTION="ANSI escape character sequences for colored terminal text & cursor positioning" +HOMEPAGE=" + https://pypi.org/project/colorama/ + https://github.com/tartley/colorama +" +# https://github.com/tartley/colorama/pull/183 +SRC_URI="https://github.com/tartley/${PN}/archive/${PV}.tar.gz -> ${P}.github.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" +IUSE="examples test" +RESTRICT="!test? ( test )" + +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + docinto examples + dodoc -r demos/. + docompress -x /usr/share/doc/${PF}/examples + fi +} + +python_test() { + # Some tests require stdout to be a TTY + # https://github.com/tartley/colorama/issues/169 + script -eqc "pytest -vv -s" /dev/null \ + || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/colorama/colorama-0.4.3.ebuild b/dev-python/colorama/colorama-0.4.3.ebuild new file mode 100644 index 000000000000..3756d4cce508 --- /dev/null +++ b/dev-python/colorama/colorama-0.4.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python{2_7,3_{6..9}} ) + +inherit distutils-r1 + +DESCRIPTION="ANSI escape character sequences for colored terminal text & cursor positioning" +HOMEPAGE=" + https://pypi.org/project/colorama/ + https://github.com/tartley/colorama +" +# https://github.com/tartley/colorama/pull/183 +SRC_URI="https://github.com/tartley/${PN}/archive/${PV}.tar.gz -> ${P}.github.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" +IUSE="examples test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + docinto examples + dodoc -r demos/. + docompress -x /usr/share/doc/${PF}/examples + fi +} + +python_test() { + # Some tests require stdout to be a TTY + # https://github.com/tartley/colorama/issues/169 + script -eqc "pytest -vv -s" /dev/null \ + || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/colorama/metadata.xml b/dev-python/colorama/metadata.xml new file mode 100644 index 000000000000..f633b659325a --- /dev/null +++ b/dev-python/colorama/metadata.xml @@ -0,0 +1,18 @@ + + + + + prometheanfire@gentoo.org + Matthew Thode + + + python@gentoo.org + Python + + + + colorama + tartley/colorama + + gentoo-staging + -- cgit v1.3