diff options
| author | Crucible <crucible@localhost> | 2026-09-30 03:05:07 -0500 |
|---|---|---|
| committer | Crucible <crucible@localhost> | 2026-09-30 03:05:07 -0500 |
| commit | 9c4e6e8fed8999df35813182c3b9577d541394e0 (patch) | |
| tree | 2466b7bb1ca606d88c3191c59d1b1c0a3b87e398 /dev-python/urwid/urwid-4.2.1.ebuild | |
| parent | c5a9b07f13fb47e9869f0433ea92068acfe47038 (diff) | |
| download | srcux-9c4e6e8fed8999df35813182c3b9577d541394e0.tar.gz srcux-9c4e6e8fed8999df35813182c3b9577d541394e0.tar.xz srcux-9c4e6e8fed8999df35813182c3b9577d541394e0.zip | |
Publish srcux candidate 0000000524-20260930-030309
Diffstat (limited to 'dev-python/urwid/urwid-4.2.1.ebuild')
| -rw-r--r-- | dev-python/urwid/urwid-4.2.1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/urwid/urwid-4.2.1.ebuild b/dev-python/urwid/urwid-4.2.1.ebuild new file mode 100644 index 000000000000..5b61181891fe --- /dev/null +++ b/dev-python/urwid/urwid-4.2.1.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" +} |
