From c8cc1214c14d1f5931a1ecb986b940d05cf5145b Mon Sep 17 00:00:00 2001 From: Crucible Date: Fri, 2 Oct 2026 03:05:03 -0500 Subject: Publish srcux candidate 0000000551-20261002-030306 --- dev-python/urwid/urwid-4.2.4.ebuild | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 dev-python/urwid/urwid-4.2.4.ebuild (limited to 'dev-python/urwid/urwid-4.2.4.ebuild') 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" +} -- cgit v1.3