diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-06 11:01:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-06 11:01:58 +0000 |
commit | 334d7d1830a3556a4c5d62a0f8547e5eb40bc83e (patch) | |
tree | 21b32eab75d2e75a1706e24db41ef23a89bb0ca2 /dev-python/urwid/urwid-2.3.4.ebuild | |
parent | b8cec1611ea575eea46e4927fedf000feed71b16 (diff) |
gentoo auto-resync : 06:12:2023 - 11:01:57
Diffstat (limited to 'dev-python/urwid/urwid-2.3.4.ebuild')
-rw-r--r-- | dev-python/urwid/urwid-2.3.4.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/urwid/urwid-2.3.4.ebuild b/dev-python/urwid/urwid-2.3.4.ebuild new file mode 100644 index 000000000000..ddf92bfdf600 --- /dev/null +++ b/dev-python/urwid/urwid-2.3.4.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +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 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +distutils_enable_tests unittest + +python_test() { + rm -rf urwid || die + eunittest +} + +python_install_all() { + use examples && dodoc -r examples + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "Trio event loop" "dev-python/trio" +} |