dev-python/colored: add 2.2.4, drop 1.4.2 1.4.3

Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
Henri Gasc
2024-04-12 22:08:50 +02:00
parent 9b43c3d87b
commit 8eb0438772
3 changed files with 10 additions and 36 deletions

View File

@@ -1,2 +1 @@
DIST colored-1.4.2.tar.gz 23973 BLAKE2B 3f6d91c08634d6e6616f968b7e06d0d7822a15d02e7129fab6fb4d3a4cb9ca166fd0de5cf3240fdf76918d09aab28224459d332821994730b4070dd7d4336b7e SHA512 31b604baf41d054a3b269e843393c63ede3be279331108ce1127ee30e63f19365c45f63744a5c3bdb5c355716138b7d1768e761ead456c480d5ae1183952a406
DIST colored-1.4.3.tar.gz 24324 BLAKE2B 8924029b06571053a450d1beebe12fb7318d813bcd273b816c88d2f9186e66f12ebdaee631680dbe17348141faf8d80e551c6446a5bd3cb9c09eb09131058571 SHA512 e6f8047a210f38e5fc84e4e24870810ab34eed2bc9003e5f777c3f6de007c3cf61a89bf75e275f3ebfa8fb63420925b41502498534516c464c92ba3949d2f4eb
DIST colored-2.2.4.tar.bz2 18246 BLAKE2B 0895ad4c0851af77526309d991f0271d1837087ecf1562031fdd391fa820e6973155ce5b9be66c527855331f25195ef327508bcfbba5bc5bb31d9a5b0c13d30f SHA512 4ae77b2b72d06c9da3dfe232cc4eac2414c350d8b19905005f1f0d31b208238b1462f59468d89860fb2c4617e47c81b48f0780a22969dc2ee83c90ffd2dd5431

View File

@@ -1,24 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_10 pypy3 )
inherit distutils-r1
EGIT_REPO_URI="https://gitlab.com/dslackw/${PN}"
DESCRIPTION="Very simple Python library for color and formatting in terminal"
HOMEPAGE="https://gitlab.com/dslackw/colored"
SRC_URI="https://gitlab.com/dslackw/${PN}/-/archive/${PV}/${P}.tar.gz"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86"
SLOT="0"
DOCS=( CHANGES.md README.rst docs )
python_test() {
"${EPYTHON}" tests/test_hex_1.py || die
"${EPYTHON}" tests/test_hex_2.py || die
}

View File

@@ -1,24 +1,23 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_10 pypy3 )
inherit distutils-r1
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{10..12} pypy3 )
EGIT_REPO_URI="https://gitlab.com/dslackw/${PN}"
inherit distutils-r1
DESCRIPTION="Very simple Python library for color and formatting in terminal"
HOMEPAGE="https://gitlab.com/dslackw/colored"
SRC_URI="https://gitlab.com/dslackw/${PN}/-/archive/${PV}/${P}.tar.gz"
SRC_URI="https://gitlab.com/dslackw/${PN}/-/archive/${PV}/${P}.tar.bz2"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DOCS=( CHANGES.md README.rst docs )
python_test() {
"${EPYTHON}" tests/test_hex_1.py || die
"${EPYTHON}" tests/test_hex_2.py || die
}
# Until we find a way to set colored as unaware of TTY, we should not test as
# half of them fail, see https://gitlab.com/dslackw/colored/-/issues/32
# distutils_enable_tests pytest