diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-11-03 06:02:58 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-11-03 06:30:38 +0100 |
| commit | 8d7eb6c8ab2107564c47955d804707e09765a62d (patch) | |
| tree | 52d0523d90ec6e67f65c9dfda9656f03a1d30949 /dev-python | |
| parent | 41b349fdfb93f145e3c0d6dcce219fd9ead6aca6 (diff) | |
| download | gentoo-8d7eb6c8ab2107564c47955d804707e09765a62d.tar.gz gentoo-8d7eb6c8ab2107564c47955d804707e09765a62d.tar.bz2 gentoo-8d7eb6c8ab2107564c47955d804707e09765a62d.zip | |
dev-python/blessed: Bump to 1.23.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/blessed/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/blessed/blessed-1.23.0.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/blessed/Manifest b/dev-python/blessed/Manifest index f79feac0eed2..6936deb53803 100644 --- a/dev-python/blessed/Manifest +++ b/dev-python/blessed/Manifest @@ -1 +1,2 @@ DIST blessed-1.22.0.tar.gz 6660050 BLAKE2B 7831755658fdd76521bde748184837889167333cdad4c552e12e3809af37c390f7d066d2cab284e20b7c01a62d768eecd92ee976ea44b0ced81225ac5afa2902 SHA512 0bdb10332420ab078151790b4b090d4d8703659ce34cdf9465dc160feb03b51eed49c4f5226b29e9290918ba5a4311626efe18028717f454e3b73e7f6bad9695 +DIST blessed-1.23.0.tar.gz 6745236 BLAKE2B 4d211d840f964412b62089d96c364409d6ce80e119841b037287f68f667f640aac56ad37dda19ac47bba54053faf26c6c81bab52d01acfa155e2e9738c0a658d SHA512 0b343d4b55df2aaa516e7c0ac41f0bf5ad00bdc282eeace219eb5515fe464770bb1d35fbed9f65705213394e679691c96aa957f93652d6dda6d1958d4074bfda diff --git a/dev-python/blessed/blessed-1.23.0.ebuild b/dev-python/blessed/blessed-1.23.0.ebuild new file mode 100644 index 000000000000..86f2091e4045 --- /dev/null +++ b/dev-python/blessed/blessed-1.23.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2025 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=() +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() { + 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=" +} |
