diff options
| author | Crucible <crucible@localhost> | 2026-10-01 03:10:20 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-10-01 03:10:20 -0500 |
| commit | c387ab5925039957145c01955c824bf9b3c7cafc (patch) | |
| tree | fca94a681608aa58240434283a0a764ce54fb79f /dev-python/urwid/urwid-4.2.3.ebuild | |
| parent | 084d0fe1951530add5e3282a613adf97850dbd58 (diff) | |
| download | srcux-c387ab5925039957145c01955c824bf9b3c7cafc.tar.gz srcux-c387ab5925039957145c01955c824bf9b3c7cafc.tar.xz srcux-c387ab5925039957145c01955c824bf9b3c7cafc.zip | |
Publish srcux candidate 0000000547-20261001-030821
Diffstat (limited to 'dev-python/urwid/urwid-4.2.3.ebuild')
| -rw-r--r-- | dev-python/urwid/urwid-4.2.3.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/urwid/urwid-4.2.3.ebuild b/dev-python/urwid/urwid-4.2.3.ebuild new file mode 100644 index 000000000000..5b61181891fe --- /dev/null +++ b/dev-python/urwid/urwid-4.2.3.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" +} |
