commit: 5e4d2029bdf220cd9bc964a34b726c7055214bc6 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Jan 12 04:53:59 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Jan 12 04:53:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e4d2029
dev-python/urwid: Bump to 2.4.2 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/urwid/Manifest | 1 + dev-python/urwid/urwid-2.4.2.ebuild | 39 +++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-python/urwid/Manifest b/dev-python/urwid/Manifest index 030b052e21c7..8a7f582a79d4 100644 --- a/dev-python/urwid/Manifest +++ b/dev-python/urwid/Manifest @@ -1,2 +1,3 @@ DIST urwid-2.3.4.tar.gz 678305 BLAKE2B 1b0de4ae4a18751275de968da9899e934277d8f9ac24cd1363ec9bbef48492f5fc6e00785c75447c8eddba2952fb37689b1e2b7b74a430590020b3aa77979f16 SHA512 e1ed9357b738975c909f847a2f12292cfad1cf824be9d3818ca0de3d1ca5c992ba89d5cea25888db3a8bb6c73a64b94ecb1df0a19d5af7f7b060bd113f93a8dd DIST urwid-2.4.1.tar.gz 691240 BLAKE2B 17ae6a0f61206488c8dd59cbdd4a4f4a7ec1d3f8faa41a0d2e445fc6606e85959616ab0021e673f0d87311e4ca0e62d27f96996a8c49a8461b3cf0137e0c28ec SHA512 2a18c3ba67b1381edecbf260088174c05756366f91c069237909bf21e17ea5d795fd9cdf3b918dcc955c85b63888ccd3c41661fcc8edeef3e50369dd302c0b63 +DIST urwid-2.4.2.tar.gz 782733 BLAKE2B 9b8f179932651609d0bfe324427d04e7eb68c5d8832dfbb791bd0e07af031551c1c195e991f892fdc51135dc313e3d0975f6fd52351ecc0cc76d9078a7972cd1 SHA512 839ee50915f784349b8ae7be1ec9538a6d0aa2317a747d36e30409ac2754b42bca98f282e4ce9bb7bbb3ba18c2d199dab6c54dabd689b07f02a779da47a23af2 diff --git a/dev-python/urwid/urwid-2.4.2.ebuild b/dev-python/urwid/urwid-2.4.2.ebuild new file mode 100644 index 000000000000..7681eb5c7c45 --- /dev/null +++ b/dev-python/urwid/urwid-2.4.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="ncurses" + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Curses-based user interface library for Python" +HOMEPAGE=" + https://urwid.org/ + https://pypi.org/project/urwid/ + https://github.com/urwid/urwid/ +" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +distutils_enable_tests unittest + +python_test() { + rm -rf urwid || die + eunittest +} + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "Trio event loop" "dev-python/trio" +}