diff options
| author | Crucible <crucible@localhost> | 2026-10-05 20:15:34 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-10-05 20:15:34 -0500 |
| commit | 0ec94c3dc8d7a7ce5a857085e8039d80dbb1fb93 (patch) | |
| tree | 712bba14b1c4791c27e4a1b21bbb7b4637c70bbd /dev-python/urwid/urwid-4.2.5.ebuild | |
| parent | 5c02f4f10cf4865b1f5d2fc82a62c9292351d08d (diff) | |
| download | srcux-0ec94c3dc8d7a7ce5a857085e8039d80dbb1fb93.tar.gz srcux-0ec94c3dc8d7a7ce5a857085e8039d80dbb1fb93.tar.xz srcux-0ec94c3dc8d7a7ce5a857085e8039d80dbb1fb93.zip | |
Publish srcux candidate 0000000571-20261005-201336
Diffstat (limited to 'dev-python/urwid/urwid-4.2.5.ebuild')
| -rw-r--r-- | dev-python/urwid/urwid-4.2.5.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/urwid/urwid-4.2.5.ebuild b/dev-python/urwid/urwid-4.2.5.ebuild new file mode 100644 index 000000000000..e9396e9ea561 --- /dev/null +++ b/dev-python/urwid/urwid-4.2.5.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.9.2[${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" +} |
