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/urllib3/
Date: Mon,  2 Oct 2023 18:35:02 +0000 (UTC)	[thread overview]
Message-ID: <1696271685.87a8eab9d77266389b0fe80d6f976975b608d87a.arthurzam@gentoo> (raw)

commit:     87a8eab9d77266389b0fe80d6f976975b608d87a
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  2 18:32:42 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Oct  2 18:34:45 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87a8eab9

dev-python/urllib3: add 1.26.17

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

 dev-python/urllib3/Manifest               |  1 +
 dev-python/urllib3/urllib3-1.26.17.ebuild | 76 +++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/dev-python/urllib3/Manifest b/dev-python/urllib3/Manifest
index 18a11f5624a0..999e6a2d2ca9 100644
--- a/dev-python/urllib3/Manifest
+++ b/dev-python/urllib3/Manifest
@@ -1,4 +1,5 @@
 DIST urllib3-1.26.16.tar.gz 303733 BLAKE2B 94c0cfb8696b15ff7aed25927ba584d0d67b150953586ca4d74ddc8f1d0a95ca447a482cf7d0f95728fad1e7e51a610e29c3e342ebe68e65a86789308544ea51 SHA512 caa58af5bf49644459a9074be659511b56c5d66802153c72ba2ba2eb9c0aafd56b4cd8f8588964ee7d2a9b16a5e114d62298ab1e128710260ed86f1e315b5571
+DIST urllib3-1.26.17.tar.gz 305031 BLAKE2B 616b183168a78737988428efa52516586b66cab067d6a257af544c67922156e1e769fbbdd65c8f1ba606f02faa5918e4bafe8c1b27105b8e3f5fe644260d093d SHA512 f26c54def8564981f241a94c915c660d26a52d5437a1e1f4b8ebb6d6cd9de834a31b5816306c2cf2cadc2af00a1633bee97c8bbefa5a45b8e732f7566b4c0327
 DIST urllib3-2.0.4.tar.gz 281517 BLAKE2B 58635787069b6d8e83394ddacca2c70824c03190efb4e0838b9b80d8e8c1499fa0143e1d38ece4e2a7f9b34d6b50f9805050bf85707d98eb171307ff35f8b215 SHA512 64d55714d871716730af5a691fc222722cffc13b0603ecae597e5f4cfd82297beede2b08cedc030b2419bd446f51c4c6e54f466ad96c71dd0848abbf806b4db4
 DIST urllib3-2.0.5.tar.gz 281697 BLAKE2B 7ae1cc90243cd2069767d4a3f7ca3b96d9e6270f38b363ba2c2cfddeb293cc75782740524bdf91d64bd08dcf1dc44cb9fe6ec2b501d34bdf4c69d893c794382a SHA512 dead3fcda9637c6142b577f051f25578249f7513d3d2bdf4ed880b7a063ff7ee2e946e72b91355328b12205600abc487252ca025f3946408093df46134d9fc12
 DIST urllib3-2.0.6.tar.gz 281846 BLAKE2B 3af632a77f07d5c686e6412b06d67df5c62517239431ead7d0c7e7bbb5efe06c298db0afda1a84fb314f3e3936edd16aef693ac316a923f67232abf8789b6201 SHA512 872a5899ad4486b45fe7a327f029beb5f7d3dd8447b58b861922b32bd15f1cff68d12136f262c2d2d3740047976bc6cff16a54590c1eab19949149e7dae2956a

diff --git a/dev-python/urllib3/urllib3-1.26.17.ebuild b/dev-python/urllib3/urllib3-1.26.17.ebuild
new file mode 100644
index 000000000000..fd7fd21b5100
--- /dev/null
+++ b/dev-python/urllib3/urllib3-1.26.17.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_TESTED=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
+PYTHON_REQ_USE="ssl(+)"
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="HTTP library with thread-safe connection pooling, file post, and more"
+HOMEPAGE="
+	https://github.com/urllib3/urllib3/
+	https://pypi.org/project/urllib3/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="brotli test"
+RESTRICT="!test? ( test )"
+
+# dev-python/{pyopenssl,cryptography,idna,certifi} are optional runtime
+# dependencies. Do not add them to RDEPEND. They should be unnecessary with
+# modern versions of python (>= 3.2).
+RDEPEND="
+	>=dev-python/PySocks-1.5.8[${PYTHON_USEDEP}]
+	<dev-python/PySocks-2.0[${PYTHON_USEDEP}]
+	dev-python/six[${PYTHON_USEDEP}]
+	brotli? ( dev-python/brotlicffi[${PYTHON_USEDEP}] )
+"
+BDEPEND="
+	test? (
+		$(python_gen_cond_dep "
+			${RDEPEND}
+			dev-python/brotlicffi[\${PYTHON_USEDEP}]
+			dev-python/mock[\${PYTHON_USEDEP}]
+			dev-python/pytest[\${PYTHON_USEDEP}]
+			dev-python/pytest-freezegun[\${PYTHON_USEDEP}]
+			>=dev-python/tornado-4.2.1[\${PYTHON_USEDEP}]
+			>=dev-python/trustme-0.5.3[\${PYTHON_USEDEP}]
+		" "${PYTHON_TESTED[@]}")
+	)
+"
+
+src_prepare() {
+	distutils-r1_src_prepare
+
+	# unbundle urllib3
+	rm src/urllib3/packages/six.py || die
+	find -name '*.py' -exec sed -i \
+		-e 's:\([.]*\|urllib3\.\)\?packages\.six:six:g' \
+		-e 's:from \([.]*\|urllib3\.\)\?packages import six:import six:g' \
+		{} + || die
+}
+
+python_test() {
+	local -x CI=1
+	if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
+		einfo "Skipping tests on ${EPYTHON}"
+		return
+	fi
+
+	local EPYTEST_DESELECT=(
+		# unstable (relies on warning count)
+		test/with_dummyserver/test_proxy_poolmanager.py::TestHTTPProxyManager::test_proxy_verified_warning
+	)
+	has "${EPYTHON}" python3.{8..10} && EPYTEST_DESELECT+=(
+		test/contrib/test_pyopenssl.py::TestPyOpenSSLHelpers::test_get_subj_alt_name
+	)
+
+	epytest
+}


             reply	other threads:[~2023-10-02 18:35 UTC|newest]

Thread overview: 256+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-02 18:35 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-28 12:04 [gentoo-commits] repo/gentoo:master commit in: dev-python/urllib3/ Michał Górny
2024-09-28 11:32 Arthur Zamarin
2024-09-13 17:56 Michał Górny
2024-09-13 13:47 Michał Górny
2024-07-18 19:26 Fabian Groffen
2024-07-13  8:01 Michał Górny
2024-07-13  7:27 Arthur Zamarin
2024-07-01  4:35 Arthur Zamarin
2024-06-28 11:12 Michał Górny
2024-06-18  8:27 Michał Górny
2024-06-18  4:45 Michał Górny
2024-05-14 10:05 Michał Górny
2024-05-14 10:05 Michał Górny
2024-04-17  5:37 Arthur Zamarin
2024-03-24  5:47 Sam James
2024-03-23 22:34 James Le Cuirot
2024-03-23 20:54 Arthur Zamarin
2024-03-23 20:49 Arthur Zamarin
2024-03-23 20:42 Arthur Zamarin
2024-03-23 20:41 Sam James
2024-03-23 20:41 Sam James
2024-03-23 20:25 Arthur Zamarin
2024-03-23 17:39 Arthur Zamarin
2024-03-10  5:08 Ionen Wolkens
2024-03-10  5:08 Ionen Wolkens
2024-03-10  5:08 Ionen Wolkens
2024-03-10  5:08 Ionen Wolkens
2024-03-10  5:08 Ionen Wolkens
2024-03-07 15:59 Michał Górny
2024-02-19 15:51 Michał Górny
2024-02-06  9:18 Sam James
2024-02-04 17:10 WANG Xuerui
2024-02-03 23:23 Jakov Smolić
2024-02-01 22:36 Sam James
2024-02-01 22:36 Sam James
2024-02-01 17:12 Michał Górny
2023-11-22 12:03 Michał Górny
2023-11-22 11:44 Arthur Zamarin
2023-11-22 11:04 Michał Górny
2023-11-22 11:04 Michał Górny
2023-11-22 11:04 Michał Górny
2023-11-13 17:40 Michał Górny
2023-10-24  5:58 Michał Górny
2023-10-23 18:50 Sam James
2023-10-23 18:50 Sam James
2023-10-17 20:17 Michał Górny
2023-10-17 18:57 Michał Górny
2023-10-02 18:35 Arthur Zamarin
2023-09-21 10:18 Michał Górny
2023-09-21  9:54 Michał Górny
2023-09-21  9:54 Michał Górny
2023-08-19 18:19 Michał Górny
2023-08-19 17:53 Arthur Zamarin
2023-08-02 15:27 Arthur Zamarin
2023-08-02 14:44 Arthur Zamarin
2023-08-02 14:44 Arthur Zamarin
2023-08-02 13:19 Sam James
2023-07-20 11:10 Michał Górny
2023-07-18  9:53 Sam James
2023-07-15  8:20 Arthur Zamarin
2023-07-05 20:52 Sam James
2023-07-05  6:06 Arthur Zamarin
2023-06-27 12:03 Michał Górny
2023-06-27  6:43 Sam James
2023-06-08 16:38 Arthur Zamarin
2023-05-29 20:53 James Le Cuirot
2023-05-29 20:26 Sam James
2023-05-29  9:31 Michał Górny
2023-05-29  9:31 Michał Górny
2023-05-29  9:31 Michał Górny
2023-05-29  8:36 Michał Górny
2023-05-28 23:44 Sam James
2023-05-24  7:02 Michał Górny
2023-05-10 15:25 Michał Górny
2023-05-10 15:25 Michał Górny
2023-05-04  8:35 Michał Górny
2023-05-04  8:06 Michał Górny
2023-04-30 14:56 Michał Górny
2023-04-27  3:10 Michał Górny
2023-04-11 18:39 Michał Górny
2023-04-11 18:22 Arthur Zamarin
2023-03-11  5:53 Michał Górny
2023-03-11  5:53 Michał Górny
2023-02-16 20:32 Michał Górny
2023-02-16 17:22 Arthur Zamarin
2023-01-11 20:34 Michał Górny
2022-12-25 17:53 Michał Górny
2022-12-25 16:45 Sam James
2022-11-24  3:30 Michał Górny
2022-09-25 18:13 Arthur Zamarin
2022-09-25 18:10 Arthur Zamarin
2022-08-27  6:03 Michał Górny
2022-08-26 17:35 Arthur Zamarin
2022-08-22 19:23 Arthur Zamarin
2022-07-26 14:11 Michał Górny
2022-07-25  7:17 Michał Górny
2022-07-25  7:07 Agostino Sarubbo
2022-07-07 19:11 Arthur Zamarin
2022-06-18  6:47 Michał Górny
2022-06-17 14:27 Michał Górny
2022-06-17 11:01 Michał Górny
2022-06-17 11:01 Michał Górny
2022-06-16 11:24 Michał Górny
2022-06-16  9:33 Jakov Smolić
2022-05-13  9:32 Michał Górny
2022-05-13  9:32 Michał Górny
2022-04-19 13:39 Michał Górny
2022-04-19 12:10 Arthur Zamarin
2022-03-16 19:07 Arthur Zamarin
2022-02-13  9:33 Michał Górny
2022-02-13  7:58 Agostino Sarubbo
2022-01-07 16:49 Arthur Zamarin
2021-10-24  5:13 Arthur Zamarin
2021-10-24  0:19 Sam James
2021-09-23  8:16 Michał Górny
2021-08-21 22:15 James Le Cuirot
2021-08-13  6:58 Michał Górny
2021-08-01  8:17 Michał Górny
2021-07-31 22:23 Sam James
2021-07-01  8:59 Sam James
2021-06-25 22:19 Michał Górny
2021-06-01 20:56 Michał Górny
2021-05-26 20:39 Michał Górny
2021-03-26  9:41 Michał Górny
2021-03-25 23:20 Sam James
2021-03-24 21:12 Sergei Trofimovich
2021-03-15 21:29 Michał Górny
2021-03-15  2:28 Sam James
2021-02-18 20:11 Sergei Trofimovich
2021-02-11  7:45 Sergei Trofimovich
2021-02-09 17:45 Mike Gilbert
2021-02-05 20:16 Andreas K. Hüttel
2021-02-03 23:55 Thomas Deutschmann
2021-02-01 15:07 Agostino Sarubbo
2021-01-26 21:20 Michał Górny
2021-01-26 18:43 Michał Górny
2021-01-24 22:01 Sam James
2021-01-09 13:12 Sergei Trofimovich
2021-01-08  7:24 Sergei Trofimovich
2020-12-23  8:29 Michał Górny
2020-12-23  2:10 Sam James
2020-12-23  0:59 Thomas Deutschmann
2020-12-20  9:37 Fabian Groffen
2020-11-28 11:34 Sam James
2020-11-26  8:26 Michał Górny
2020-11-26  6:56 Agostino Sarubbo
2020-11-21 15:25 Michał Górny
2020-11-13  9:02 Michał Górny
2020-11-11 20:55 Michał Górny
2020-11-10 21:35 Michał Górny
2020-10-19 17:04 Michał Górny
2020-10-16  4:17 Joshua Kinard
2020-09-20 10:47 Michał Górny
2020-09-18 15:53 Michał Górny
2020-08-25 12:53 Agostino Sarubbo
2020-08-22  7:13 Michał Górny
2020-07-23 10:00 Michał Górny
2020-07-17 23:25 Sam James
2020-07-17 15:12 Agostino Sarubbo
2020-07-17 12:35 Sam James
2020-07-14 16:38 Sergei Trofimovich
2020-07-11 22:08 Sam James
2020-07-11  9:39 Michał Górny
2020-07-11  9:39 Michał Górny
2020-07-09  8:41 Agostino Sarubbo
2020-07-09  8:04 Agostino Sarubbo
2020-05-27 15:37 Michał Górny
2020-05-25 20:16 Michał Górny
2020-05-24 20:20 Michał Górny
2020-05-04 17:36 Thomas Deutschmann
2020-04-17  5:54 Michał Górny
2020-04-11 12:08 Mart Raudsepp
2020-04-04 10:52 Sergei Trofimovich
2020-03-29 21:21 Sergei Trofimovich
2020-03-29 10:30 Michał Górny
2020-03-26 18:01 Sergei Trofimovich
2020-03-25  9:39 Michał Górny
2020-03-22  7:26 Michał Górny
2020-03-22  7:26 Michał Górny
2020-03-16 21:09 Michał Górny
2020-03-16  5:54 Matt Turner
2020-03-14 22:11 Sergei Trofimovich
2020-03-14 18:20 Mikle Kolyada
2020-03-09 17:52 Michał Górny
2020-03-09  8:29 Michał Górny
2020-01-22  3:46 Michał Górny
2020-01-03 20:40 Michał Górny
2020-01-02 17:11 Michał Górny
2020-01-02 17:11 Michał Górny
2019-12-16 14:38 Michał Górny
2019-12-16 14:38 Michał Górny
2019-11-25 12:35 Michał Górny
2019-11-22 12:53 Michał Górny
2019-11-22 12:53 Michał Górny
2019-11-22 12:53 Michał Górny
2019-08-15 12:31 Aaron Bauman
2019-06-09 20:36 Sergei Trofimovich
2019-06-04 18:51 Agostino Sarubbo
2019-06-04 13:17 Agostino Sarubbo
2019-05-07 20:19 Anthony G. Basile
2019-05-07 18:03 Tobias Klausmann
2019-05-02  5:03 Markus Meier
2019-04-24 17:02 Sergei Trofimovich
2019-04-23 19:21 Anthony G. Basile
2019-04-23 18:42 Anthony G. Basile
2018-12-14  7:40 Patrick McLean
2018-11-19 21:15 Fabian Groffen
2018-07-16 19:57 Michał Górny
2018-06-27  8:19 Fabian Groffen
2018-06-17  4:10 Tim Harder
2018-06-17  4:10 Tim Harder
2018-06-12 22:04 Mikle Kolyada
2018-04-06 11:05 Fabian Groffen
2018-02-22 17:38 Michał Górny
2017-09-12  9:13 Fabian Groffen
2017-08-28  0:47 Matt Thode
2017-05-16  8:34 Lars Wendler
2017-05-15 19:17 Tobias Klausmann
2017-05-15  9:47 Lars Wendler
2017-05-06 11:13 Jeroen Roovers
2017-02-27 20:11 Michael Weber
2017-01-23  3:38 Lars Wendler
2017-01-23  3:38 Lars Wendler
2016-12-05  2:45 Mike Gilbert
2016-12-05  2:45 Mike Gilbert
2016-11-30 18:05 Michał Górny
2016-11-10  9:15 Manuel Rüger
2016-11-09 12:30 Manuel Rüger
2016-04-03 20:34 Alexey Shvetsov
2016-01-21 22:51 Matt Thode
2016-01-21 22:51 Matt Thode
2016-01-21 11:43 Justin Lecher
2016-01-21 11:43 Justin Lecher
2016-01-21 11:43 Justin Lecher
2016-01-11 11:32 Justin Lecher
2016-01-11  9:56 Agostino Sarubbo
2016-01-10 11:22 Agostino Sarubbo
2015-12-25 18:19 Agostino Sarubbo
2015-12-20 16:35 Justin Lecher
2015-11-26 19:26 Markus Meier
2015-11-24  9:37 Jeroen Roovers
2015-11-22  5:38 Jeroen Roovers
2015-11-19 10:16 Agostino Sarubbo
2015-11-18 15:40 Justin Lecher
2015-11-10 13:50 Justin Lecher
2015-11-09 11:49 Justin Lecher
2015-10-22 11:09 Justin Lecher
2015-10-14 15:43 Justin Lecher
2015-10-03  8:00 Markus Meier
2015-09-29 14:14 Tobias Klausmann
2015-09-19  4:45 Jeroen Roovers
2015-09-18  4:38 Jeroen Roovers
2015-09-16 15:01 Justin Lecher
2015-09-16  8:53 Justin Lecher
2015-08-20 17:12 Tobias Klausmann

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=1696271685.87a8eab9d77266389b0fe80d6f976975b608d87a.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