public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/gevent/
Date: Fri,  6 Aug 2021 06:22:54 +0000 (UTC)	[thread overview]
Message-ID: <1628230971.86abeeb2136bf8961a234de44bb2bab7e6d2d06a.mgorny@gentoo> (raw)

commit:     86abeeb2136bf8961a234de44bb2bab7e6d2d06a
Author:     Tom Gillespie <tgbugs <AT> gmail <DOT> com>
AuthorDate: Sat Jun 27 20:09:12 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug  6 06:22:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86abeeb2

dev-python/gevent: add IUSE=events

The gevent.events module has runtime dependencies on zope.event
and zope.interface. This commit adds an events use flag which sets
dev-python/zope-event and dev-python/zope-inferface as dependencies.

This addition mimics the upstream behavior in gevent setup.py.

Signed-off-by: Tom Gillespie <tgbugs <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/gevent/gevent-21.1.2.ebuild | 12 ++++++++----
 dev-python/gevent/metadata.xml         |  3 +++
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/dev-python/gevent/gevent-21.1.2.ebuild b/dev-python/gevent/gevent-21.1.2.ebuild
index 61c3d717cbf..1568ccd6675 100644
--- a/dev-python/gevent/gevent-21.1.2.ebuild
+++ b/dev-python/gevent/gevent-21.1.2.ebuild
@@ -16,20 +16,24 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~mips ppc ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="doc examples test"
+IUSE="doc events examples test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
 	>=dev-libs/libev-4.31:=
 	dev-libs/libuv:=
 	>=net-dns/c-ares-1.12:=
-	dev-python/zope-event[${PYTHON_USEDEP}]
-	dev-python/zope-interface[${PYTHON_USEDEP}]
-	virtual/python-greenlet[${PYTHON_USEDEP}]"
+	virtual/python-greenlet[${PYTHON_USEDEP}]
+	events? (
+		dev-python/zope-event[${PYTHON_USEDEP}]
+		dev-python/zope-interface[${PYTHON_USEDEP}]
+	)"
 DEPEND="${RDEPEND}
 	test? (
 		dev-python/psutil[${PYTHON_USEDEP}]
 		dev-python/requests[${PYTHON_USEDEP}]
+		dev-python/zope-event[${PYTHON_USEDEP}]
+		dev-python/zope-interface[${PYTHON_USEDEP}]
 	)"
 
 distutils_enable_sphinx doc

diff --git a/dev-python/gevent/metadata.xml b/dev-python/gevent/metadata.xml
index e10bdae3530..7faa4e9a24e 100644
--- a/dev-python/gevent/metadata.xml
+++ b/dev-python/gevent/metadata.xml
@@ -5,6 +5,9 @@
     <email>python@gentoo.org</email>
     <name>Python</name>
   </maintainer>
+  <use>
+    <flag name="events">Enables the gevent events system which is required by libraries that use gevent monkey patching. This adds <pkg>dev-python/zope-event</pkg> and <pkg>dev-python/zope-interface</pkg> as runtime dependencies.</flag>
+  </use>
   <upstream>
     <remote-id type="github">gevent/gevent</remote-id>
     <remote-id type="pypi">gevent</remote-id>


             reply	other threads:[~2021-08-06  6:23 UTC|newest]

Thread overview: 111+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-06  6:22 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-07 15:43 [gentoo-commits] repo/gentoo:master commit in: dev-python/gevent/ Michał Górny
2022-10-15  8:04 Michał Górny
2022-10-15  8:04 Michał Górny
2022-03-21 21:25 Michał Górny
2022-03-21 20:54 Arthur Zamarin
2022-03-08 17:11 Jakov Smolić
2022-01-29 10:04 Jakov Smolić
2022-01-29 10:04 Jakov Smolić
2022-01-29  7:39 Arthur Zamarin
2022-01-29  7:27 Arthur Zamarin
2022-01-29  7:17 Arthur Zamarin
2021-12-28  4:51 Sam James
2021-12-24 19:52 Arthur Zamarin
2021-12-24 19:43 Arthur Zamarin
2021-11-16  2:53 Sam James
2021-10-29 18:32 Sam James
2021-10-28 14:00 Agostino Sarubbo
2021-10-24  4:51 Sam James
2021-10-24  0:19 Sam James
2021-09-22  6:51 Arthur Zamarin
2021-06-04 18:59 Michał Górny
2021-03-15 15:37 Marek Szuba
2021-02-26 14:35 Michał Górny
2021-02-26 13:53 Sam James
2021-02-26 10:57 Agostino Sarubbo
2021-02-25 18:58 Sam James
2021-02-25  8:36 Sergei Trofimovich
2021-02-25  8:19 Sergei Trofimovich
2021-02-24 22:09 Sam James
2021-01-27  3:58 Sam James
2021-01-27  3:06 Sam James
2021-01-25 14:09 Sam James
2021-01-25 14:06 Sam James
2021-01-21  1:16 Sam James
2021-01-18 15:34 Sam James
2021-01-17 16:16 Sam James
2020-12-27 19:43 Michał Górny
2020-12-22 20:06 Michał Górny
2020-12-22 20:06 Michał Górny
2020-12-08  0:37 Robin H. Johnson
2020-11-28 14:09 Sam James
2020-11-24  8:18 Michał Górny
2020-11-24  7:43 Agostino Sarubbo
2020-11-18  6:53 Agostino Sarubbo
2020-11-03  9:25 Sergei Trofimovich
2020-10-28 16:45 Sam James
2020-10-28  4:10 Sam James
2020-10-26 23:49 Sergei Trofimovich
2020-10-25 21:34 Thomas Deutschmann
2020-09-23  7:29 Michał Górny
2020-09-19 21:33 Michał Górny
2020-09-18 14:48 Michał Górny
2020-09-03 23:57 Sam James
2020-08-21 15:30 Agostino Sarubbo
2020-08-21 15:27 Agostino Sarubbo
2020-08-19  9:00 Sam James
2020-07-13 18:08 Sam James
2020-07-09 10:05 Louis Sautier
2020-07-09 10:05 Louis Sautier
2020-07-09  9:51 Michał Górny
2020-07-09  8:34 Agostino Sarubbo
2020-07-09  8:27 Agostino Sarubbo
2020-07-09  8:16 Agostino Sarubbo
2020-07-09  8:04 Agostino Sarubbo
2020-07-01 19:59 Aaron Bauman
2020-06-11  8:01 Michał Górny
2020-06-07  7:27 Michał Górny
2020-05-29  8:46 Michał Górny
2020-05-29  7:25 Michał Górny
2020-05-26 18:09 Michał Górny
2020-05-04 11:04 Michał Górny
2020-04-01 19:19 Mart Raudsepp
2020-04-01 17:13 Sergei Trofimovich
2020-03-27 10:42 Michał Górny
2020-03-25 17:44 Agostino Sarubbo
2020-03-25 16:14 Agostino Sarubbo
2020-03-25 15:25 Agostino Sarubbo
2020-03-25 15:24 Agostino Sarubbo
2020-03-25 15:23 Agostino Sarubbo
2020-03-25 13:50 Agostino Sarubbo
2020-03-16 20:09 Matt Turner
2020-03-15 12:08 Sergei Trofimovich
2020-01-27  7:22 Michał Górny
2020-01-26 22:43 Sebastian Pipping
2020-01-26 22:43 Sebastian Pipping
2019-12-02  2:48 Aaron Bauman
2019-03-16 18:53 Mikle Kolyada
2018-10-15  9:28 Alexys Jacob
2018-08-30 21:34 Matt Thode
2018-07-18  9:41 Alexys Jacob
2018-07-01 13:57 Mikle Kolyada
2018-06-27 22:15 Sergei Trofimovich
2018-03-03 21:07 Sergei Trofimovich
2017-12-13 20:09 Sergei Trofimovich
2017-11-29 20:13 Zac Medico
2017-11-29 19:44 Zac Medico
2017-06-04 10:42 Agostino Sarubbo
2017-06-02 20:02 Agostino Sarubbo
2017-05-10 16:41 Matt Thode
2017-05-02 17:43 Michał Górny
2017-03-28 20:24 Patrick McLean
2017-03-28 18:35 Patrick McLean
2016-08-21 17:46 Tim Harder
2016-05-29 14:19 Pacho Ramos
2016-04-05  7:15 Alexys Jacob
2016-03-25 15:17 Alexys Jacob
2016-02-28  7:32 Matt Thode
2015-11-06 10:44 Justin Lecher
2015-11-06  7:27 Justin Lecher
2015-09-11  3:23 Mike Frysinger

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=1628230971.86abeeb2136bf8961a234de44bb2bab7e6d2d06a.mgorny@gentoo \
    --to=mgorny@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