mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/blessed: Bump to 1.22.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST blessed-1.21.0.tar.gz 6660011 BLAKE2B 13e870896b70435fb86c5f4902c13bc13b4001817407da749b8e297ffcf4749bbfcc75a856a536fd47c75ff849f6260ce0a3d51946ce32275a81fa7bfbb91ab3 SHA512 e57b9ede0706875b578b080b6a7cc65c2882b52c5b5b85a13c615f8419618ceae6ded31228784f20504c5204c0b6897a9d7122c45785cd68982772169ee7222f
|
||||
DIST blessed-1.22.0.tar.gz 6660050 BLAKE2B 7831755658fdd76521bde748184837889167333cdad4c552e12e3809af37c390f7d066d2cab284e20b7c01a62d768eecd92ee976ea44b0ced81225ac5afa2902 SHA512 0bdb10332420ab078151790b4b090d4d8703659ce34cdf9465dc160feb03b51eed49c4f5226b29e9290918ba5a4311626efe18028717f454e3b73e7f6bad9695
|
||||
|
||||
47
dev-python/blessed/blessed-1.22.0.ebuild
Normal file
47
dev-python/blessed/blessed-1.22.0.ebuild
Normal file
@@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Library for making terminal apps using colors, keyboard input and positioning"
|
||||
HOMEPAGE="
|
||||
https://github.com/jquast/blessed/
|
||||
https://pypi.org/project/blessed/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/wcwidth[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# Skip those extensions as they don't have a Gentoo package
|
||||
# Remove calls to scripts that generate rst files because they
|
||||
# are not present in the tarball
|
||||
sed -e '/sphinxcontrib.manpage/d' -e '/sphinx_paramlinks/d' \
|
||||
-e '/^for script in/,/runpy.run_path/d' \
|
||||
-i docs/conf.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# COLORTERM must not be truecolor
|
||||
# See https://github.com/jquast/blessed/issues/162
|
||||
local -x COLORTERM=
|
||||
# Ignore coverage options
|
||||
epytest --override-ini="addopts="
|
||||
}
|
||||
Reference in New Issue
Block a user