From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pip/
Date: Sun, 6 Dec 2020 12:21:24 +0000 (UTC) [thread overview]
Message-ID: <1607257282.cad68640d6af921d1209b5e6025e1728ec5c8131.mgorny@gentoo> (raw)
commit: cad68640d6af921d1209b5e6025e1728ec5c8131
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 6 08:54:14 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec 6 12:21:22 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cad68640
dev-python/pip: Bump to 20.3.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pip/Manifest | 1 +
dev-python/pip/pip-20.3.1.ebuild | 150 +++++++++++++++++++++++++++++++++++++++
2 files changed, 151 insertions(+)
diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index 09a8ce24361..4cb7d2c8cf5 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1,3 +1,4 @@
DIST pip-20.2.4.tar.gz 8723163 BLAKE2B 4b892950b6752b61af2f6a9d2c0a6f5db124cb7605d6cb9d4787bdbd88911cc6013474dd299f6eb5b1af4a8fa0ab6d3c5253513af182045a50cb463ced8382ea SHA512 649fdc6baa1ebe741717bd1e5ed8f2450d79f8bc0d06f2804c27488be9018f6fa6cc2eccc3ec2801442073f59ac0b8c377612c25116126aa919aa95050f4214f
+DIST pip-20.3.1.tar.gz 8753852 BLAKE2B dbcf719ed6a1e4f39f08c39df0cb4abf4284f6cd68c9fbd1282b17714aff9df9e33dd2a4a1af89f45ce5131a858f7d392c11447fe9aceba9d3be2ebe1529818d SHA512 6061004b51e57e428a7eef02968fbbde02311ee184019c491012758010bffcb49d371c7612bc43cfacf96fe8de37fdcad34e3cadefc46b3b5962b0c716ee5d59
DIST setuptools-44.0.0-py2.py3-none-any.whl 583230 BLAKE2B 823e6792471660f247e30a938aa869d345a63db7294e5f9b4bd88f15a7694779011d29740fe317149620985f705fc6e18cbb07a18e5680cc11d7c229ffbc74f6 SHA512 7006fd303181afbeeec0e30cafb9fd1e4d3c6f55cfdd6343fedbc32b17dbb96b3d96ae37f4db27bfb168738727474cf425904ec280ff1d2b789fc48077a8fa84
DIST wheel-0.34.2-py2.py3-none-any.whl 26502 BLAKE2B 3a1bd4571c582245b60ff33c9bf74ff8a2ebafb26e56fc7b9bd215058d059b6bd13bbe21ce46002af257813a54126f27e19253f211e21c4548c7cf84cd15caf7 SHA512 4f1a44f4691ed8baad777d7874f7f4da96a5019eb485fd3a9eed9259aa2a9d5acccc6dc63a72128664347c64ee039a6076c6ca9c3b75a1f94457967864e522ed
diff --git a/dev-python/pip/pip-20.3.1.ebuild b/dev-python/pip/pip-20.3.1.ebuild
new file mode 100644
index 00000000000..7987289ca6a
--- /dev/null
+++ b/dev-python/pip/pip-20.3.1.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
+PYTHON_REQ_USE="ssl(+),threads(+)"
+
+inherit bash-completion-r1 distutils-r1 multiprocessing
+
+SETUPTOOLS_PV="44.0.0"
+WHEEL_PV="0.34.2"
+
+DESCRIPTION="Installs python packages -- replacement for easy_install"
+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}.tar.gz
+ test? (
+ https://files.pythonhosted.org/packages/py2.py3/s/setuptools/setuptools-${SETUPTOOLS_PV}-py2.py3-none-any.whl
+ https://files.pythonhosted.org/packages/py2.py3/w/wheel/wheel-${WHEEL_PV}-py2.py3-none-any.whl
+ )
+"
+# PyPI archive does not have tests, so we need to download from GitHub.
+# setuptools & wheel .whl files are required for testing, exact version is not very important.
+
+LICENSE="MIT"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+SLOT="0"
+IUSE="test -vanilla"
+
+# disable-system-install patch breaks tests
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
+"
+DEPEND="
+ ${RDEPEND}
+ test? (
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ dev-python/csv23[${PYTHON_USEDEP}]
+ dev-python/freezegun[${PYTHON_USEDEP}]
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pretend[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/scripttest[${PYTHON_USEDEP}]
+ <dev-python/virtualenv-20[${PYTHON_USEDEP}]
+ dev-python/werkzeug[${PYTHON_USEDEP}]
+ dev-python/wheel[${PYTHON_USEDEP}]
+ )
+"
+
+python_prepare_all() {
+ local PATCHES=(
+ "${FILESDIR}/${PN}-19.3-disable-version-check.patch"
+ "${FILESDIR}/${PN}-20.2-no-coverage.patch"
+ )
+ if ! use vanilla; then
+ PATCHES+=( "${FILESDIR}/pip-20.0.2-disable-system-install.patch" )
+ fi
+
+ # TODO
+ rm tests/functional/test_new_resolver_user.py || die
+
+ distutils-r1_python_prepare_all
+
+ if use test; then
+ mkdir tests/data/common_wheels/ || die
+ cp "${DISTDIR}"/setuptools-${SETUPTOOLS_PV}-py2.py3-none-any.whl \
+ tests/data/common_wheels/ || die
+
+ cp "${DISTDIR}"/wheel-${WHEEL_PV}-py2.py3-none-any.whl \
+ tests/data/common_wheels/ || die
+ fi
+}
+
+python_test() {
+ if [[ ${EPYTHON} == pypy* ]]; then
+ ewarn "Skipping tests on ${EPYTHON} since they are very broken"
+ return 0
+ fi
+
+ local -a exclude_tests
+
+ # these will be built in to an expression passed to pytest to exclude
+ exclude_tests=(
+ git
+ svn
+ bazaar
+ mercurial
+ version_check
+ uninstall_non_local_distutils
+ pep518_uses_build_env
+ install_package_with_root
+ install_editable_with_prefix
+ install_user_wheel
+ install_from_current_directory_into_usersite
+ uninstall_editable_from_usersite
+ uninstall_from_usersite_with_dist_in_global_site
+ build_env_isolation
+ user_config_accepted
+ # these fail with new setuptools + distutils_install_for_testing
+ double_install_fail
+ multiple_exclude_and_normalization
+ )
+
+ distutils_install_for_testing --via-root
+
+ # generate the expression to exclude failing tests
+ local exclude_expr
+ printf -v exclude_expr "or %s " "${exclude_tests[@]}" || die
+ exclude_expr="not (${exclude_expr#or })" || die
+
+ local -x GENTOO_PIP_TESTING=1 \
+ PATH="${TEST_DIR}/scripts:${PATH}" \
+ PYTHONPATH="${TEST_DIR}/lib:${BUILD_DIR}/lib"
+
+ pytest -vv \
+ -k "${exclude_expr}" \
+ -m "not network" \
+ || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ # Prevent dbus auto-launch
+ # https://bugs.gentoo.org/692178
+ export DBUS_SESSION_BUS_ADDRESS="disabled:"
+
+ local DOCS=( AUTHORS.txt docs/html/**/*.rst )
+ distutils-r1_python_install_all
+
+ COMPLETION="${T}"/completion.tmp
+
+ # '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"; import pip.__main__; sys.exit(pip.__main__._main())'
+
+ ${PYTHON} -c "${pipcmd}" completion --bash > "${COMPLETION}" || die
+ newbashcomp "${COMPLETION}" ${PN}
+
+ ${PYTHON} -c "${pipcmd}" completion --zsh > "${COMPLETION}" || die
+ insinto /usr/share/zsh/site-functions
+ newins "${COMPLETION}" _pip
+}
next reply other threads:[~2020-12-06 12:21 UTC|newest]
Thread overview: 276+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-06 12:21 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-16 20:33 [gentoo-commits] repo/gentoo:master commit in: dev-python/pip/ Michał Górny
2025-02-10 5:47 Michał Górny
2025-01-27 13:26 Michał Górny
2025-01-27 7:28 Michał Górny
2025-01-06 3:47 WANG Xuerui
2025-01-04 17:30 Sam James
2024-11-30 19:29 Michał Górny
2024-11-30 11:55 Michał Górny
2024-11-30 11:53 Michał Górny
2024-11-30 11:49 Michał Górny
2024-11-10 3:03 Eli Schwartz
2024-11-09 13:57 Michał Górny
2024-11-09 13:30 Michał Górny
2024-10-25 12:09 Arthur Zamarin
2024-08-17 11:15 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-16 5:41 Arthur Zamarin
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-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=1607257282.cad68640d6af921d1209b5e6025e1728ec5c8131.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