public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/gevent/
Date: Tue, 28 Dec 2021 04:51:03 +0000 (UTC)	[thread overview]
Message-ID: <1640667056.56ce1e6d788afb6177f722eede892330b3e00dcc.sam@gentoo> (raw)

commit:     56ce1e6d788afb6177f722eede892330b3e00dcc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 28 04:48:50 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 28 04:50:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56ce1e6d

dev-python/gevent: add 21.12.0

- Re-enabled some hanging/failing tests
- Add dnspython tests again
- Excluded more network-related tests
- Avoid deprecated method for disabling "embedded" libs (bundled)

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/gevent/Manifest              |   1 +
 dev-python/gevent/gevent-21.12.0.ebuild | 100 ++++++++++++++++++++++++++++++++
 2 files changed, 101 insertions(+)

diff --git a/dev-python/gevent/Manifest b/dev-python/gevent/Manifest
index 0d019073722c..9dece1ecb9a5 100644
--- a/dev-python/gevent/Manifest
+++ b/dev-python/gevent/Manifest
@@ -1 +1,2 @@
+DIST gevent-21.12.0.tar.gz 6201851 BLAKE2B 8c02f42d6024e912e51754df876d4f4895acdf466f2400e9fdca69ad5c7c77df7ee05f3e4c2c1e1d5731c282b62d5c940d9ca6396c27d6fe6e8a0ec13013591c SHA512 805ddb475281b6c4c46cdf5a714915b6612512745121e7b153f3d33f3460135efa4994e0ff1601402d4f7b80d285cbfdc0d5d93799fbeb8ddbf2a52888cd91ad
 DIST gevent-21.8.0.tar.gz 6162938 BLAKE2B f24770cdbf229d4a4ebe7e6c102c43ab0c89a52389ada40c8abaf032eada323333ca9ac965c65d335d96d69c97cdc239e193dd5a38076c81a2f3c80daa13b339 SHA512 dae95f986530e79b07a0006f6fb4cbd3911ac0bf2e58c4896ee5fa6d2e2a9ed5785c346958ee23cd57c2dcafb0a34c585b1f6375a29fd653e061a382482fc9fb

diff --git a/dev-python/gevent/gevent-21.12.0.ebuild b/dev-python/gevent/gevent-21.12.0.ebuild
new file mode 100644
index 000000000000..0c7cee33a7e9
--- /dev/null
+++ b/dev-python/gevent/gevent-21.12.0.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
+PYTHON_REQ_USE="ssl(+),threads(+)"
+
+inherit distutils-r1 flag-o-matic
+
+DESCRIPTION="Coroutine-based network library"
+HOMEPAGE="https://www.gevent.org/ https://pypi.org/project/gevent/"
+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"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	>=dev-libs/libev-4.31:=
+	dev-libs/libuv:=
+	>=net-dns/c-ares-1.12:=
+"
+RDEPEND="${DEPEND}
+	virtual/python-greenlet[${PYTHON_USEDEP}]
+	dev-python/zope-event[${PYTHON_USEDEP}]
+	dev-python/zope-interface[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		dev-python/dnspython[${PYTHON_USEDEP}]
+		dev-python/psutil[${PYTHON_USEDEP}]
+		dev-python/requests[${PYTHON_USEDEP}]
+	)"
+
+distutils_enable_sphinx doc
+
+# Tests take long and fail terribly a few times.
+# It also seems that they require network access.
+#RESTRICT="test"
+
+python_prepare_all() {
+	export GEVENTSETUP_EMBED="false"
+
+	distutils-r1_python_prepare_all
+}
+
+python_configure_all() {
+	append-flags -fno-strict-aliasing
+}
+
+python_test() {
+	# Just in case.
+	export GEVENTTEST_USE_RESOURCES=-network
+
+	cd src/gevent/tests || die
+
+	# Tests which need network but aren't marked as such
+	echo "test__getaddrinfo_import.py" >> tests_that_dont_use_resolver.txt || die
+	echo "test_socketqcqqrwns.py" >> tests_that_dont_use_resolver.txt || die
+
+	# Test hangs (testPeek)
+	echo "test_socket.py" >> tests_that_dont_use_resolver.txt || die
+
+	# TODO: figure out how to make them work and not hang
+	#GEVENT_RESOLVER=ares \
+	#       "${EPYTHON}" -m gevent.tests \
+	#       --verbose \
+	#       -uall,-network \
+	#       --config known_failures.py \
+	#       --ignore tests_that_dont_use_resolver.txt || die
+	GEVENT_RESOLVER=dnspython \
+		"${EPYTHON}" -m gevent.tests \
+		--verbose \
+		-uall,-network \
+		--config known_failures.py \
+		--ignore tests_that_dont_use_resolver.txt || die
+	GEVENT_RESOLVER=thread \
+		"${EPYTHON}" -m gevent.tests \
+		--verbose \
+		-uall,-network \
+		--config known_failures.py \
+		--ignore tests_that_dont_use_resolver.txt || die
+	GEVENT_FILE=thread \
+		"${EPYTHON}" -m gevent.tests \
+		--verbose \
+		-uall,-network \
+		--config known_failures.py \
+		test__*subprocess*.py || die
+}
+
+python_install_all() {
+	local DOCS=( AUTHORS README.rst )
+	use examples && dodoc -r examples
+
+	distutils-r1_python_install_all
+}


             reply	other threads:[~2021-12-28  4:51 UTC|newest]

Thread overview: 111+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-28  4:51 Sam James [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-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-08-06  6:22 Michał Górny
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=1640667056.56ce1e6d788afb6177f722eede892330b3e00dcc.sam@gentoo \
    --to=sam@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