summaryrefslogtreecommitdiff
path: root/dev-python/urwid/urwid-4.2.4.ebuild
diff options
context:
space:
mode:
authorCrucible <crucible@localhost>2026-10-02 03:05:03 -0500
committerCrucible <crucible@localhost>2026-10-02 03:05:03 -0500
commitc8cc1214c14d1f5931a1ecb986b940d05cf5145b (patch)
tree688b35f9bd1276715e07d46cf77cc778f6435ee5 /dev-python/urwid/urwid-4.2.4.ebuild
parentc387ab5925039957145c01955c824bf9b3c7cafc (diff)
downloadsrcux-c8cc1214c14d1f5931a1ecb986b940d05cf5145b.tar.gz
srcux-c8cc1214c14d1f5931a1ecb986b940d05cf5145b.tar.xz
srcux-c8cc1214c14d1f5931a1ecb986b940d05cf5145b.zip
Publish srcux candidate 0000000551-20261002-030306
Diffstat (limited to 'dev-python/urwid/urwid-4.2.4.ebuild')
-rw-r--r--dev-python/urwid/urwid-4.2.4.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/urwid/urwid-4.2.4.ebuild b/dev-python/urwid/urwid-4.2.4.ebuild
new file mode 100644
index 000000000000..5b61181891fe
--- /dev/null
+++ b/dev-python/urwid/urwid-4.2.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_VERIFY_REPO=https://github.com/urwid/urwid
+PYTHON_COMPAT=( python3_{13..14} )
+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 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+ dev-python/typing-extensions[${PYTHON_USEDEP}]
+ >=dev-python/wcwidth-0.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ sed -i -e 's:--cov --cov-report=term::' pyproject.toml || die
+}
+
+pkg_postinst() {
+ optfeature "Trio event loop" "dev-python/trio"
+}