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/pip/
Date: Sun, 16 Oct 2022 05:41:12 +0000 (UTC)	[thread overview]
Message-ID: <1665898859.be3239b980776d960539d766a9e23648231d793e.arthurzam@gentoo> (raw)

commit:     be3239b980776d960539d766a9e23648231d793e
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 16 05:40:59 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 16 05:40:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be3239b9

dev-python/pip: add 22.3

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

 dev-python/pip/Manifest        |   1 +
 dev-python/pip/pip-22.3.ebuild | 136 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 137 insertions(+)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index a8d8eaba4a81..013a993c9ef0 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1,4 +1,5 @@
 DIST pip-22.2.2.gh.tar.gz 9279218 BLAKE2B 2179b0d3f5f05bbd678f1785b4dbc0613078c09c83b45faa62d766182dfeb564095abda809ed99f45644abcb06c125efc528aeaed3ad40ab1c9e8972e33ccbb2 SHA512 bd59e28b55475b77a8f11ea771cbad3b2602ff974e219f9a55288963a9522c9279a5b00fde40fb65cfebefae0e905d3da3c06fe50b402aa5326b25f70a98a015
+DIST pip-22.3.gh.tar.gz 9326079 BLAKE2B 68c0151f9c1ae14a6cb9b41d39521b3898b156f642361df5f3b272e4ba1640e794189d5d991dcb56156745c587cfbe02161763683965c2bb8a69adb9f109fd00 SHA512 804c5bad805da77d922e5e123440f6b7639a33769b41ab5cd1c27e5c5f0e4548ce6e5a0cc4c4d4fa42d25e4699d67d60db059045f97ba974b2ea4d552683a693
 DIST setuptools-62.3.2-py3-none-any.whl 1225929 BLAKE2B 608952e201f749ebf557e3962ba9856d5bdcbc534f3a25598cab0d6c53282cfb3b9f007ba135497a8addf49db4c02bc4387c486d95a4529d01ce4114154ec28a SHA512 366d69dc44e326dd7549cdacd8dec481a14dce4feef4338adc38b9de5c4c338f04d61696e13ce8603be1315f2e8734100f92d3fe4b4b11843e19f550c9631978
 DIST virtualenv-16.7.12.gh.tar.gz 8906590 BLAKE2B a1f206769e4e5797562906162e492e44c4a72720e4f88a0362dc802ce2df20c65aaab6a72dce2238445601a10fae59bd90cd362217994d30911f105afd71c5fa SHA512 0278b33fb19f6553e70ad3dcffa6ea1a455ff435b216ac9b4fadff216b2932714faa2bb6027af3058010111d8511a5c2fcd424f31c9645be361603971f111c8e
 DIST wheel-0.36.2-py2.py3-none-any.whl 35046 BLAKE2B bc4e8dab7c74eea34d3b4a813b7eaf6295a99a396a861b6cdd76f743043e89140bad132bdd13e385e8945ce02e0798e1d3ac73fc1b23bde5b2a83e4bb4dd5cdc SHA512 6bb5119b4d3704fe1e3c1eaaa3124edab13f61b46f8a0a8e75974fac4e5b25d8b53606071a03a8d8990ad1cfe2ab247ddea260098df2c0c35ae965be47080284

diff --git a/dev-python/pip/pip-22.3.ebuild b/dev-python/pip/pip-22.3.ebuild
new file mode 100644
index 000000000000..a68d14862a7d
--- /dev/null
+++ b/dev-python/pip/pip-22.3.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# please bump dev-python/ensurepip-wheels along with this package!
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_TESTED=( python3_{8..10} )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_11 pypy3 )
+PYTHON_REQ_USE="ssl(+),threads(+)"
+
+inherit bash-completion-r1 distutils-r1 multiprocessing
+
+# setuptools & wheel .whl files are required for testing,
+# the exact version is not very important.
+SETUPTOOLS_WHL="setuptools-62.3.2-py3-none-any.whl"
+WHEEL_WHL="wheel-0.36.2-py2.py3-none-any.whl"
+# upstream still requires virtualenv-16 for testing, we are now fetching
+# it directly to avoid blockers with virtualenv-20
+VENV_PV=16.7.12
+
+DESCRIPTION="The PyPA recommended tool for installing Python packages"
+HOMEPAGE="
+	https://pip.pypa.io/en/stable/
+	https://pypi.org/project/pip/
+	https://github.com/pypa/pip/
+"
+SRC_URI="
+	https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
+	test? (
+		https://files.pythonhosted.org/packages/py3/s/setuptools/${SETUPTOOLS_WHL}
+		https://files.pythonhosted.org/packages/py2.py3/w/wheel/${WHEEL_WHL}
+		https://github.com/pypa/virtualenv/archive/${VENV_PV}.tar.gz
+			-> virtualenv-${VENV_PV}.gh.tar.gz
+	)
+"
+
+LICENSE="MIT"
+# bundled deps
+LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+SLOT="0"
+IUSE="test-rust vanilla"
+
+RDEPEND="
+	>=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	${RDEPEND}
+	test? (
+		$(python_gen_cond_dep '
+			dev-python/freezegun[${PYTHON_USEDEP}]
+			dev-python/pretend[${PYTHON_USEDEP}]
+			dev-python/pytest-xdist[${PYTHON_USEDEP}]
+			dev-python/scripttest[${PYTHON_USEDEP}]
+			dev-python/tomli-w[${PYTHON_USEDEP}]
+			dev-python/werkzeug[${PYTHON_USEDEP}]
+			dev-python/wheel[${PYTHON_USEDEP}]
+			test-rust? (
+				dev-python/cryptography[${PYTHON_USEDEP}]
+			)
+		' "${PYTHON_TESTED[@]}")
+	)
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+	local PATCHES=(
+		"${FILESDIR}/pip-22.2.1-no-coverage.patch"
+	)
+	if ! use vanilla; then
+		PATCHES+=( "${FILESDIR}/pip-20.0.2-disable-system-install.patch" )
+	fi
+
+	distutils-r1_python_prepare_all
+
+	if use test; then
+		mkdir tests/data/common_wheels/ || die
+		cp "${DISTDIR}"/{${SETUPTOOLS_WHL},${WHEEL_WHL}} \
+			tests/data/common_wheels/ || die
+	fi
+}
+
+python_compile_all() {
+	# 'pip completion' command embeds full $0 into completion script, which confuses
+	# 'complete' and causes QA warning when running as "${PYTHON} -m pip".
+	# This trick sets correct $0 while still calling just installed pip.
+	local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())'
+	"${EPYTHON}" -c "${pipcmd}" completion --bash > completion.bash || die
+	"${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die
+}
+
+python_test() {
+	if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
+		einfo "Skipping tests on ${EPYTHON} since virtualenv-16 is broken"
+		return 0
+	fi
+
+	local EPYTEST_DESELECT=(
+		tests/functional/test_inspect.py::test_inspect_basic
+		tests/functional/test_install.py::test_double_install_fail
+		tests/functional/test_list.py::test_multiple_exclude_and_normalization
+		# Internet
+		tests/functional/test_install.py::test_install_dry_run
+		tests/functional/test_install.py::test_install_editable_with_prefix_setup_cfg
+		tests/functional/test_install.py::test_editable_install__local_dir_no_setup_py_with_pyproject
+		tests/functional/test_install.py::test_editable_install__local_dir_setup_requires_with_pyproject
+	)
+
+	if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then
+		EPYTEST_DESELECT+=(
+			tests/functional/test_install.py::test_install_sends_client_cert
+			tests/functional/test_install_config.py::test_do_not_prompt_for_authentication
+			tests/functional/test_install_config.py::test_prompt_for_authentication
+			tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed
+		)
+	fi
+
+	local -x GENTOO_PIP_TESTING=1
+	local -x PYTHONPATH="${WORKDIR}/virtualenv-${VENV_PV}"
+	local -x SETUPTOOLS_USE_DISTUTILS=stdlib
+	local -x PIP_DISABLE_PIP_VERSION_CHECK=1
+	epytest -m "not network" -n "$(makeopts_jobs)"
+}
+
+python_install_all() {
+	local DOCS=( AUTHORS.txt docs/html/**/*.rst )
+	distutils-r1_python_install_all
+
+	newbashcomp completion.bash pip
+
+	insinto /usr/share/zsh/site-functions
+	newins completion.zsh _pip
+}


             reply	other threads:[~2022-10-16  5:41 UTC|newest]

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

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=1665898859.be3239b980776d960539d766a9e23648231d793e.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