public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/urwid/
Date: Sat, 30 Oct 2021 15:37:40 +0000 (UTC)	[thread overview]
Message-ID: <1635608247.06c52e590713065b351419cd5bb7a9c451a8054c.arthurzam@gentoo> (raw)

commit:     06c52e590713065b351419cd5bb7a9c451a8054c
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 30 15:36:16 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 30 15:37:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06c52e59

dev-python/urwid: add optfeature on dev-python/trio

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/urwid/urwid-2.1.2.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-python/urwid/urwid-2.1.2.ebuild b/dev-python/urwid/urwid-2.1.2.ebuild
index 8e5ca05854a..f2501abefd2 100644
--- a/dev-python/urwid/urwid-2.1.2.ebuild
+++ b/dev-python/urwid/urwid-2.1.2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{8..10} )
 PYTHON_REQ_USE="ncurses"
-inherit distutils-r1
+inherit distutils-r1 optfeature
 
 DESCRIPTION="Curses-based user interface library for Python"
 HOMEPAGE="http://urwid.org/ https://pypi.org/project/urwid/ https://github.com/urwid/urwid/"
@@ -27,6 +27,9 @@ src_prepare() {
 	# Fix doc generation
 	sed -e 's/!defindex/layout/' -i docs/tools/templates/indexcontent.html || die
 
+	# Fix for >=dev-python/trio-0.15
+	sed -e 's/hazmat/lowlevel/' -i urwid/_async_kw_event_loop.py || die
+
 	distutils-r1_src_prepare
 }
 
@@ -34,3 +37,7 @@ python_install_all() {
 	use examples && dodoc -r examples
 	distutils-r1_python_install_all
 }
+
+pkg_postinst() {
+	optfeature "Trio event loop" "dev-python/trio"
+}


             reply	other threads:[~2021-10-30 15:37 UTC|newest]

Thread overview: 152+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-30 15:37 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-02  8:59 [gentoo-commits] repo/gentoo:master commit in: dev-python/urwid/ Michał Górny
2024-11-02  8:48 Michał Górny
2024-10-16  4:54 Michał Górny
2024-07-20  9:01 Michał Górny
2024-07-20  8:00 Arthur Zamarin
2024-07-04  5:13 Michał Górny
2024-06-29  6:33 Arthur Zamarin
2024-06-22 15:01 Michał Górny
2024-06-22 13:48 Arthur Zamarin
2024-06-13  4:05 Michał Górny
2024-06-07 14:48 Michał Górny
2024-06-07 14:48 Michał Górny
2024-06-07 14:48 Michał Górny
2024-06-01 17:29 Sam James
2024-06-01 16:00 Arthur Zamarin
2024-06-01 10:59 Arthur Zamarin
2024-06-01  7:29 Arthur Zamarin
2024-06-01  7:16 Arthur Zamarin
2024-06-01  7:10 Arthur Zamarin
2024-05-15  2:08 Michał Górny
2024-05-08 12:16 Michał Górny
2024-05-08 11:34 Sam James
2024-05-08  7:52 Sam James
2024-05-08  7:50 Michał Górny
2024-05-08  7:50 Michał Górny
2024-05-08  7:50 Michał Górny
2024-05-08  7:50 Michał Górny
2024-05-08  7:50 Michał Górny
2024-04-22 15:29 Michał Górny
2024-04-17  4:32 Sam James
2024-04-11 17:13 Arthur Zamarin
2024-04-11 16:08 Arthur Zamarin
2024-04-09 18:30 Arthur Zamarin
2024-04-06 10:02 Arthur Zamarin
2024-04-06  9:41 Arthur Zamarin
2024-04-06  9:41 Arthur Zamarin
2024-04-06  9:33 Arthur Zamarin
2024-03-26  6:57 Michał Górny
2024-03-22 19:29 Michał Górny
2024-03-22 18:25 Sam James
2024-03-22 13:19 Arthur Zamarin
2024-03-22  7:12 Sam James
2024-03-22  3:58 Sam James
2024-03-21 20:41 Arthur Zamarin
2024-03-21 20:34 Arthur Zamarin
2024-03-21 18:44 Arthur Zamarin
2024-03-14  4:22 Michał Górny
2024-03-04 14:52 Michał Górny
2024-03-03 19:07 Michał Górny
2024-03-03 19:03 Michał Górny
2024-03-03  0:54 Sam James
2024-03-03  0:25 Sam James
2024-03-02 18:49 Sam James
2024-03-02 18:49 Sam James
2024-03-02 11:18 Arthur Zamarin
2024-03-02 10:17 Arthur Zamarin
2024-02-29  4:18 Michał Górny
2024-02-27 19:57 Matthew Thode
2024-02-26 17:48 Michał Górny
2024-02-24  8:49 Michał Górny
2024-02-24  2:44 Ionen Wolkens
2024-02-22  5:38 Michał Górny
2024-02-21 17:06 Michał Górny
2024-02-21  4:45 Michał Górny
2024-02-17 19:56 Michał Górny
2024-02-17  6:10 Michał Górny
2024-02-13  4:27 Michał Górny
2024-02-10  9:15 Michał Górny
2024-02-08 17:10 Arthur Zamarin
2024-02-08 15:28 Michał Górny
2024-02-08 14:43 Michał Górny
2024-02-02  4:12 Michał Górny
2024-01-30  4:07 Michał Górny
2024-01-23 16:53 Michał Górny
2024-01-23 15:08 Sam James
2024-01-23  4:39 Michał Górny
2024-01-19  3:18 Sam James
2024-01-18 19:48 Sam James
2024-01-18 18:52 Arthur Zamarin
2024-01-18 18:37 Arthur Zamarin
2024-01-18 18:37 Arthur Zamarin
2024-01-18 18:03 Arthur Zamarin
2024-01-18 17:15 Arthur Zamarin
2024-01-18 17:15 Arthur Zamarin
2024-01-18  3:43 Michał Górny
2024-01-12  4:57 Michał Górny
2024-01-03 18:46 Arthur Zamarin
2023-12-22 10:05 Michał Górny
2023-12-22  9:57 Michał Górny
2023-12-20 16:48 Michał Górny
2023-12-20 16:26 Michał Górny
2023-12-20 16:15 Michał Górny
2023-12-20 15:51 Michał Górny
2023-12-20 15:49 Michał Górny
2023-12-20 15:47 Michał Górny
2023-12-06  6:51 Michał Górny
2023-11-29  8:22 Arthur Zamarin
2023-11-23 19:53 Sam James
2023-11-23 13:27 Sam James
2023-11-22 11:56 Sam James
2023-11-22 11:11 Sam James
2023-11-22 11:11 Sam James
2023-11-22 11:04 Michał Górny
2023-10-20 12:42 Michał Górny
2023-05-04 17:04 Michał Górny
2023-03-16  4:13 Michał Górny
2022-11-25  9:08 Arthur Zamarin
2022-11-23  4:16 Sam James
2022-11-23  4:16 Sam James
2022-10-07  8:47 WANG Xuerui
2022-10-07  7:03 Michał Górny
2022-06-17  4:54 Michał Górny
2022-06-17  4:54 Michał Górny
2022-06-16 23:05 Jakov Smolić
2022-06-16 15:46 Sam James
2022-06-16 10:16 Jakov Smolić
2022-06-16  9:52 Jakov Smolić
2022-05-16 18:41 Arthur Zamarin
2021-12-21  3:39 Yixun Lan
2021-12-02 19:52 Sam James
2021-12-02 19:52 Sam James
2021-12-02  8:55 Jakov Smolić
2021-12-02  8:40 Arthur Zamarin
2021-10-30 15:37 Arthur Zamarin
2021-10-30 15:37 Arthur Zamarin
2021-05-09  8:23 Michał Górny
2020-10-21 22:51 Michał Górny
2020-09-13 10:17 Sergei Trofimovich
2020-09-09 21:59 Sergei Trofimovich
2020-08-09 17:20 Joonas Niilola
2020-08-02  9:33 Michał Górny
2020-06-03 17:27 Michał Górny
2020-03-07 11:03 Agostino Sarubbo
2020-03-07 10:54 Agostino Sarubbo
2020-03-07 10:50 Agostino Sarubbo
2020-03-07  9:44 Agostino Sarubbo
2020-01-16 12:19 Tim Harder
2018-11-11 13:41 Andrey Grozin
2018-02-26  0:39 Tim Harder
2017-07-15 21:42 Patrice Clement
2017-07-15 21:42 Patrice Clement
2017-06-21 12:17 Agostino Sarubbo
2017-06-17 15:36 Agostino Sarubbo
2017-06-03 19:09 Mike Gilbert
2017-05-02 17:43 Michał Górny
2017-02-28 13:13 Andrey Grozin
2017-01-29 17:28 Fabian Groffen
2016-04-18 15:19 Ian Delaney
2016-04-18 15:19 Ian Delaney
2016-04-18  3:25 Ian Delaney
2015-11-03 11:38 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1635608247.06c52e590713065b351419cd5bb7a9c451a8054c.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox