dev-python/blessed: Bump to 1.27.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-01-20 07:46:22 +01:00
parent a23739e546
commit 011a4c1358
2 changed files with 53 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST blessed-1.23.0.tar.gz 6745236 BLAKE2B 4d211d840f964412b62089d96c364409d6ce80e119841b037287f68f667f640aac56ad37dda19ac47bba54053faf26c6c81bab52d01acfa155e2e9738c0a658d SHA512 0b343d4b55df2aaa516e7c0ac41f0bf5ad00bdc282eeace219eb5515fe464770bb1d35fbed9f65705213394e679691c96aa957f93652d6dda6d1958d4074bfda
DIST blessed-1.25.0.tar.gz 6746381 BLAKE2B d729c5963fc388d9672a660719ecafbd995b6b1b38feacd26b6db57a5857846286b6f3d99bf391f008bed28d111918a3cc50e47db30490285b85a032c7f1ebd6 SHA512 28ffc5bb6b84d9ae4019ec74bb6a5144611cdbf72f2aebb1c9776179a018b454e0a5f9a5e771ac3f46cdda4a1c074c18e72aa27ba7fdf6d6bcfda9864ce39264
DIST blessed-1.27.0.tar.gz 6761573 BLAKE2B 1549bc7e327cdd445d1c70033e637dbdb35bb686054e294d8c67422aa61eb44e3c37dc5a3d83e1b4ca920f786401bfa586008945aa70fee3b44c3a8caaaa8d72 SHA512 939262883b367bcae29f9b1f5f750adb5d0c4c7cd4ae7b61d13e00d1e1820384e3b38a5bf7f6694d3682c432ea6a058d6b487eb72c860b93b34093389068238a

View File

@@ -0,0 +1,52 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
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-0.1.4[${PYTHON_USEDEP}]
"
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
EPYTEST_PLUGINS=()
# tests are flaky with xdist
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() {
local EPYTEST_DESELECT=(
# fragile to timing
tests/test_sixel.py::test_sixel_height_and_width_fallback_to_xtwinops
)
# COLORTERM must not be truecolor
# See https://github.com/jquast/blessed/issues/162
local -x COLORTERM=
# Ignore coverage options
epytest --override-ini="addopts="
}