commit:     a58d52c883b03d85779b53017b7b3511d43c1e5c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 29 03:55:37 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Feb 29 04:18:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a58d52c8

dev-python/urwid: Bump to 2.6.7

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/urwid/Manifest           |  1 +
 dev-python/urwid/urwid-2.6.7.ebuild | 47 +++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-python/urwid/Manifest b/dev-python/urwid/Manifest
index c99b1ce9fcb7..785a4ee1ad25 100644
--- a/dev-python/urwid/Manifest
+++ b/dev-python/urwid/Manifest
@@ -3,3 +3,4 @@ DIST urwid-2.5.3.tar.gz 848047 BLAKE2B 
42815e22f2659ee25736767391afbf0189b5bec9d
 DIST urwid-2.6.4.tar.gz 848823 BLAKE2B 
ad0f83f0b610d689b55dbc58464ea170be3ec7ed5f90f9c534b2707bd9fe867fdc06a690adf3357ecd9810f28ffb8126ac9d38068087b166641bcad695768b4e
 SHA512 
659010d1f9f66a70d224a95381b477bd634cc2f90d79f117eba7e7dc7569373fd8c2f8de485e72df21b1434c307232e980a2019b018af662262ea2df4d70558c
 DIST urwid-2.6.5.tar.gz 851570 BLAKE2B 
c99833701b83427005726d9a0d5e1c52f2308617bd7a953370495b0a35fd904c2544a186dd9f74d571045d4dc74af285f9a1da0e3357fdd85ed5ae0162aca3ba
 SHA512 
813b4cfc3f4d418475fdd23b84bf591a6affc30522b18e9f58c067bd71f3bc98962f50866a4b34974d66287a7e5600fdfdf9955fea6cb94c08c1c11a4515e5a8
 DIST urwid-2.6.6.tar.gz 853188 BLAKE2B 
95e3a84a8055900d2085a5e49257d1eba91c355cae012896c248d301c89f47a8f9b1b5224f32a9a9b296df11e6754c93164773a58b3d7d17ed5d85cde01b9af3
 SHA512 
4ef0ac48c83ed0e316918d1964aa5c9b6f402d87e52d87888ff4be8c1d28e5c50cecef3145eb5692f9afccce64d17f1cb70c9328099868dadae2d06c47f0a04f
+DIST urwid-2.6.7.tar.gz 854504 BLAKE2B 
691971a3f1c588fa9ffdf7abbd8a7499c199853cdb071028d138b836a11ef8fbba6427ab40ad7f22b86e8cb3ae6019f55a79beef8a5d212b750e32feaf6acf76
 SHA512 
66aaf0e6dfc730db03a6ada0fe8fcdbe15a772b90d621fbedf335302c3d212602b81df7c95be035d6a37c38c6714c896994783ab0de519c01f861a7666ec4f1b

diff --git a/dev-python/urwid/urwid-2.6.7.ebuild 
b/dev-python/urwid/urwid-2.6.7.ebuild
new file mode 100644
index 000000000000..0d52239b0d14
--- /dev/null
+++ b/dev-python/urwid/urwid-2.6.7.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2024 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"
+
+RDEPEND="
+       dev-python/typing-extensions[${PYTHON_USEDEP}]
+       dev-python/wcwidth[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       dev-python/setuptools-scm[${PYTHON_USEDEP}]
+"
+
+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"
+}

Reply via email to