commit: e085892bc2cf546a539eaddd7dd158529a652de9
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 28 05:59:17 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 28 06:38:12 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e085892b
dev-python/blessed: Bump to 1.31.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/blessed/Manifest | 1 +
dev-python/blessed/blessed-1.31.0.ebuild | 52 ++++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/dev-python/blessed/Manifest b/dev-python/blessed/Manifest
index a99acf4fd8fd..7b7544103247 100644
--- a/dev-python/blessed/Manifest
+++ b/dev-python/blessed/Manifest
@@ -4,3 +4,4 @@ DIST blessed-1.27.0.tar.gz 6761573 BLAKE2B
1549bc7e327cdd445d1c70033e637dbdb35bb
DIST blessed-1.28.0.tar.gz 13950742 BLAKE2B
585b3db3a388db79f30d262187bacd983a6c5b48a19579c5598ec8296ef4443200e1b996dec7aa2df1dfcefc416ba2fee92be178c2f11f85fae9e194666d8888
SHA512
4772e917e2164120867e9ce454ae7bf9b31f90e85367ae5b1c737cb4656cd1c57bf4cf7501223d4306493ba5d03ab73d9c195803865dc33da7366a46b30d3d09
DIST blessed-1.29.0.tar.gz 13950929 BLAKE2B
c1b6bbf71ad75f95c566b99bcf83aaa4cd9eb543f97f5dd6b0787ddf63ddcfc6fb1ed78cbf0ff983f36e21977d3a2e999256feba18dac2171be6a7cc2e00bf00
SHA512
943648d9ae52aedb24e6af4f36ea603db836e4b7755935eb04bdeb6ae2c3633551b1f9b30186b5dbff710f6d521eb36904f3c916e72f56f6771d787a7e269431
DIST blessed-1.30.0.tar.gz 13948932 BLAKE2B
4e8411ba7e032f882763e92cf2043d222a0d7299a028a186dc5bf4857717f9456bc8744d7a2a756c721452272aaabb22c0b480f3a2d674026f5aeef872b0c1a6
SHA512
425faf1ecf1ede489774944694754d59d1c4f234f32d4c5bd3afe604acc7ef52077774d39247c08d72548f0b951ea7646dbd41f288ddf34b154d7ccc120d2107
+DIST blessed-1.31.0.tar.gz 13977216 BLAKE2B
59fa4c742d5496836aac63bcb4319c70a1293ce11756d72805c6307b94e2b852236f4d0cdc20bad13f51a6424afdf06b3018ae69ff384c66279676bae58213f4
SHA512
a04571dcc84347488834c44c64bec3e989e0a67e78f7c795d1ae7b252e9f1d2d4795c96ff13c82bfe80b099ec97e071a0a30a7b7737a3f2a72b6e38ea3aa4c40
diff --git a/dev-python/blessed/blessed-1.31.0.ebuild
b/dev-python/blessed/blessed-1.31.0.ebuild
new file mode 100644
index 000000000000..611a04114564
--- /dev/null
+++ b/dev-python/blessed/blessed-1.31.0.ebuild
@@ -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.6[${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="
+}