diff options
author | 2024-01-03 20:42:41 +0200 | |
---|---|---|
committer | 2024-01-03 20:46:41 +0200 | |
commit | 699174b0237f974e6ddacd00c7015bc18bc424bf (patch) | |
tree | b1ec9a061ad8a10cb0317284c6e557a723a54e93 /dev-python/urwid | |
parent | dev-python/hvac: add 2.1.0 (diff) | |
download | gentoo-699174b0237f974e6ddacd00c7015bc18bc424bf.tar.gz gentoo-699174b0237f974e6ddacd00c7015bc18bc424bf.tar.bz2 gentoo-699174b0237f974e6ddacd00c7015bc18bc424bf.zip |
dev-python/urwid: add 2.4.1
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/urwid')
-rw-r--r-- | dev-python/urwid/Manifest | 1 | ||||
-rw-r--r-- | dev-python/urwid/urwid-2.4.1.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/urwid/Manifest b/dev-python/urwid/Manifest index 73f8a3d57b72..030b052e21c7 100644 --- a/dev-python/urwid/Manifest +++ b/dev-python/urwid/Manifest @@ -1 +1,2 @@ DIST urwid-2.3.4.tar.gz 678305 BLAKE2B 1b0de4ae4a18751275de968da9899e934277d8f9ac24cd1363ec9bbef48492f5fc6e00785c75447c8eddba2952fb37689b1e2b7b74a430590020b3aa77979f16 SHA512 e1ed9357b738975c909f847a2f12292cfad1cf824be9d3818ca0de3d1ca5c992ba89d5cea25888db3a8bb6c73a64b94ecb1df0a19d5af7f7b060bd113f93a8dd +DIST urwid-2.4.1.tar.gz 691240 BLAKE2B 17ae6a0f61206488c8dd59cbdd4a4f4a7ec1d3f8faa41a0d2e445fc6606e85959616ab0021e673f0d87311e4ca0e62d27f96996a8c49a8461b3cf0137e0c28ec SHA512 2a18c3ba67b1381edecbf260088174c05756366f91c069237909bf21e17ea5d795fd9cdf3b918dcc955c85b63888ccd3c41661fcc8edeef3e50369dd302c0b63 diff --git a/dev-python/urwid/urwid-2.4.1.ebuild b/dev-python/urwid/urwid-2.4.1.ebuild new file mode 100644 index 000000000000..7681eb5c7c45 --- /dev/null +++ b/dev-python/urwid/urwid-2.4.1.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" +} |