dev-python/colorclass: Bump to 2.2.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-12-09 07:46:23 +01:00
parent 54a1df1a83
commit 4007d1efbc
2 changed files with 36 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST colorclass-2.2.0.gh.tar.gz 486151 BLAKE2B d8f4c9e826cf284df47bf2aac4da71f448818858e2383b331b5bba791d9db3c5c11d5aff74b3eb740e657914137b2b74b217854ab589806a22a0ff6697cbde1c SHA512 c627cdf6abdb5a60e9ecc1fb3b669898edc027fdc3f8cde31be2e10402ee308c2067fcd50d1228759e93fc58c521b7fc12e6b259233a17cf99f55cda26279fed
DIST colorclass-2.2.2.gh.tar.gz 490884 BLAKE2B e03c1a7091c133cea67c595363029121083d9a9d70a27f5803b20bb810b105ea9cb95aa68114ba98526b8a3b0e8365eadd7b375443215a5e0b636f0bd4cce632 SHA512 c38b58d4122e794654a8ac71adb2be0fb679eb10bd70c9d8f5dee06b3c978c1530bb3fb8fd6530d88aa35311a46a2590b709e4dcc6e3a81d14b90bf8cb74ebc1

View File

@@ -0,0 +1,35 @@
# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="Colorful worry-free console applications for multiple platforms"
HOMEPAGE="
https://pypi.org/project/colorclass/
https://github.com/matthewdeanmartin/colorclass"
SRC_URI="
https://github.com/matthewdeanmartin/colorclass/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
BDEPEND="
test? (
dev-python/docopt[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest
src_prepare() {
# workaround pp2sp complaining about unsupported exclude,
# even though it's empty (fix will be included in pp2sp-22)
sed -i -e 's:^exclude:empty-&:' pyproject.toml || die
distutils-r1_src_prepare
}