[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2024-07-16 Thread Michał Górny
commit: 5ff4bc32eff99cbd961d273979be1d6f6768b3cb
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul 17 04:07:44 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul 17 04:07:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ff4bc32

dev-python/pip-run: Bump to 13.0.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/Manifest  |  1 +
 dev-python/pip-run/pip-run-13.0.0.ebuild | 50 
 2 files changed, 51 insertions(+)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index 36f373877873..3339f8997739 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -1,2 +1,3 @@
 DIST pip-run-12.6.1.tar.gz 38868 BLAKE2B 
852e8207fc5951a4007f761c18dd06b483a0658d3ab3f51e667b5f0a204fe2f2c530ade5d2d36005c2a25d564cb779b5d2911aeaf5e046477631958172414352
 SHA512 
b4dcdf0d96061b7049bd8ad25e20f36fe305fe04148937cab3be91ab8fc95849b07b14d2948eb0d5172d36f5ef561b80cff07b1203c62f117c52eb5d265e9356
 DIST pip_run-12.7.0.tar.gz 39346 BLAKE2B 
8e3f925310ea07b243f91e4b2afbc3aa87ce3bf2a55e6e9c8e1479f0e5002dd8937808d6c75b2348d6784c06abfdf78b75931d1de68237956a784c649398
 SHA512 
81708b966071956f21e0eb12229653171e161835a875182bc317428096b9a67b2272047c09871e216dab75b64c9aa3e50440602634522d217df653cd5175a833
+DIST pip_run-13.0.0.tar.gz 38947 BLAKE2B 
73a3a2ca97e4a9eab0e32ed487b7b231a92fcb9fa9084eb3f3ffb3b0a1468274fdc0cac530c02dd785b51f7ddc3f24d24feb6a7b38de2e20e893c1618f935ff7
 SHA512 
9683350d85cbb9298b8844f1b9a71f5d41d13f0812a5416066e731651153a57625a1ee91b37b6cfcf2e83cba3eaa890c078c13f9df8a2812b6070e21a7194d11

diff --git a/dev-python/pip-run/pip-run-13.0.0.ebuild 
b/dev-python/pip-run/pip-run-13.0.0.ebuild
new file mode 100644
index ..f55fab6dd63b
--- /dev/null
+++ b/dev-python/pip-run/pip-run-13.0.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Install packages and run Python with them"
+HOMEPAGE="
+   https://github.com/jaraco/pip-run/
+   https://pypi.org/project/pip-run/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   dev-python/autocommand[${PYTHON_USEDEP}]
+   dev-python/jaraco-context[${PYTHON_USEDEP}]
+   dev-python/jaraco-env[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-functools-3.7[${PYTHON_USEDEP}]
+   dev-python/jaraco-text[${PYTHON_USEDEP}]
+   >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   >=dev-python/path-15.1[${PYTHON_USEDEP}]
+   >=dev-python/pip-19.3[${PYTHON_USEDEP}]
+   dev-python/platformdirs[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.10)
+"
+BDEPEND="
+   test? (
+   dev-python/flit-core[${PYTHON_USEDEP}]
+   dev-python/jaraco-path[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}]
+   dev-python/nbformat[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   epytest -m "not network"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2024-07-13 Thread Michał Górny
commit: aa94fd460301ae08770b73c26296498e40d6d611
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jul 14 03:18:56 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 14 03:18:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa94fd46

dev-python/pip-run: Bump to 12.7.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/Manifest  |  1 +
 dev-python/pip-run/pip-run-12.7.0.ebuild | 50 
 2 files changed, 51 insertions(+)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index 991aaabcdf2c..36f373877873 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -1 +1,2 @@
 DIST pip-run-12.6.1.tar.gz 38868 BLAKE2B 
852e8207fc5951a4007f761c18dd06b483a0658d3ab3f51e667b5f0a204fe2f2c530ade5d2d36005c2a25d564cb779b5d2911aeaf5e046477631958172414352
 SHA512 
b4dcdf0d96061b7049bd8ad25e20f36fe305fe04148937cab3be91ab8fc95849b07b14d2948eb0d5172d36f5ef561b80cff07b1203c62f117c52eb5d265e9356
+DIST pip_run-12.7.0.tar.gz 39346 BLAKE2B 
8e3f925310ea07b243f91e4b2afbc3aa87ce3bf2a55e6e9c8e1479f0e5002dd8937808d6c75b2348d6784c06abfdf78b75931d1de68237956a784c649398
 SHA512 
81708b966071956f21e0eb12229653171e161835a875182bc317428096b9a67b2272047c09871e216dab75b64c9aa3e50440602634522d217df653cd5175a833

diff --git a/dev-python/pip-run/pip-run-12.7.0.ebuild 
b/dev-python/pip-run/pip-run-12.7.0.ebuild
new file mode 100644
index ..f55fab6dd63b
--- /dev/null
+++ b/dev-python/pip-run/pip-run-12.7.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Install packages and run Python with them"
+HOMEPAGE="
+   https://github.com/jaraco/pip-run/
+   https://pypi.org/project/pip-run/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   dev-python/autocommand[${PYTHON_USEDEP}]
+   dev-python/jaraco-context[${PYTHON_USEDEP}]
+   dev-python/jaraco-env[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-functools-3.7[${PYTHON_USEDEP}]
+   dev-python/jaraco-text[${PYTHON_USEDEP}]
+   >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   >=dev-python/path-15.1[${PYTHON_USEDEP}]
+   >=dev-python/pip-19.3[${PYTHON_USEDEP}]
+   dev-python/platformdirs[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.10)
+"
+BDEPEND="
+   test? (
+   dev-python/flit-core[${PYTHON_USEDEP}]
+   dev-python/jaraco-path[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}]
+   dev-python/nbformat[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   epytest -m "not network"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2024-07-11 Thread James Le Cuirot
commit: 06758c602c14bcd57f3ba88803fcf7ba010eabc8
Author: James Le Cuirot  gentoo  org>
AuthorDate: Thu Jul 11 22:27:41 2024 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Thu Jul 11 22:27:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06758c60

dev-python/pip: Keyword 24.1.1 and 24.1.2 for ~m68k

The tests pass.

Signed-off-by: James Le Cuirot  gentoo.org>

 dev-python/pip/pip-24.1.1.ebuild | 2 +-
 dev-python/pip/pip-24.1.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pip/pip-24.1.1.ebuild b/dev-python/pip/pip-24.1.1.ebuild
index 0dfa389366fb..8b45e1fcb56a 100644
--- a/dev-python/pip/pip-24.1.1.ebuild
+++ b/dev-python/pip/pip-24.1.1.ebuild
@@ -26,7 +26,7 @@ LICENSE="MIT"
 # bundled deps
 LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc64 ~riscv ~sparc 
~x86"
 IUSE="test-rust"
 
 # see src/pip/_vendor/vendor.txt

diff --git a/dev-python/pip/pip-24.1.2.ebuild b/dev-python/pip/pip-24.1.2.ebuild
index b9d4a8f363a9..27a0bac854bf 100644
--- a/dev-python/pip/pip-24.1.2.ebuild
+++ b/dev-python/pip/pip-24.1.2.ebuild
@@ -26,7 +26,7 @@ LICENSE="MIT"
 # bundled deps
 LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc64 ~riscv ~sparc 
~x86"
 IUSE="test-rust"
 
 # see src/pip/_vendor/vendor.txt



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2024-07-08 Thread Michał Górny
commit: 426f4d360664875a7a0fba00361c004f64eb7bdb
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jul  9 00:51:56 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jul  9 02:10:18 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=426f4d36

dev-python/pip: Bump to 24.1.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/Manifest  |   1 +
 dev-python/pip/pip-24.1.2.ebuild | 171 +++
 2 files changed, 172 insertions(+)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index 17338c1045d4..f6b6c6716eb4 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1,3 +1,4 @@
 DIST pip-24.0.gh.tar.gz 9398156 BLAKE2B 
17a7ed9e15e9b8efa0d3e3c5586dc446958b62cf9ba52155a0d1ad97a3e212ee7a08a0e88a592718fc3d542eb8f434155a75cb98d90c008904bd8f59bd2b40b6
 SHA512 
0c2ecb2ecde4f155c83468d35bc4f52f37efffc16821ae7c706d035e1e8cc3709b41cb10f8140ff09205e8bbdba2c76128ad76d1cbd18401328b619228e834df
 DIST pip-24.1.1.gh.tar.gz 9190972 BLAKE2B 
1ce876d2767c1c36bac3237c17a3aced9dd5a335a7b522c70cee1e155bc0b47256db74c6835aab5f58133ebcde0daeb8e6eb217b06f76418c355034cbe736cf6
 SHA512 
523e7273134b68252693ba7a032e7992c72075aebd2bcd895fbd90ad28d76f98b13ea1a7df0b6da1802650782ae977868177f740dc6f0a2eaccb95915c27b318
+DIST pip-24.1.2.gh.tar.gz 9192691 BLAKE2B 
9b5a07e9f10b5787d668766423d8b3a9dfcc62564673155b80c7bc95ffe79daafa8788d8141f67c76d4098c21922e62fcb2164f72bf580bbeec136786c48d512
 SHA512 
222a957030e9c51defa6f741f8e176f2a19bd54f0ef664d2e218d3d2c2b5a335c9b7ce4bd1c804133d6116b3fbf37648453cd85f7a2bcf86a5aeb43e22db4b0f
 DIST pip-24.1.gh.tar.gz 9188658 BLAKE2B 
4a43ff0199d811dd30461e376f655a447f3f706a48dd97fe1d0ccf630f558e72209ccd06d98949a1541cd6b2942a816db23ce8aaa7fbbf9aef429502fb91ab92
 SHA512 
c60ab329fe91202ff64b5f0f90209085fbf8db0f0a05f0703f952ad69e39e2e3edb5dadc006a3f317cdd4ba4fb5abe56dfbd22792249a2d139702eec272186d1

diff --git a/dev-python/pip/pip-24.1.2.ebuild b/dev-python/pip/pip-24.1.2.ebuild
new file mode 100644
index ..b9d4a8f363a9
--- /dev/null
+++ b/dev-python/pip/pip-24.1.2.ebuild
@@ -0,0 +1,171 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# please bump dev-python/ensurepip-pip along with this package!
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_TESTED=( python3_{10..13} )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 )
+PYTHON_REQ_USE="ssl(+),threads(+)"
+
+inherit bash-completion-r1 distutils-r1
+
+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/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+# bundled deps
+LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~riscv ~sparc ~x86"
+IUSE="test-rust"
+
+# see src/pip/_vendor/vendor.txt
+RDEPEND="
+   >=dev-python/cachecontrol-0.14.0[${PYTHON_USEDEP}]
+   >=dev-python/distlib-0.3.8[${PYTHON_USEDEP}]
+   >=dev-python/distro-1.9.0[${PYTHON_USEDEP}]
+   >=dev-python/msgpack-1.0.8[${PYTHON_USEDEP}]
+   >=dev-python/packaging-24.1[${PYTHON_USEDEP}]
+   >=dev-python/platformdirs-4.2.1[${PYTHON_USEDEP}]
+   >=dev-python/pyproject-hooks-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.32.0[${PYTHON_USEDEP}]
+   >=dev-python/rich-13.7.1[${PYTHON_USEDEP}]
+   >=dev-python/resolvelib-1.0.1[${PYTHON_USEDEP}]
+   >=dev-python/setuptools-69.5.1[${PYTHON_USEDEP}]
+   >=dev-python/tenacity-8.2.3[${PYTHON_USEDEP}]
+   >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
+   >=dev-python/truststore-0.9.1[${PYTHON_USEDEP}]
+
+   >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   ${RDEPEND}
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/ensurepip-setuptools
+   dev-python/ensurepip-wheel
+   dev-python/freezegun[${PYTHON_USEDEP}]
+   dev-python/pretend[${PYTHON_USEDEP}]
+   dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   dev-python/scripttest[${PYTHON_USEDEP}]
+   dev-python/tomli-w[${PYTHON_USEDEP}]
+   dev-python/virtualenv[${PYTHON_USEDEP}]
+   dev-python/werkzeug[${PYTHON_USEDEP}]
+   dev-python/wheel[${PYTHON_USEDEP}]
+   test-rust? (
+   dev-python/cryptography[${PYTHON_USEDEP}]
+   )
+   dev-vcs/git
+   ' "${PYTHON_TESTED[@]}")
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   local PATCHES=(
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2024-06-30 Thread Arthur Zamarin
commit: 8acc57e14017833d05c65e316677c5dda9b9afcf
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Jul  1 04:45:26 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Jul  1 04:45:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8acc57e1

dev-python/pip-run: Keyword 12.6.1 mips, #924324

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pip-run/pip-run-12.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.6.1.ebuild 
b/dev-python/pip-run/pip-run-12.6.1.ebuild
index dfeb507c8414..7483c10f42df 100644
--- a/dev-python/pip-run/pip-run-12.6.1.ebuild
+++ b/dev-python/pip-run/pip-run-12.6.1.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2024-06-26 Thread Michał Górny
commit: 44486f11f0be65be6fac50e0f46cfde9fb0d42b8
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun 27 01:41:35 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 27 02:53:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44486f11

dev-python/pip: Bump to 24.1.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/Manifest  |   1 +
 dev-python/pip/pip-24.1.1.ebuild | 176 +++
 2 files changed, 177 insertions(+)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index 2fd0cf6f1120..17338c1045d4 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1,2 +1,3 @@
 DIST pip-24.0.gh.tar.gz 9398156 BLAKE2B 
17a7ed9e15e9b8efa0d3e3c5586dc446958b62cf9ba52155a0d1ad97a3e212ee7a08a0e88a592718fc3d542eb8f434155a75cb98d90c008904bd8f59bd2b40b6
 SHA512 
0c2ecb2ecde4f155c83468d35bc4f52f37efffc16821ae7c706d035e1e8cc3709b41cb10f8140ff09205e8bbdba2c76128ad76d1cbd18401328b619228e834df
+DIST pip-24.1.1.gh.tar.gz 9190972 BLAKE2B 
1ce876d2767c1c36bac3237c17a3aced9dd5a335a7b522c70cee1e155bc0b47256db74c6835aab5f58133ebcde0daeb8e6eb217b06f76418c355034cbe736cf6
 SHA512 
523e7273134b68252693ba7a032e7992c72075aebd2bcd895fbd90ad28d76f98b13ea1a7df0b6da1802650782ae977868177f740dc6f0a2eaccb95915c27b318
 DIST pip-24.1.gh.tar.gz 9188658 BLAKE2B 
4a43ff0199d811dd30461e376f655a447f3f706a48dd97fe1d0ccf630f558e72209ccd06d98949a1541cd6b2942a816db23ce8aaa7fbbf9aef429502fb91ab92
 SHA512 
c60ab329fe91202ff64b5f0f90209085fbf8db0f0a05f0703f952ad69e39e2e3edb5dadc006a3f317cdd4ba4fb5abe56dfbd22792249a2d139702eec272186d1

diff --git a/dev-python/pip/pip-24.1.1.ebuild b/dev-python/pip/pip-24.1.1.ebuild
new file mode 100644
index ..439924ebd199
--- /dev/null
+++ b/dev-python/pip/pip-24.1.1.ebuild
@@ -0,0 +1,176 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# please bump dev-python/ensurepip-pip along with this package!
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_TESTED=( python3_{10..13} )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 )
+PYTHON_REQ_USE="ssl(+),threads(+)"
+
+inherit bash-completion-r1 distutils-r1
+
+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/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+# bundled deps
+LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc"
+IUSE="test-rust"
+
+# see src/pip/_vendor/vendor.txt
+RDEPEND="
+   >=dev-python/cachecontrol-0.14.0[${PYTHON_USEDEP}]
+   >=dev-python/distlib-0.3.8[${PYTHON_USEDEP}]
+   >=dev-python/distro-1.9.0[${PYTHON_USEDEP}]
+   >=dev-python/msgpack-1.0.8[${PYTHON_USEDEP}]
+   >=dev-python/packaging-24.1[${PYTHON_USEDEP}]
+   >=dev-python/platformdirs-4.2.1[${PYTHON_USEDEP}]
+   >=dev-python/pyproject-hooks-1.0.0[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.32.0[${PYTHON_USEDEP}]
+   >=dev-python/rich-13.7.1[${PYTHON_USEDEP}]
+   >=dev-python/resolvelib-1.0.1[${PYTHON_USEDEP}]
+   >=dev-python/setuptools-69.5.1[${PYTHON_USEDEP}]
+   >=dev-python/tenacity-8.2.3[${PYTHON_USEDEP}]
+   >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
+   >=dev-python/truststore-0.9.1[${PYTHON_USEDEP}]
+
+   >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   ${RDEPEND}
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/ensurepip-setuptools
+   dev-python/ensurepip-wheel
+   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/virtualenv[${PYTHON_USEDEP}]
+   dev-python/werkzeug[${PYTHON_USEDEP}]
+   dev-python/wheel[${PYTHON_USEDEP}]
+   test-rust? (
+   dev-python/cryptography[${PYTHON_USEDEP}]
+   )
+   dev-vcs/git
+   ' "${PYTHON_TESTED[@]}")
+   )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+   local PATCHES=(
+   "${FILESDIR}/pip-23.1-no-coverage.patch"
+   # https://github.com/pypa/pip/issues/12786 (and more)
+   "${FILESDIR}/pip-24.1-test-offline.patch"
+   # prepare to unbundle dependencies
+   "${FILESDIR}/pip-24.1-unbundle.patch"
+   )
+
+   distutils-r1_python_prepare_all
+
+   # unbundle dependencies
+   rm -r src/pip/_vendor || die
+   find 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2024-06-25 Thread Sam James
commit: abec97edbf630cc16c11fe15e23af6d17aaae243
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 25 23:15:32 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 25 23:15:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abec97ed

dev-python/pip: Keyword 24.1-r1 ppc64, #934778

Signed-off-by: Sam James  gentoo.org>

 dev-python/pip/pip-24.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip/pip-24.1-r1.ebuild 
b/dev-python/pip/pip-24.1-r1.ebuild
index bc64b4aa107e..439924ebd199 100644
--- a/dev-python/pip/pip-24.1-r1.ebuild
+++ b/dev-python/pip/pip-24.1-r1.ebuild
@@ -26,7 +26,7 @@ LICENSE="MIT"
 # bundled deps
 LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~sparc"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc"
 IUSE="test-rust"
 
 # see src/pip/_vendor/vendor.txt



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2024-06-24 Thread Jakov Smolić
commit: 9e1adbb32bbd02aaf0ae59cef36fc9fed4c7d3be
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Jun 24 17:57:19 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Jun 24 17:57:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e1adbb3

dev-python/pip: Keyword 24.1-r1 riscv, #934778

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/pip/pip-24.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip/pip-24.1-r1.ebuild 
b/dev-python/pip/pip-24.1-r1.ebuild
index 96fe20b206a0..bc64b4aa107e 100644
--- a/dev-python/pip/pip-24.1-r1.ebuild
+++ b/dev-python/pip/pip-24.1-r1.ebuild
@@ -26,7 +26,7 @@ LICENSE="MIT"
 # bundled deps
 LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~sparc"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~sparc"
 IUSE="test-rust"
 
 # see src/pip/_vendor/vendor.txt



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2024-06-23 Thread Sam James
commit: d49f1d73200051bb2df82219521da2c7189fcb6f
Author: Sam James  gentoo  org>
AuthorDate: Mon Jun 24 00:13:23 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun 24 00:13:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d49f1d73

dev-python/pip: Keyword 24.1-r1 sparc, #934778

Signed-off-by: Sam James  gentoo.org>

 dev-python/pip/pip-24.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip/pip-24.1-r1.ebuild 
b/dev-python/pip/pip-24.1-r1.ebuild
index 286769f423aa..96fe20b206a0 100644
--- a/dev-python/pip/pip-24.1-r1.ebuild
+++ b/dev-python/pip/pip-24.1-r1.ebuild
@@ -26,7 +26,7 @@ LICENSE="MIT"
 # bundled deps
 LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64"
+KEYWORDS="~amd64 ~arm ~arm64 ~sparc"
 IUSE="test-rust"
 
 # see src/pip/_vendor/vendor.txt



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2024-06-23 Thread Sam James
commit: 31a14d20df38fe9c06ea88970a1d82ce531d0287
Author: Sam James  gentoo  org>
AuthorDate: Sun Jun 23 20:18:44 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jun 23 20:18:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31a14d20

dev-python/pip: Keyword 24.1-r1 arm, #934778

Signed-off-by: Sam James  gentoo.org>

 dev-python/pip/pip-24.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip/pip-24.1-r1.ebuild 
b/dev-python/pip/pip-24.1-r1.ebuild
index f9ad1e10049f..286769f423aa 100644
--- a/dev-python/pip/pip-24.1-r1.ebuild
+++ b/dev-python/pip/pip-24.1-r1.ebuild
@@ -26,7 +26,7 @@ LICENSE="MIT"
 # bundled deps
 LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64"
+KEYWORDS="~amd64 ~arm ~arm64"
 IUSE="test-rust"
 
 # see src/pip/_vendor/vendor.txt



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/, dev-python/pip/files/

2024-06-23 Thread Michał Górny
commit: b34aef88e0ead714fdde2d5192ce97f6171b9a06
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jun 23 16:29:05 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 23 17:32:55 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b34aef88

dev-python/pip: Unbundle dependencies

Closes: https://bugs.gentoo.org/832403
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/files/pip-24.1-unbundle.patch | 193 +++
 dev-python/pip/pip-24.1-r1.ebuild| 176 
 2 files changed, 369 insertions(+)

diff --git a/dev-python/pip/files/pip-24.1-unbundle.patch 
b/dev-python/pip/files/pip-24.1-unbundle.patch
new file mode 100644
index ..676ffa36094b
--- /dev/null
+++ b/dev-python/pip/files/pip-24.1-unbundle.patch
@@ -0,0 +1,193 @@
+diff --git a/src/pip/_internal/commands/debug.py 
b/src/pip/_internal/commands/debug.py
+index 567ca967e..427bfcf04 100644
+--- a/src/pip/_internal/commands/debug.py
 b/src/pip/_internal/commands/debug.py
+@@ -6,7 +6,6 @@ from optparse import Values
+ from types import ModuleType
+ from typing import Any, Dict, List, Optional
+ 
+-import pip._vendor
+ from pip._vendor.certifi import where
+ from pip._vendor.packaging.version import parse as parse_version
+ 
+@@ -192,9 +191,7 @@ class DebugCommand(Command):
+ show_value("REQUESTS_CA_BUNDLE", os.environ.get("REQUESTS_CA_BUNDLE"))
+ show_value("CURL_CA_BUNDLE", os.environ.get("CURL_CA_BUNDLE"))
+ show_value("pip._vendor.certifi.where()", where())
+-show_value("pip._vendor.DEBUNDLED", pip._vendor.DEBUNDLED)
+-
+-show_vendor_versions()
++show_value("pip._vendor.DEBUNDLED", True)
+ 
+ show_tags(options)
+ 
+diff --git a/tests/conftest.py b/tests/conftest.py
+index 35101cef2..840663fed 100644
+--- a/tests/conftest.py
 b/tests/conftest.py
+@@ -413,6 +413,7 @@ def _common_wheel_editable_install(
+ assert len(wheel_candidates) == 1, wheel_candidates
+ install_dir = tmpdir_factory.mktemp(package) / "install"
+ lib_install_dir = install_dir / "lib"
++return lib_install_dir
+ bin_install_dir = install_dir / "bin"
+ with WheelFile.open(wheel_candidates[0]) as source:
+ install(
+diff --git a/tests/functional/test_check.py b/tests/functional/test_check.py
+index 46ecdcc64..6507febfa 100644
+--- a/tests/functional/test_check.py
 b/tests/functional/test_check.py
+@@ -6,10 +6,8 @@ from tests.lib import PipTestEnvironment, 
create_test_package_with_setup
+ def matches_expected_lines(string: str, expected_lines: Collection[str]) -> 
bool:
+ # Ignore empty lines
+ output_lines = list(filter(None, string.splitlines()))
+-# We'll match the last n lines, given n lines to match.
+-last_few_output_lines = output_lines[-len(expected_lines) :]
+ # And order does not matter
+-return set(last_few_output_lines) == set(expected_lines)
++return set(expected_lines).issubset(set(output_lines))
+ 
+ 
+ def test_basic_check_clean(script: PipTestEnvironment) -> None:
+diff --git a/tests/functional/test_freeze.py b/tests/functional/test_freeze.py
+index b7af974ea..144f79483 100644
+--- a/tests/functional/test_freeze.py
 b/tests/functional/test_freeze.py
+@@ -80,8 +80,8 @@ def test_basic_freeze(script: PipTestEnvironment) -> None:
+ result = script.pip("freeze", expect_stderr=True)
+ expected = textwrap.dedent(
+ """\
+-...simple==2.0
+-simple2==3.0...
++...simple==2.0...
++...simple2==3.0...
+ """
+ )
+ _check_output(result.stdout, expected)
+@@ -1014,7 +1014,7 @@ def test_freeze_skip_work_dir_pkg(script: 
PipTestEnvironment) -> None:
+ 
+ # Freeze should not include package simple when run from package directory
+ result = script.pip("freeze", cwd=pkg_path)
+-assert "simple" not in result.stdout
++assert "\nsimple==" not in result.stdout
+ 
+ 
+ def test_freeze_include_work_dir_pkg(script: PipTestEnvironment) -> None:
+diff --git a/tests/functional/test_install_check.py 
b/tests/functional/test_install_check.py
+index 8a8a7c93a..bbda083f7 100644
+--- a/tests/functional/test_install_check.py
 b/tests/functional/test_install_check.py
+@@ -57,6 +57,7 @@ def test_check_install_canonicalization(script: 
PipTestEnvironment) -> None:
+ )
+ assert "requires" not in result.stderr
+ assert result.returncode == 0
++return
+ 
+ # Double check that all errors are resolved in the end
+ result = script.pip("check")
+diff --git a/tests/functional/test_list.py b/tests/functional/test_list.py
+index 5164c1d5c..ce0a81aea 100644
+--- a/tests/functional/test_list.py
 b/tests/functional/test_list.py
+@@ -1,5 +1,6 @@
+ import json
+ import os
++import re
+ from pathlib import Path
+ 
+ import pytest
+@@ -41,8 +42,8 @@ def test_basic_list(simple_script: PipTestEnvironment) -> 
None:
+ 
+ """
+ result = simple_script.pip("list")
+-

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/, dev-python/pip/files/

2024-06-22 Thread Michał Górny
commit: 8e3f1d24607966e75cbecad51fdef92d4e9be4e5
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 22 16:31:27 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 22 16:39:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e3f1d24

dev-python/pip: Bump to 24.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/Manifest  |   1 +
 dev-python/pip/files/pip-24.1-test-offline.patch |  65 +++
 dev-python/pip/pip-24.1.ebuild   | 137 +++
 3 files changed, 203 insertions(+)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index 3116dbf3047d..2fd0cf6f1120 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1 +1,2 @@
 DIST pip-24.0.gh.tar.gz 9398156 BLAKE2B 
17a7ed9e15e9b8efa0d3e3c5586dc446958b62cf9ba52155a0d1ad97a3e212ee7a08a0e88a592718fc3d542eb8f434155a75cb98d90c008904bd8f59bd2b40b6
 SHA512 
0c2ecb2ecde4f155c83468d35bc4f52f37efffc16821ae7c706d035e1e8cc3709b41cb10f8140ff09205e8bbdba2c76128ad76d1cbd18401328b619228e834df
+DIST pip-24.1.gh.tar.gz 9188658 BLAKE2B 
4a43ff0199d811dd30461e376f655a447f3f706a48dd97fe1d0ccf630f558e72209ccd06d98949a1541cd6b2942a816db23ce8aaa7fbbf9aef429502fb91ab92
 SHA512 
c60ab329fe91202ff64b5f0f90209085fbf8db0f0a05f0703f952ad69e39e2e3edb5dadc006a3f317cdd4ba4fb5abe56dfbd22792249a2d139702eec272186d1

diff --git a/dev-python/pip/files/pip-24.1-test-offline.patch 
b/dev-python/pip/files/pip-24.1-test-offline.patch
new file mode 100644
index ..ebbf5a94a1ba
--- /dev/null
+++ b/dev-python/pip/files/pip-24.1-test-offline.patch
@@ -0,0 +1,65 @@
+diff --git a/tests/conftest.py b/tests/conftest.py
+index 35101cef2..5934e9f95 100644
+--- a/tests/conftest.py
 b/tests/conftest.py
+@@ -395,6 +395,7 @@ def pip_editable_parts(
+ "-m",
+ "pip",
+ "install",
++"--no-build-isolation",
+ "--target",
+ pip_self_install_path,
+ "-e",
+diff --git a/tests/functional/test_config_settings.py 
b/tests/functional/test_config_settings.py
+index 3f88d9c39..857722dd1 100644
+--- a/tests/functional/test_config_settings.py
 b/tests/functional/test_config_settings.py
+@@ -118,6 +118,7 @@ def test_config_settings_implies_pep517(
+ )
+ result = script.pip(
+ "wheel",
++"--no-build-isolation",
+ "--config-settings",
+ "FOO=Hello",
+ pkg_path,
+diff --git a/tests/functional/test_install.py 
b/tests/functional/test_install.py
+index eaea12a16..e19446385 100644
+--- a/tests/functional/test_install.py
 b/tests/functional/test_install.py
+@@ -685,7 +685,7 @@ def test_link_hash_in_dep_fails_require_hashes(
+ # Build a wheel for pkga and compute its hash.
+ wheelhouse = tmp_path / "wheehouse"
+ wheelhouse.mkdir()
+-script.pip("wheel", "--no-deps", "-w", wheelhouse, project_path)
++script.pip("wheel", "--no-build-isolation", "--no-deps", "-w", 
wheelhouse, project_path)
+ digest = hashlib.sha256(
+ wheelhouse.joinpath("pkga-1.0-py3-none-any.whl").read_bytes()
+ ).hexdigest()
+@@ -903,7 +903,7 @@ def 
test_editable_install__local_dir_setup_requires_with_pyproject(
+ "setup(name='dummy', setup_requires=['simplewheel'])\n"
+ )
+ 
+-script.pip("install", "--find-links", shared_data.find_links, "-e", 
local_dir)
++script.pip("install", "--no-build-isolation", "--find-links", 
shared_data.find_links, "-e", local_dir)
+ 
+ 
+ def test_install_pre__setup_requires_with_pyproject(
+diff --git a/tests/functional/test_self_update.py 
b/tests/functional/test_self_update.py
+index c50755220..1331a87c3 100644
+--- a/tests/functional/test_self_update.py
 b/tests/functional/test_self_update.py
+@@ -11,12 +11,12 @@ def test_self_update_editable(script: Any, pip_src: Any) 
-> None:
+ # Step 1. Install pip as non-editable. This is expected to succeed as
+ # the existing pip in the environment is installed in editable mode, so
+ # it only places a .pth file in the environment.
+-proc = script.pip("install", pip_src)
++proc = script.pip("install", "--no-build-isolation", pip_src)
+ assert proc.returncode == 0
+ # Step 2. Using the pip we just installed, install pip *again*, but
+ # in editable mode. This could fail, as we'll need to uninstall the 
running
+ # pip in order to install the new copy, and uninstalling pip while it's
+ # running could fail. This test is specifically to ensure that doesn't
+ # happen...
+-proc = script.pip("install", "-e", pip_src)
++proc = script.pip("install", "--no-build-isolation", "-e", pip_src)
+ assert proc.returncode == 0

diff --git a/dev-python/pip/pip-24.1.ebuild b/dev-python/pip/pip-24.1.ebuild
new file mode 100644
index ..f755b06a67b7
--- /dev/null
+++ b/dev-python/pip/pip-24.1.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2024-05-14 Thread Michał Górny
commit: 88e2ad51ae862551284fe5dd83b6b9a0ea47d280
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 14 15:42:09 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 14 15:58:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88e2ad51

dev-python/pip-run: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/pip-run-12.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.6.1.ebuild 
b/dev-python/pip-run/pip-run-12.6.1.ebuild
index a9d57b961bdf..dfeb507c8414 100644
--- a/dev-python/pip-run/pip-run-12.6.1.ebuild
+++ b/dev-python/pip-run/pip-run-12.6.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
 
 inherit distutils-r1 pypi
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2024-05-11 Thread Michał Górny
commit: 757a832e3118f4b676480254b22f63a81d8ddbdf
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 11 09:58:46 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 11 09:58:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=757a832e

dev-python/pip: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/pip-24.0.ebuild | 13 +++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/dev-python/pip/pip-24.0.ebuild b/dev-python/pip/pip-24.0.ebuild
index 8e9ed0858608..2095bfc0da41 100644
--- a/dev-python/pip/pip-24.0.ebuild
+++ b/dev-python/pip/pip-24.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 # please bump dev-python/ensurepip-pip along with this package!
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_TESTED=( python3_{10..12} )
+PYTHON_TESTED=( python3_{10..13} )
 PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 )
 PYTHON_REQ_USE="ssl(+),threads(+)"
 
@@ -109,6 +109,15 @@ python_test() {
fi
 
case ${EPYTHON} in
+   python3.13)
+   EPYTEST_DESELECT+=(
+   # hacky upstream time mocking stopped working, 
they have it
+   # failing on CI already too
+   
tests/unit/test_base_command.py::test_log_command_success
+   
tests/unit/test_base_command.py::test_log_command_error
+   
tests/unit/test_base_command.py::test_log_file_command_error
+   )
+   ;;
python3.10)
EPYTEST_DESELECT+=(
# no clue why they fail
@@ -122,7 +131,7 @@ python_test() {
local -x PIP_DISABLE_PIP_VERSION_CHECK=1
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local EPYTEST_XDIST=1
-   epytest -m "not network"
+   epytest -m "not network" -o tmp_path_retention_policy=all
 }
 
 python_install_all() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2024-05-11 Thread Michał Górny
commit: 0eed8674ed2c34142761d8665c706dd47ded1955
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 11 10:01:30 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 11 10:01:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eed8674

dev-python/pip: Fix variable order

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/pip-24.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip/pip-24.0.ebuild b/dev-python/pip/pip-24.0.ebuild
index 2095bfc0da41..ffcadb6fa1cb 100644
--- a/dev-python/pip/pip-24.0.ebuild
+++ b/dev-python/pip/pip-24.0.ebuild
@@ -25,8 +25,8 @@ SRC_URI="
 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"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 IUSE="test-rust"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2024-03-02 Thread Michał Górny
commit: ddd9392d9fd76ac0dd68d3d92ce8f5234f057187
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Mar  2 11:37:39 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Mar  2 11:43:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddd9392d

dev-python/pip-run: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/Manifest  |  1 -
 dev-python/pip-run/pip-run-12.5.0.ebuild | 51 
 2 files changed, 52 deletions(-)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index 13aa516f753a..991aaabcdf2c 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -1,2 +1 @@
-DIST pip-run-12.5.0.tar.gz 38695 BLAKE2B 
a44d35752586bd6d27a2d7e7feebbf904f8552e11becd821e693716b1ef74bfb490a17aacf3b7c19656bbc21fde38e40d29c79a611b2f510c02d199afc8f5cb1
 SHA512 
b641633c1863745d31637b1ef2a9151c79cc0c647b1bc246dbea5e834ec928b11b29b9cee1952513340bacb1ead610c2b34426b54d76345b57c887b1fe4b68d6
 DIST pip-run-12.6.1.tar.gz 38868 BLAKE2B 
852e8207fc5951a4007f761c18dd06b483a0658d3ab3f51e667b5f0a204fe2f2c530ade5d2d36005c2a25d564cb779b5d2911aeaf5e046477631958172414352
 SHA512 
b4dcdf0d96061b7049bd8ad25e20f36fe305fe04148937cab3be91ab8fc95849b07b14d2948eb0d5172d36f5ef561b80cff07b1203c62f117c52eb5d265e9356

diff --git a/dev-python/pip-run/pip-run-12.5.0.ebuild 
b/dev-python/pip-run/pip-run-12.5.0.ebuild
deleted file mode 100644
index a9d57b961bdf..
--- a/dev-python/pip-run/pip-run-12.5.0.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Install packages and run Python with them"
-HOMEPAGE="
-   https://github.com/jaraco/pip-run/
-   https://pypi.org/project/pip-run/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv 
~s390 sparc x86"
-
-RDEPEND="
-   dev-python/autocommand[${PYTHON_USEDEP}]
-   dev-python/jaraco-context[${PYTHON_USEDEP}]
-   dev-python/jaraco-env[${PYTHON_USEDEP}]
-   >=dev-python/jaraco-functools-3.7[${PYTHON_USEDEP}]
-   dev-python/jaraco-text[${PYTHON_USEDEP}]
-   >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}]
-   dev-python/packaging[${PYTHON_USEDEP}]
-   dev-python/path[${PYTHON_USEDEP}]
-   dev-python/pip[${PYTHON_USEDEP}]
-   dev-python/platformdirs[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/tomli[${PYTHON_USEDEP}]
-   ' 3.10)
-"
-BDEPEND="
-   test? (
-   dev-python/flit-core[${PYTHON_USEDEP}]
-   dev-python/jaraco-path[${PYTHON_USEDEP}]
-   >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}]
-   dev-python/nbformat[${PYTHON_USEDEP}]
-   dev-python/pygments[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   epytest -m "not network"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2024-03-02 Thread Arthur Zamarin
commit: 4fcdcfc4f7c65b8e84f1b3944e7d57f012620750
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  2 10:52:49 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  2 10:52:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fcdcfc4

dev-python/pip-run: Stabilize 12.6.1 ALLARCHES, #925961

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pip-run/pip-run-12.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.6.1.ebuild 
b/dev-python/pip-run/pip-run-12.6.1.ebuild
index 18908d5d7407..a9d57b961bdf 100644
--- a/dev-python/pip-run/pip-run-12.6.1.ebuild
+++ b/dev-python/pip-run/pip-run-12.6.1.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv 
~s390 sparc x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/files/, dev-python/pip/

2024-02-20 Thread Michał Górny
commit: 09e4204374adb30c3c315588ef318bc81ead9720
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb 20 09:00:30 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb 20 09:09:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09e42043

dev-python/pip: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/Manifest|   1 -
 .../pip/files/pip-23.3.2-setuptools-69.0.3.patch   | 383 -
 dev-python/pip/pip-23.3.2-r1.ebuild| 134 ---
 3 files changed, 518 deletions(-)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index 9932b567968a..3116dbf3047d 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1,2 +1 @@
-DIST pip-23.3.2.gh.tar.gz 9397451 BLAKE2B 
65e656cf3e7c3ab48b5cfa48f105cae158068f3daee497edfb93e34887afa134b2cfea73574947ca22ec2664dd814034166301fb0f70322ca92852a68052be40
 SHA512 
976c6ab9959805f4d20d4bdedb4dabc95dd55f1ec78773f63f738599bbe44e766ad3a1394bee052a2c2386826d67686ad456726373345ba9e0d555fd251dff09
 DIST pip-24.0.gh.tar.gz 9398156 BLAKE2B 
17a7ed9e15e9b8efa0d3e3c5586dc446958b62cf9ba52155a0d1ad97a3e212ee7a08a0e88a592718fc3d542eb8f434155a75cb98d90c008904bd8f59bd2b40b6
 SHA512 
0c2ecb2ecde4f155c83468d35bc4f52f37efffc16821ae7c706d035e1e8cc3709b41cb10f8140ff09205e8bbdba2c76128ad76d1cbd18401328b619228e834df

diff --git a/dev-python/pip/files/pip-23.3.2-setuptools-69.0.3.patch 
b/dev-python/pip/files/pip-23.3.2-setuptools-69.0.3.patch
deleted file mode 100644
index 26d358da9534..
--- a/dev-python/pip/files/pip-23.3.2-setuptools-69.0.3.patch
+++ /dev/null
@@ -1,383 +0,0 @@
-From a11f98c107cae60c82c480d3208c34656a22fa19 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= 
-Date: Sun, 14 Jan 2024 12:54:21 +0100
-Subject: [PATCH 1/2] Change .egg-link search algorithm to support setuptools
- >= 69
-

- src/pip/_internal/utils/egg_link.py | 28 ++--
- 1 file changed, 18 insertions(+), 10 deletions(-)
-
-diff --git a/src/pip/_internal/utils/egg_link.py 
b/src/pip/_internal/utils/egg_link.py
-index eb57ed151..4a384a636 100644
 a/src/pip/_internal/utils/egg_link.py
-+++ b/src/pip/_internal/utils/egg_link.py
-@@ -15,24 +15,31 @@ __all__ = [
- ]
- 
- 
--def _egg_link_name(raw_name: str) -> str:
-+def _egg_link_names(raw_name: str) -> List[str]:
- """
- Convert a Name metadata value to a .egg-link name, by applying
- the same substitution as pkg_resources's safe_name function.
- Note: we cannot use canonicalize_name because it has a different logic.
-+
-+We also look for the raw name (without normalization) as setuptools 69 
changed
-+the way it names .egg-link files 
(https://github.com/pypa/setuptools/issues/4167).
- """
--return re.sub("[^A-Za-z0-9.]+", "-", raw_name) + ".egg-link"
-+return [
-+re.sub("[^A-Za-z0-9.]+", "-", raw_name) + ".egg-link",
-+f"{raw_name}.egg-link",
-+]
- 
- 
- def egg_link_path_from_sys_path(raw_name: str) -> Optional[str]:
- """
- Look for a .egg-link file for project name, by walking sys.path.
- """
--egg_link_name = _egg_link_name(raw_name)
-+egg_link_names = _egg_link_names(raw_name)
- for path_item in sys.path:
--egg_link = os.path.join(path_item, egg_link_name)
--if os.path.isfile(egg_link):
--return egg_link
-+for egg_link_name in egg_link_names:
-+egg_link = os.path.join(path_item, egg_link_name)
-+if os.path.isfile(egg_link):
-+return egg_link
- return None
- 
- 
-@@ -64,9 +71,10 @@ def egg_link_path_from_location(raw_name: str) -> 
Optional[str]:
- sites.append(user_site)
- sites.append(site_packages)
- 
--egg_link_name = _egg_link_name(raw_name)
-+egg_link_names = _egg_link_names(raw_name)
- for site in sites:
--egglink = os.path.join(site, egg_link_name)
--if os.path.isfile(egglink):
--return egglink
-+for egg_link_name in egg_link_names:
-+egglink = os.path.join(site, egg_link_name)
-+if os.path.isfile(egglink):
-+return egglink
- return None
--- 
-2.43.0
-
-From 6fdd838c59d92ea435766f452da515f234a438ed Mon Sep 17 00:00:00 2001
-From: Richard Si 
-Date: Mon, 1 Jan 2024 17:19:45 -0500
-Subject: [PATCH 2/2] Fix tests broken by Setuptools 69.0.3 which now preserves
- underscores in egg_info
-
-More test suite fixes for setuptools 69 compatibility

- tests/functional/test_check.py   | 20 ---
- tests/functional/test_freeze.py  | 22 +++--
- tests/functional/test_install.py |  2 +-
- tests/functional/test_install_reqs.py|  2 +-
- tests/functional/test_install_vcs_git.py |  2 +-
- tests/functional/test_new_resolver.py| 13 +++---
- tests/functional/test_show.py| 19 ---
- tests/lib/__init__.py  

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2024-02-19 Thread Sam James
commit: 3e4e4467a0ae5dabc2f2bc73db04c0ef219ab842
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb 20 07:48:05 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb 20 07:48:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e4e4467

dev-python/pip: Stabilize 24.0 ALLARCHES, #925052

Signed-off-by: Sam James  gentoo.org>

 dev-python/pip/pip-24.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip/pip-24.0.ebuild b/dev-python/pip/pip-24.0.ebuild
index b4f8836682f0..8e9ed0858608 100644
--- a/dev-python/pip/pip-24.0.ebuild
+++ b/dev-python/pip/pip-24.0.ebuild
@@ -25,7 +25,7 @@ SRC_URI="
 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"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 SLOT="0"
 IUSE="test-rust"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2024-02-10 Thread Michał Górny
commit: 32362acacb169a0cce7d74ca2a8ad50d3f5a2ed7
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 11 03:25:44 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 11 03:25:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32362aca

dev-python/pip-run: Bump to 12.6.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/Manifest  |  1 +
 dev-python/pip-run/pip-run-12.6.1.ebuild | 51 
 2 files changed, 52 insertions(+)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index 91bc1c0637bd..13aa516f753a 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -1 +1,2 @@
 DIST pip-run-12.5.0.tar.gz 38695 BLAKE2B 
a44d35752586bd6d27a2d7e7feebbf904f8552e11becd821e693716b1ef74bfb490a17aacf3b7c19656bbc21fde38e40d29c79a611b2f510c02d199afc8f5cb1
 SHA512 
b641633c1863745d31637b1ef2a9151c79cc0c647b1bc246dbea5e834ec928b11b29b9cee1952513340bacb1ead610c2b34426b54d76345b57c887b1fe4b68d6
+DIST pip-run-12.6.1.tar.gz 38868 BLAKE2B 
852e8207fc5951a4007f761c18dd06b483a0658d3ab3f51e667b5f0a204fe2f2c530ade5d2d36005c2a25d564cb779b5d2911aeaf5e046477631958172414352
 SHA512 
b4dcdf0d96061b7049bd8ad25e20f36fe305fe04148937cab3be91ab8fc95849b07b14d2948eb0d5172d36f5ef561b80cff07b1203c62f117c52eb5d265e9356

diff --git a/dev-python/pip-run/pip-run-12.6.1.ebuild 
b/dev-python/pip-run/pip-run-12.6.1.ebuild
new file mode 100644
index ..18908d5d7407
--- /dev/null
+++ b/dev-python/pip-run/pip-run-12.6.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Install packages and run Python with them"
+HOMEPAGE="
+   https://github.com/jaraco/pip-run/
+   https://pypi.org/project/pip-run/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   dev-python/autocommand[${PYTHON_USEDEP}]
+   dev-python/jaraco-context[${PYTHON_USEDEP}]
+   dev-python/jaraco-env[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-functools-3.7[${PYTHON_USEDEP}]
+   dev-python/jaraco-text[${PYTHON_USEDEP}]
+   >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   dev-python/path[${PYTHON_USEDEP}]
+   dev-python/pip[${PYTHON_USEDEP}]
+   dev-python/platformdirs[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.10)
+"
+BDEPEND="
+   test? (
+   dev-python/flit-core[${PYTHON_USEDEP}]
+   dev-python/jaraco-path[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}]
+   dev-python/nbformat[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   epytest -m "not network"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2024-02-08 Thread Michał Górny
commit: f7c100e1041651d8e469e8629b933bde1186b673
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Feb  8 14:44:54 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb  8 14:47:53 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7c100e1

dev-python/pip-run: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/Manifest  |  1 -
 dev-python/pip-run/pip-run-12.4.0.ebuild | 58 
 2 files changed, 59 deletions(-)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index 5ab883e93703..91bc1c0637bd 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -1,2 +1 @@
-DIST pip-run-12.4.0.tar.gz 37749 BLAKE2B 
76e6708cbcb9329b42ac031ee8f2253f04f898a8d6c83ae687f3a7f6e13f33076fdadad641562f379a5cdad1386cb71bf1b40f494c484f86286d1188f86c04ad
 SHA512 
4e6709b2e22b49a3486f4d1caa07ae3d664b09bf76c9338ef8c9fb80024700fcd58c135d3cf3b69e7fcbf1ce20c996436fa87be03fbe9f5801b274ff72a4a790
 DIST pip-run-12.5.0.tar.gz 38695 BLAKE2B 
a44d35752586bd6d27a2d7e7feebbf904f8552e11becd821e693716b1ef74bfb490a17aacf3b7c19656bbc21fde38e40d29c79a611b2f510c02d199afc8f5cb1
 SHA512 
b641633c1863745d31637b1ef2a9151c79cc0c647b1bc246dbea5e834ec928b11b29b9cee1952513340bacb1ead610c2b34426b54d76345b57c887b1fe4b68d6

diff --git a/dev-python/pip-run/pip-run-12.4.0.ebuild 
b/dev-python/pip-run/pip-run-12.4.0.ebuild
deleted file mode 100644
index 3e87c40bc789..
--- a/dev-python/pip-run/pip-run-12.4.0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Install packages and run Python with them"
-HOMEPAGE="
-   https://github.com/jaraco/pip-run/
-   https://pypi.org/project/pip-run/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv 
~s390 sparc x86"
-
-RDEPEND="
-   dev-python/autocommand[${PYTHON_USEDEP}]
-   dev-python/jaraco-context[${PYTHON_USEDEP}]
-   dev-python/jaraco-env[${PYTHON_USEDEP}]
-   >=dev-python/jaraco-functools-3.7[${PYTHON_USEDEP}]
-   dev-python/jaraco-text[${PYTHON_USEDEP}]
-   >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}]
-   dev-python/packaging[${PYTHON_USEDEP}]
-   dev-python/path[${PYTHON_USEDEP}]
-   dev-python/pip[${PYTHON_USEDEP}]
-   dev-python/platformdirs[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/flit-core[${PYTHON_USEDEP}]
-   dev-python/jaraco-path[${PYTHON_USEDEP}]
-   >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}]
-   dev-python/pygments[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/nbformat[${PYTHON_USEDEP}]
-   ' python3_{10..11})
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local EPYTEST_IGNORE=()
-
-   if ! has_version "dev-python/nbformat[${PYTHON_USEDEP}]"; then
-   EPYTEST_IGNORE+=(
-   tests/test_scripts.py
-   )
-   fi
-
-   epytest -m "not network"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2024-02-08 Thread Michał Górny
commit: cbc8eeb9dc01c9e82dd42a56c9a1b5d847666b10
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Feb  8 14:42:40 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb  8 14:42:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbc8eeb9

dev-python/pip-run: Stabilize 12.5.0 ALLARCHES, #924075

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/pip-run-12.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.5.0.ebuild 
b/dev-python/pip-run/pip-run-12.5.0.ebuild
index 18908d5d7407..a9d57b961bdf 100644
--- a/dev-python/pip-run/pip-run-12.5.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.5.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv 
~s390 sparc x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2024-02-04 Thread Michał Górny
commit: 35ddf347742040dfa17ea75874329a7119f50f9f
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb  4 15:52:48 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb  4 15:52:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35ddf347

dev-python/pip: Add a link to NO_COLOR pull request

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/pip-24.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/pip/pip-24.0.ebuild b/dev-python/pip/pip-24.0.ebuild
index fb979446cadf..b4f8836682f0 100644
--- a/dev-python/pip/pip-24.0.ebuild
+++ b/dev-python/pip/pip-24.0.ebuild
@@ -58,6 +58,7 @@ distutils_enable_tests pytest
 python_prepare_all() {
local PATCHES=(
"${FILESDIR}/pip-23.1-no-coverage.patch"
+   # https://github.com/pypa/pip/pull/12415
"${FILESDIR}/pip-23.3.1-no-color.patch"
)
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2024-02-04 Thread Michał Górny
commit: 5741e67a9d07aeea3d5852e1cddf771b9462d090
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb  4 15:52:31 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb  4 15:52:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5741e67a

dev-python/pip: Enable testing on python3.12

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/pip-24.0.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-python/pip/pip-24.0.ebuild b/dev-python/pip/pip-24.0.ebuild
index 9bacdaf3e93c..fb979446cadf 100644
--- a/dev-python/pip/pip-24.0.ebuild
+++ b/dev-python/pip/pip-24.0.ebuild
@@ -6,8 +6,8 @@ EAPI=8
 # please bump dev-python/ensurepip-pip along with this package!
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_TESTED=( python3_{10..11} )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 )
+PYTHON_TESTED=( python3_{10..12} )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 )
 PYTHON_REQ_USE="ssl(+),threads(+)"
 
 inherit bash-completion-r1 distutils-r1
@@ -118,7 +118,6 @@ python_test() {
;;
esac
 
-   local -x SETUPTOOLS_USE_DISTUTILS=stdlib
local -x PIP_DISABLE_PIP_VERSION_CHECK=1
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local EPYTEST_XDIST=1



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2024-02-04 Thread Michał Górny
commit: 46c4c4030d97586d12e1c446e74d7c6565f6edcd
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb  4 14:31:23 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb  4 14:47:11 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46c4c403

dev-python/pip: Bump to 24.0

Signed-off-by: Michał Górny  gentoo.org>

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

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index a4fdc41bde0a..9932b567968a 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1 +1,2 @@
 DIST pip-23.3.2.gh.tar.gz 9397451 BLAKE2B 
65e656cf3e7c3ab48b5cfa48f105cae158068f3daee497edfb93e34887afa134b2cfea73574947ca22ec2664dd814034166301fb0f70322ca92852a68052be40
 SHA512 
976c6ab9959805f4d20d4bdedb4dabc95dd55f1ec78773f63f738599bbe44e766ad3a1394bee052a2c2386826d67686ad456726373345ba9e0d555fd251dff09
+DIST pip-24.0.gh.tar.gz 9398156 BLAKE2B 
17a7ed9e15e9b8efa0d3e3c5586dc446958b62cf9ba52155a0d1ad97a3e212ee7a08a0e88a592718fc3d542eb8f434155a75cb98d90c008904bd8f59bd2b40b6
 SHA512 
0c2ecb2ecde4f155c83468d35bc4f52f37efffc16821ae7c706d035e1e8cc3709b41cb10f8140ff09205e8bbdba2c76128ad76d1cbd18401328b619228e834df

diff --git a/dev-python/pip/pip-24.0.ebuild b/dev-python/pip/pip-24.0.ebuild
new file mode 100644
index ..9bacdaf3e93c
--- /dev/null
+++ b/dev-python/pip/pip-24.0.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# please bump dev-python/ensurepip-pip along with this package!
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_TESTED=( python3_{10..11} )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 )
+PYTHON_REQ_USE="ssl(+),threads(+)"
+
+inherit bash-completion-r1 distutils-r1
+
+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/pip/archive/${PV}.tar.gz -> ${P}.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"
+
+RDEPEND="
+   >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   ${RDEPEND}
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/ensurepip-setuptools
+   dev-python/ensurepip-wheel
+   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/virtualenv[${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-23.1-no-coverage.patch"
+   "${FILESDIR}/pip-23.3.1-no-color.patch"
+   )
+
+   distutils-r1_python_prepare_all
+
+   if use test; then
+   local wheels=(
+   
"${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl
+   )
+   mkdir tests/data/common_wheels/ || die
+   cp "${wheels[@]}" 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}"
+   return 0
+   fi
+
+   local EPYTEST_DESELECT=(
+   tests/functional/test_inspect.py::test_inspect_basic
+   # Internet
+   
tests/functional/test_config_settings.py::test_backend_sees_config_via_sdist
+   
tests/functional/test_config_settings.py::test_config_settings_implies_pep517
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2024-01-20 Thread Michał Górny
commit: 50eb0a2b521d49be2a21f7b6f1995990316efe99
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jan 21 05:56:25 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jan 21 06:21:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50eb0a2b

dev-python/pip-run: Bump to 12.5.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/Manifest  |  1 +
 dev-python/pip-run/pip-run-12.5.0.ebuild | 51 
 2 files changed, 52 insertions(+)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index 7c01fe8f2134..5ab883e93703 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -1 +1,2 @@
 DIST pip-run-12.4.0.tar.gz 37749 BLAKE2B 
76e6708cbcb9329b42ac031ee8f2253f04f898a8d6c83ae687f3a7f6e13f33076fdadad641562f379a5cdad1386cb71bf1b40f494c484f86286d1188f86c04ad
 SHA512 
4e6709b2e22b49a3486f4d1caa07ae3d664b09bf76c9338ef8c9fb80024700fcd58c135d3cf3b69e7fcbf1ce20c996436fa87be03fbe9f5801b274ff72a4a790
+DIST pip-run-12.5.0.tar.gz 38695 BLAKE2B 
a44d35752586bd6d27a2d7e7feebbf904f8552e11becd821e693716b1ef74bfb490a17aacf3b7c19656bbc21fde38e40d29c79a611b2f510c02d199afc8f5cb1
 SHA512 
b641633c1863745d31637b1ef2a9151c79cc0c647b1bc246dbea5e834ec928b11b29b9cee1952513340bacb1ead610c2b34426b54d76345b57c887b1fe4b68d6

diff --git a/dev-python/pip-run/pip-run-12.5.0.ebuild 
b/dev-python/pip-run/pip-run-12.5.0.ebuild
new file mode 100644
index ..18908d5d7407
--- /dev/null
+++ b/dev-python/pip-run/pip-run-12.5.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Install packages and run Python with them"
+HOMEPAGE="
+   https://github.com/jaraco/pip-run/
+   https://pypi.org/project/pip-run/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   dev-python/autocommand[${PYTHON_USEDEP}]
+   dev-python/jaraco-context[${PYTHON_USEDEP}]
+   dev-python/jaraco-env[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-functools-3.7[${PYTHON_USEDEP}]
+   dev-python/jaraco-text[${PYTHON_USEDEP}]
+   >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   dev-python/path[${PYTHON_USEDEP}]
+   dev-python/pip[${PYTHON_USEDEP}]
+   dev-python/platformdirs[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/tomli[${PYTHON_USEDEP}]
+   ' 3.10)
+"
+BDEPEND="
+   test? (
+   dev-python/flit-core[${PYTHON_USEDEP}]
+   dev-python/jaraco-path[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}]
+   dev-python/nbformat[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   epytest -m "not network"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/files/, dev-python/pip/

2024-01-17 Thread Michał Górny
commit: 6d06eee3cabb37a3be6d52c74e30dbf0cf30c980
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 17 16:19:04 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 17 17:11:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d06eee3

dev-python/pip: Backport fixes for >=setuptools-69.0.3

Closes: https://bugs.gentoo.org/921976
Signed-off-by: Michał Górny  gentoo.org>

 .../pip/files/pip-23.3.2-setuptools-69.0.3.patch   | 383 +
 .../{pip-23.3.2.ebuild => pip-23.3.2-r1.ebuild}|   1 +
 2 files changed, 384 insertions(+)

diff --git a/dev-python/pip/files/pip-23.3.2-setuptools-69.0.3.patch 
b/dev-python/pip/files/pip-23.3.2-setuptools-69.0.3.patch
new file mode 100644
index ..26d358da9534
--- /dev/null
+++ b/dev-python/pip/files/pip-23.3.2-setuptools-69.0.3.patch
@@ -0,0 +1,383 @@
+From a11f98c107cae60c82c480d3208c34656a22fa19 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= 
+Date: Sun, 14 Jan 2024 12:54:21 +0100
+Subject: [PATCH 1/2] Change .egg-link search algorithm to support setuptools
+ >= 69
+
+---
+ src/pip/_internal/utils/egg_link.py | 28 ++--
+ 1 file changed, 18 insertions(+), 10 deletions(-)
+
+diff --git a/src/pip/_internal/utils/egg_link.py 
b/src/pip/_internal/utils/egg_link.py
+index eb57ed151..4a384a636 100644
+--- a/src/pip/_internal/utils/egg_link.py
 b/src/pip/_internal/utils/egg_link.py
+@@ -15,24 +15,31 @@ __all__ = [
+ ]
+ 
+ 
+-def _egg_link_name(raw_name: str) -> str:
++def _egg_link_names(raw_name: str) -> List[str]:
+ """
+ Convert a Name metadata value to a .egg-link name, by applying
+ the same substitution as pkg_resources's safe_name function.
+ Note: we cannot use canonicalize_name because it has a different logic.
++
++We also look for the raw name (without normalization) as setuptools 69 
changed
++the way it names .egg-link files 
(https://github.com/pypa/setuptools/issues/4167).
+ """
+-return re.sub("[^A-Za-z0-9.]+", "-", raw_name) + ".egg-link"
++return [
++re.sub("[^A-Za-z0-9.]+", "-", raw_name) + ".egg-link",
++f"{raw_name}.egg-link",
++]
+ 
+ 
+ def egg_link_path_from_sys_path(raw_name: str) -> Optional[str]:
+ """
+ Look for a .egg-link file for project name, by walking sys.path.
+ """
+-egg_link_name = _egg_link_name(raw_name)
++egg_link_names = _egg_link_names(raw_name)
+ for path_item in sys.path:
+-egg_link = os.path.join(path_item, egg_link_name)
+-if os.path.isfile(egg_link):
+-return egg_link
++for egg_link_name in egg_link_names:
++egg_link = os.path.join(path_item, egg_link_name)
++if os.path.isfile(egg_link):
++return egg_link
+ return None
+ 
+ 
+@@ -64,9 +71,10 @@ def egg_link_path_from_location(raw_name: str) -> 
Optional[str]:
+ sites.append(user_site)
+ sites.append(site_packages)
+ 
+-egg_link_name = _egg_link_name(raw_name)
++egg_link_names = _egg_link_names(raw_name)
+ for site in sites:
+-egglink = os.path.join(site, egg_link_name)
+-if os.path.isfile(egglink):
+-return egglink
++for egg_link_name in egg_link_names:
++egglink = os.path.join(site, egg_link_name)
++if os.path.isfile(egglink):
++return egglink
+ return None
+-- 
+2.43.0
+
+From 6fdd838c59d92ea435766f452da515f234a438ed Mon Sep 17 00:00:00 2001
+From: Richard Si 
+Date: Mon, 1 Jan 2024 17:19:45 -0500
+Subject: [PATCH 2/2] Fix tests broken by Setuptools 69.0.3 which now preserves
+ underscores in egg_info
+
+More test suite fixes for setuptools 69 compatibility
+---
+ tests/functional/test_check.py   | 20 ---
+ tests/functional/test_freeze.py  | 22 +++--
+ tests/functional/test_install.py |  2 +-
+ tests/functional/test_install_reqs.py|  2 +-
+ tests/functional/test_install_vcs_git.py |  2 +-
+ tests/functional/test_new_resolver.py| 13 +++---
+ tests/functional/test_show.py| 19 ---
+ tests/lib/__init__.py| 31 ++--
+ 8 files changed, 75 insertions(+), 36 deletions(-)
+
+diff --git a/tests/functional/test_check.py b/tests/functional/test_check.py
+index e2b1c60ef..79b6df39c 100644
+--- a/tests/functional/test_check.py
 b/tests/functional/test_check.py
+@@ -119,7 +119,10 @@ def test_check_complicated_name_missing(script: 
PipTestEnvironment) -> None:
+ 
+ # Without dependency
+ result = script.pip("install", "--no-index", package_a_path, "--no-deps")
+-assert "Successfully installed package-A-1.0" in result.stdout, 
str(result)
++assert (
++"Successfully installed package_A-1.0" in result.stdout
++or "Successfully installed package-A-1.0" in result.stdout
++), str(result)
+ 
+ result = script.pip("check", 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2024-01-17 Thread Michał Górny
commit: a27da484bf49bfbcdf9e91cfd7653a7b2cb1a10f
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 17 15:51:48 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 17 17:11:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a27da484

dev-python/pip: Use PYTEST_XDIST

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/pip-23.3.2.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/pip/pip-23.3.2.ebuild b/dev-python/pip/pip-23.3.2.ebuild
index 0b448915d1fb..69e2e40cefb0 100644
--- a/dev-python/pip/pip-23.3.2.ebuild
+++ b/dev-python/pip/pip-23.3.2.ebuild
@@ -10,7 +10,7 @@ PYTHON_TESTED=( python3_{10..11} )
 PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 )
 PYTHON_REQ_USE="ssl(+),threads(+)"
 
-inherit bash-completion-r1 distutils-r1 multiprocessing
+inherit bash-completion-r1 distutils-r1
 
 DESCRIPTION="The PyPA recommended tool for installing Python packages"
 HOMEPAGE="
@@ -117,7 +117,8 @@ python_test() {
 
local -x SETUPTOOLS_USE_DISTUTILS=stdlib
local -x PIP_DISABLE_PIP_VERSION_CHECK=1
-   epytest -m "not network" -n "$(makeopts_jobs)"
+   local EPYTEST_XDIST=1
+   epytest -m "not network"
 }
 
 python_install_all() {



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2024-01-17 Thread Michał Górny
commit: 534f505b12c7d1de6ca9a99b43df16a01d39b9ba
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 17 16:00:19 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 17 17:11:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=534f505b

dev-python/pip: Disable pytest plugin autoloading

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/pip-23.3.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/pip/pip-23.3.2.ebuild b/dev-python/pip/pip-23.3.2.ebuild
index 69e2e40cefb0..0ab48e625f7d 100644
--- a/dev-python/pip/pip-23.3.2.ebuild
+++ b/dev-python/pip/pip-23.3.2.ebuild
@@ -117,6 +117,7 @@ python_test() {
 
local -x SETUPTOOLS_USE_DISTUTILS=stdlib
local -x PIP_DISABLE_PIP_VERSION_CHECK=1
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local EPYTEST_XDIST=1
epytest -m "not network"
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2024-01-06 Thread Michał Górny
commit: 7697a73d27286f4c5f44256a8feeb5f8e2cb7db1
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan  6 10:25:12 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan  6 10:25:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7697a73d

dev-python/pip: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/Manifest  |   1 -
 dev-python/pip/pip-23.3.1.ebuild | 131 ---
 2 files changed, 132 deletions(-)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index 2b96383b7eab..a4fdc41bde0a 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1,2 +1 @@
-DIST pip-23.3.1.gh.tar.gz 9397023 BLAKE2B 
f5085bf1faaca93954abb2dfb99f5a365b7bff385ad9f0f692fb41bbf0586617f0a3d7f36df5e3475f150819fdbf7f79fc6bf8b2425fe06dc570cd0ec98fed6e
 SHA512 
eddca29e8c3727d1d8d793ab0b05f069781cac06df805fcf7a363da738d39498135ccbbb6d2d442604a7bf78ba6c3d101ec2043431ac1832a3f2710db7cc5e56
 DIST pip-23.3.2.gh.tar.gz 9397451 BLAKE2B 
65e656cf3e7c3ab48b5cfa48f105cae158068f3daee497edfb93e34887afa134b2cfea73574947ca22ec2664dd814034166301fb0f70322ca92852a68052be40
 SHA512 
976c6ab9959805f4d20d4bdedb4dabc95dd55f1ec78773f63f738599bbe44e766ad3a1394bee052a2c2386826d67686ad456726373345ba9e0d555fd251dff09

diff --git a/dev-python/pip/pip-23.3.1.ebuild b/dev-python/pip/pip-23.3.1.ebuild
deleted file mode 100644
index 4d41aaf59202..
--- a/dev-python/pip/pip-23.3.1.ebuild
+++ /dev/null
@@ -1,131 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# please bump dev-python/ensurepip-pip along with this package!
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_TESTED=( python3_{10..11} )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 )
-PYTHON_REQ_USE="ssl(+),threads(+)"
-
-inherit bash-completion-r1 distutils-r1 multiprocessing
-
-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/pip/archive/${PV}.tar.gz -> ${P}.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"
-
-RDEPEND="
-   >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   ${RDEPEND}
-   test? (
-   $(python_gen_cond_dep '
-   dev-python/ensurepip-setuptools
-   dev-python/ensurepip-wheel
-   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/virtualenv[${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-23.1-no-coverage.patch"
-   "${FILESDIR}/${P}-no-color.patch"
-   )
-
-   distutils-r1_python_prepare_all
-
-   if use test; then
-   local wheels=(
-   
"${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl
-   )
-   mkdir tests/data/common_wheels/ || die
-   cp "${wheels[@]}" 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}"
-   return 0
-   fi
-
-   local EPYTEST_DESELECT=(
-   tests/functional/test_inspect.py::test_inspect_basic
-   tests/functional/test_install.py::test_double_install_fail
-   # Internet
-   tests/functional/test_install.py::test_install_dry_run
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2024-01-06 Thread Michał Górny
commit: 230d8be92e9fac1e751ba3972f43de3342d0e059
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan  6 10:23:32 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan  6 10:23:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=230d8be9

dev-python/pip: Stabilize 23.3.2 ALLARCHES, #921446

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/pip-23.3.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pip/pip-23.3.2.ebuild b/dev-python/pip/pip-23.3.2.ebuild
index bfcde16bd339..0b448915d1fb 100644
--- a/dev-python/pip/pip-23.3.2.ebuild
+++ b/dev-python/pip/pip-23.3.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -25,7 +25,7 @@ SRC_URI="
 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"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 SLOT="0"
 IUSE="test-rust"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-12-17 Thread Arthur Zamarin
commit: c8bc46166c5f029464bf629e3aaf8f9e83a772bc
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Dec 17 17:29:15 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Dec 17 18:00:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8bc4616

dev-python/pip: add 23.3.2

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pip/Manifest  |   1 +
 dev-python/pip/pip-23.3.2.ebuild | 131 +++
 2 files changed, 132 insertions(+)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index 56a506fce22b..2b96383b7eab 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1 +1,2 @@
 DIST pip-23.3.1.gh.tar.gz 9397023 BLAKE2B 
f5085bf1faaca93954abb2dfb99f5a365b7bff385ad9f0f692fb41bbf0586617f0a3d7f36df5e3475f150819fdbf7f79fc6bf8b2425fe06dc570cd0ec98fed6e
 SHA512 
eddca29e8c3727d1d8d793ab0b05f069781cac06df805fcf7a363da738d39498135ccbbb6d2d442604a7bf78ba6c3d101ec2043431ac1832a3f2710db7cc5e56
+DIST pip-23.3.2.gh.tar.gz 9397451 BLAKE2B 
65e656cf3e7c3ab48b5cfa48f105cae158068f3daee497edfb93e34887afa134b2cfea73574947ca22ec2664dd814034166301fb0f70322ca92852a68052be40
 SHA512 
976c6ab9959805f4d20d4bdedb4dabc95dd55f1ec78773f63f738599bbe44e766ad3a1394bee052a2c2386826d67686ad456726373345ba9e0d555fd251dff09

diff --git a/dev-python/pip/pip-23.3.2.ebuild b/dev-python/pip/pip-23.3.2.ebuild
new file mode 100644
index ..bfcde16bd339
--- /dev/null
+++ b/dev-python/pip/pip-23.3.2.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# please bump dev-python/ensurepip-pip along with this package!
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_TESTED=( python3_{10..11} )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 )
+PYTHON_REQ_USE="ssl(+),threads(+)"
+
+inherit bash-completion-r1 distutils-r1 multiprocessing
+
+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/pip/archive/${PV}.tar.gz -> ${P}.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"
+
+RDEPEND="
+   >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   ${RDEPEND}
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/ensurepip-setuptools
+   dev-python/ensurepip-wheel
+   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/virtualenv[${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-23.1-no-coverage.patch"
+   "${FILESDIR}/pip-23.3.1-no-color.patch"
+   )
+
+   distutils-r1_python_prepare_all
+
+   if use test; then
+   local wheels=(
+   
"${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl
+   )
+   mkdir tests/data/common_wheels/ || die
+   cp "${wheels[@]}" 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}"
+   return 0
+   fi
+
+   local EPYTEST_DESELECT=(
+   tests/functional/test_inspect.py::test_inspect_basic
+   tests/functional/test_install.py::test_double_install_fail
+   # Internet
+   tests/functional/test_install.py::test_install_dry_run
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-11-25 Thread Michał Górny
commit: 3d9a4e58e0e88404668e02cd03acab1916c35d07
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 25 10:31:25 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 25 10:31:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d9a4e58

dev-python/pip: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/Manifest  |   2 -
 dev-python/pip/pip-23.2.1.ebuild | 130 ---
 dev-python/pip/pip-23.3.ebuild   | 130 ---
 3 files changed, 262 deletions(-)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index ba2689a79625..56a506fce22b 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1,3 +1 @@
-DIST pip-23.2.1.gh.tar.gz 9370625 BLAKE2B 
9e7855aae371a773a070c24b50f985dac6ff7c2412d51e268368b911b92d0d0b52a839f9d761d5f6aaff33f1e7570d5f930e5063e8af98aa99f50d2f1c1b5ed2
 SHA512 
a6c629976c332cffe5dff0ec1e201d694c7a42fa8def202ebf1db251a6dbd90091eaac89c36a354a0cf0c60cdb267b4e0ec9ff6a88b0ac61cfaafdf159e34fc8
 DIST pip-23.3.1.gh.tar.gz 9397023 BLAKE2B 
f5085bf1faaca93954abb2dfb99f5a365b7bff385ad9f0f692fb41bbf0586617f0a3d7f36df5e3475f150819fdbf7f79fc6bf8b2425fe06dc570cd0ec98fed6e
 SHA512 
eddca29e8c3727d1d8d793ab0b05f069781cac06df805fcf7a363da738d39498135ccbbb6d2d442604a7bf78ba6c3d101ec2043431ac1832a3f2710db7cc5e56
-DIST pip-23.3.gh.tar.gz 9394878 BLAKE2B 
6ef608b204a4cb796585c5ff130ee642bce0e7a464099b7eaf9c9199203fc28ff0a1b260a731f9ba462a9b82e6f68be12fc622ed809ad41a1ab92adaa4993cbd
 SHA512 
1afef5374410387bd1056a9ada21893f1fbb81e7a2d0ab2c9f4b500c99d25b98b55254e0dc36c4e4e408ad84b7be0e24709d25447168b076ce7723d35462d055

diff --git a/dev-python/pip/pip-23.2.1.ebuild b/dev-python/pip/pip-23.2.1.ebuild
deleted file mode 100644
index 5f4a2d920c67..
--- a/dev-python/pip/pip-23.2.1.ebuild
+++ /dev/null
@@ -1,130 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# please bump dev-python/ensurepip-pip along with this package!
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_TESTED=( python3_{10..11} )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 )
-PYTHON_REQ_USE="ssl(+),threads(+)"
-
-inherit bash-completion-r1 distutils-r1 multiprocessing
-
-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/pip/archive/${PV}.tar.gz -> ${P}.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"
-
-RDEPEND="
-   >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   ${RDEPEND}
-   test? (
-   $(python_gen_cond_dep '
-   dev-python/ensurepip-setuptools
-   dev-python/ensurepip-wheel
-   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/virtualenv[${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-23.1-no-coverage.patch"
-   )
-
-   distutils-r1_python_prepare_all
-
-   if use test; then
-   local wheels=(
-   
"${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl
-   )
-   mkdir tests/data/common_wheels/ || die
-   cp "${wheels[@]}" 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}"
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-11-24 Thread Arthur Zamarin
commit: e0461732706f4d32540caeecf41966a6d1e5d0ef
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov 25 07:34:41 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov 25 07:34:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0461732

dev-python/pip: Stabilize 23.3.1 ALLARCHES, #917371

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pip/pip-23.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip/pip-23.3.1.ebuild b/dev-python/pip/pip-23.3.1.ebuild
index 88ef2bad1879..4d41aaf59202 100644
--- a/dev-python/pip/pip-23.3.1.ebuild
+++ b/dev-python/pip/pip-23.3.1.ebuild
@@ -25,7 +25,7 @@ SRC_URI="
 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"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 SLOT="0"
 IUSE="test-rust"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/files/, dev-python/pip/

2023-11-24 Thread Michał Górny
commit: d89ed8c8920204029d02ce001f532bfef0307f69
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 25 06:44:37 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 25 06:45:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d89ed8c8

dev-python/pip: Fix testing with NO_COLOR

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/files/pip-23.3.1-no-color.patch | 35 ++
 dev-python/pip/pip-23.3.1.ebuild   |  1 +
 2 files changed, 36 insertions(+)

diff --git a/dev-python/pip/files/pip-23.3.1-no-color.patch 
b/dev-python/pip/files/pip-23.3.1-no-color.patch
new file mode 100644
index ..528e2c6cf465
--- /dev/null
+++ b/dev-python/pip/files/pip-23.3.1-no-color.patch
@@ -0,0 +1,35 @@
+From ad01e9c2a965d395c5902c8ad70c970c7631316b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
+Date: Sat, 25 Nov 2023 07:36:59 +0100
+Subject: [PATCH] Fix tests when NO_COLOR is set in the calling environment
+
+Add `FORCE_COLOR` and `NO_COLOR` variables to the `isolate()` fixture
+to ensure that these two variables do not affect internal test output.
+This fixes the following two test failures when pytest is called with
+`NO_COLOR` set:
+
+```
+FAILED 
tests/unit/test_exceptions.py::TestDiagnosticPipErrorPresentation_ASCII::test_complete_color
 - AssertionError: assert '\x1b[1merror...ing harder.\n' == '\x1b[1;31mer...ing 
harder.\n'
+FAILED 
tests/unit/test_exceptions.py::TestDiagnosticPipErrorPresentation_Unicode::test_complete_color
 - AssertionError: assert '\x1b[1merror...ing harder.\n' == '\x1b[1;31mer...ing 
harder.\n'
+```
+---
+ news/7ae28a10-04c4-4a1f-a276-4c9e04f2e0c1.trivial.rst | 0
+ tests/conftest.py | 4 
+ 2 files changed, 4 insertions(+)
+ create mode 100644 news/7ae28a10-04c4-4a1f-a276-4c9e04f2e0c1.trivial.rst
+
+diff --git a/tests/conftest.py b/tests/conftest.py
+index c5bf4bb9567..8d9eb029c79 100644
+--- a/tests/conftest.py
 b/tests/conftest.py
+@@ -318,6 +318,10 @@ def isolate(tmpdir: Path, monkeypatch: 
pytest.MonkeyPatch) -> None:
+ # Make sure tests don't share a requirements tracker.
+ monkeypatch.delenv("PIP_BUILD_TRACKER", False)
+ 
++# Make sure color control variables don't affect internal output.
++monkeypatch.delenv("FORCE_COLOR", False)
++monkeypatch.delenv("NO_COLOR", False)
++
+ # FIXME: Windows...
+ os.makedirs(os.path.join(home_dir, ".config", "git"))
+ with open(os.path.join(home_dir, ".config", "git", "config"), "wb") as fp:

diff --git a/dev-python/pip/pip-23.3.1.ebuild b/dev-python/pip/pip-23.3.1.ebuild
index 58c5279dbfaa..88ef2bad1879 100644
--- a/dev-python/pip/pip-23.3.1.ebuild
+++ b/dev-python/pip/pip-23.3.1.ebuild
@@ -58,6 +58,7 @@ distutils_enable_tests pytest
 python_prepare_all() {
local PATCHES=(
"${FILESDIR}/pip-23.1-no-coverage.patch"
+   "${FILESDIR}/${P}-no-color.patch"
)
 
distutils-r1_python_prepare_all



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-10-26 Thread Michał Górny
commit: 6929708605a97381347994b40282caa9dad14a67
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Oct 26 14:46:38 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Oct 26 14:46:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69297086

dev-python/pip-run: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/Manifest  |  5 ---
 dev-python/pip-run/pip-run-10.2.0.ebuild | 58 ---
 dev-python/pip-run/pip-run-12.1.0.ebuild | 59 
 dev-python/pip-run/pip-run-12.2.0.ebuild | 58 ---
 dev-python/pip-run/pip-run-12.2.2.ebuild | 58 ---
 dev-python/pip-run/pip-run-12.3.1.ebuild | 58 ---
 6 files changed, 296 deletions(-)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index 9d8085c59924..7c01fe8f2134 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -1,6 +1 @@
-DIST pip-run-10.2.0.tar.gz 33523 BLAKE2B 
7d19c089da98dbba2faec969f490fcd5ea48881f4ccbbfaa283465ef083521aee7d82b9de8b03a89ec8b08005db1232cd9577030cb98c111b4a0e0f7294cca84
 SHA512 
b26a00c6ebd8e9e505e6b218fea7070b23b5926de44e1d5a762abb2a4ebd62b1bdda7e19c4092012daf068b518a2e127ab08099f6d1a7ddc643b3ba5bf999ed0
-DIST pip-run-12.1.0.tar.gz 34387 BLAKE2B 
306dce020589a0cdcaddc70baf75a41621c72a450af58a2f54c5128f8210b02f4ee2b4df5b8bca1e0617ef53e79ab89969765b053801dc4f9d60bddf7c40e76e
 SHA512 
fa1c36b6b5befada7b54841723f9cd7ef6289bb723b46cbe000ccfc7a6e894181fbf58f472330830e5812aab8feb40dab8708cd82532696e510bd56ab0b70a20
-DIST pip-run-12.2.0.tar.gz 36557 BLAKE2B 
a711b984895937546b066accf6e51213ddce2c5a7fff77fd018d3588054968fd3b1560f343f98474944302fe12629272ba1fe374c97b5ab8b6ca4694d4b05081
 SHA512 
a49a94f163a1344d289d53402b41ba31dceab360040e936a3129a7ac7f8c85eb71d4da5a37e517c8a626e6beac2a3265e617b8e63050f0e952bc94969b3dc6ee
-DIST pip-run-12.2.2.tar.gz 37657 BLAKE2B 
ec4c4452e5721b084e6ad175e044a2e414d5885e60b1e85492dd4df458d1fddf044fa02b50a79678564296d2ea8ccc09c021d922d840342bb215f3c737405425
 SHA512 
0416a58f91a76982ca5473a4253d592ddfb3a40234a1641bc2f7cc53b3809cb015a47ea64597b4186824cc2cd0029647f2af2b152025757626a9b80ca3b62737
-DIST pip-run-12.3.1.tar.gz 37698 BLAKE2B 
ff16e49bc45e6f24ce33b49dad5b23930aa4148d73751b786e7cb5776773ccc7f740b5c45b90ec1f93d8ab22f6f9683367be38c67245c6f1323f1a075492a2ea
 SHA512 
ccacd12cb7ff929ae89f3cef867e3ed3a800bd91121f5d34b2c5f9ee31c1e1b1b6bd8e910d63abe388439c0e0ee9960fcfc33dbd21cf755f2903d6817d2a53ac
 DIST pip-run-12.4.0.tar.gz 37749 BLAKE2B 
76e6708cbcb9329b42ac031ee8f2253f04f898a8d6c83ae687f3a7f6e13f33076fdadad641562f379a5cdad1386cb71bf1b40f494c484f86286d1188f86c04ad
 SHA512 
4e6709b2e22b49a3486f4d1caa07ae3d664b09bf76c9338ef8c9fb80024700fcd58c135d3cf3b69e7fcbf1ce20c996436fa87be03fbe9f5801b274ff72a4a790

diff --git a/dev-python/pip-run/pip-run-10.2.0.ebuild 
b/dev-python/pip-run/pip-run-10.2.0.ebuild
deleted file mode 100644
index 9b0cb9ba3a7a..
--- a/dev-python/pip-run/pip-run-10.2.0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Install packages and run Python with them"
-HOMEPAGE="
-   https://github.com/jaraco/pip-run/
-   https://pypi.org/project/pip-run/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc 
x86"
-
-RDEPEND="
-   dev-python/autocommand[${PYTHON_USEDEP}]
-   dev-python/jaraco-context[${PYTHON_USEDEP}]
-   dev-python/jaraco-functools[${PYTHON_USEDEP}]
-   dev-python/jaraco-text[${PYTHON_USEDEP}]
-   >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}]
-   dev-python/packaging[${PYTHON_USEDEP}]
-   dev-python/path[${PYTHON_USEDEP}]
-   dev-python/pip[${PYTHON_USEDEP}]
-   dev-python/platformdirs[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/jaraco-path[${PYTHON_USEDEP}]
-   >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}]
-   dev-python/pygments[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/nbformat[${PYTHON_USEDEP}]
-   ' python3_{10..11})
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/wheel[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local EPYTEST_IGNORE=()
-
-   if ! has_version "dev-python/nbformat[${PYTHON_USEDEP}]"; then
-   EPYTEST_IGNORE+=(
-   tests/test_scripts.py
-   )
-   fi
-
-   epytest -m "not network"
-}

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
deleted file mode 100644

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-10-22 Thread Michał Górny
commit: 4f47a046b122bae598e8e11c2f7018f6f95c4f3a
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Oct 22 06:35:15 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Oct 22 06:55:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f47a046

dev-python/pip: Bump to 23.3.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/Manifest  |   1 +
 dev-python/pip/pip-23.3.1.ebuild | 130 +++
 2 files changed, 131 insertions(+)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index 20169371ad5f..ba2689a79625 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1,2 +1,3 @@
 DIST pip-23.2.1.gh.tar.gz 9370625 BLAKE2B 
9e7855aae371a773a070c24b50f985dac6ff7c2412d51e268368b911b92d0d0b52a839f9d761d5f6aaff33f1e7570d5f930e5063e8af98aa99f50d2f1c1b5ed2
 SHA512 
a6c629976c332cffe5dff0ec1e201d694c7a42fa8def202ebf1db251a6dbd90091eaac89c36a354a0cf0c60cdb267b4e0ec9ff6a88b0ac61cfaafdf159e34fc8
+DIST pip-23.3.1.gh.tar.gz 9397023 BLAKE2B 
f5085bf1faaca93954abb2dfb99f5a365b7bff385ad9f0f692fb41bbf0586617f0a3d7f36df5e3475f150819fdbf7f79fc6bf8b2425fe06dc570cd0ec98fed6e
 SHA512 
eddca29e8c3727d1d8d793ab0b05f069781cac06df805fcf7a363da738d39498135ccbbb6d2d442604a7bf78ba6c3d101ec2043431ac1832a3f2710db7cc5e56
 DIST pip-23.3.gh.tar.gz 9394878 BLAKE2B 
6ef608b204a4cb796585c5ff130ee642bce0e7a464099b7eaf9c9199203fc28ff0a1b260a731f9ba462a9b82e6f68be12fc622ed809ad41a1ab92adaa4993cbd
 SHA512 
1afef5374410387bd1056a9ada21893f1fbb81e7a2d0ab2c9f4b500c99d25b98b55254e0dc36c4e4e408ad84b7be0e24709d25447168b076ce7723d35462d055

diff --git a/dev-python/pip/pip-23.3.1.ebuild b/dev-python/pip/pip-23.3.1.ebuild
new file mode 100644
index ..58c5279dbfaa
--- /dev/null
+++ b/dev-python/pip/pip-23.3.1.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# please bump dev-python/ensurepip-pip along with this package!
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_TESTED=( python3_{10..11} )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 )
+PYTHON_REQ_USE="ssl(+),threads(+)"
+
+inherit bash-completion-r1 distutils-r1 multiprocessing
+
+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/pip/archive/${PV}.tar.gz -> ${P}.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"
+
+RDEPEND="
+   >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   ${RDEPEND}
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/ensurepip-setuptools
+   dev-python/ensurepip-wheel
+   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/virtualenv[${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-23.1-no-coverage.patch"
+   )
+
+   distutils-r1_python_prepare_all
+
+   if use test; then
+   local wheels=(
+   
"${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl
+   )
+   mkdir tests/data/common_wheels/ || die
+   cp "${wheels[@]}" 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}"
+   return 0
+   fi
+
+   local EPYTEST_DESELECT=(
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-10-15 Thread Michał Górny
commit: 7b492acd093aa77789569e55101f33f7749bc552
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Oct 15 17:36:27 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Oct 15 17:56:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b492acd

dev-python/pip: Bump to 23.3

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/Manifest|   1 +
 dev-python/pip/pip-23.3.ebuild | 130 +
 2 files changed, 131 insertions(+)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index ee4ad92612a7..20169371ad5f 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1 +1,2 @@
 DIST pip-23.2.1.gh.tar.gz 9370625 BLAKE2B 
9e7855aae371a773a070c24b50f985dac6ff7c2412d51e268368b911b92d0d0b52a839f9d761d5f6aaff33f1e7570d5f930e5063e8af98aa99f50d2f1c1b5ed2
 SHA512 
a6c629976c332cffe5dff0ec1e201d694c7a42fa8def202ebf1db251a6dbd90091eaac89c36a354a0cf0c60cdb267b4e0ec9ff6a88b0ac61cfaafdf159e34fc8
+DIST pip-23.3.gh.tar.gz 9394878 BLAKE2B 
6ef608b204a4cb796585c5ff130ee642bce0e7a464099b7eaf9c9199203fc28ff0a1b260a731f9ba462a9b82e6f68be12fc622ed809ad41a1ab92adaa4993cbd
 SHA512 
1afef5374410387bd1056a9ada21893f1fbb81e7a2d0ab2c9f4b500c99d25b98b55254e0dc36c4e4e408ad84b7be0e24709d25447168b076ce7723d35462d055

diff --git a/dev-python/pip/pip-23.3.ebuild b/dev-python/pip/pip-23.3.ebuild
new file mode 100644
index ..58c5279dbfaa
--- /dev/null
+++ b/dev-python/pip/pip-23.3.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# please bump dev-python/ensurepip-pip along with this package!
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_TESTED=( python3_{10..11} )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 )
+PYTHON_REQ_USE="ssl(+),threads(+)"
+
+inherit bash-completion-r1 distutils-r1 multiprocessing
+
+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/pip/archive/${PV}.tar.gz -> ${P}.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"
+
+RDEPEND="
+   >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   ${RDEPEND}
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/ensurepip-setuptools
+   dev-python/ensurepip-wheel
+   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/virtualenv[${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-23.1-no-coverage.patch"
+   )
+
+   distutils-r1_python_prepare_all
+
+   if use test; then
+   local wheels=(
+   
"${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl
+   )
+   mkdir tests/data/common_wheels/ || die
+   cp "${wheels[@]}" 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}"
+   return 0
+   fi
+
+   local EPYTEST_DESELECT=(
+   tests/functional/test_inspect.py::test_inspect_basic
+   tests/functional/test_install.py::test_double_install_fail
+   # Internet
+   tests/functional/test_install.py::test_install_dry_run
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-10-15 Thread Sam James
commit: 7ad627a7767651177aba6526ae1442c77bb81687
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 15 12:38:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 15 12:38:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ad627a7

dev-python/pip-run: Stabilize 12.4.0 amd64, #915747

Signed-off-by: Sam James  gentoo.org>

 dev-python/pip-run/pip-run-12.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.4.0.ebuild 
b/dev-python/pip-run/pip-run-12.4.0.ebuild
index 05a43110f521..39a7e2d47eda 100644
--- a/dev-python/pip-run/pip-run-12.4.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.4.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ~ppc64 ~riscv ~s390 
sparc x86"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ~ppc64 ~riscv ~s390 
sparc x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-10-15 Thread Sam James
commit: f012561827512e6712dc9de26d1fe87bee5c7222
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 15 07:37:54 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 15 07:37:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0125618

dev-python/pip-run: Stabilize 12.4.0 hppa, #915747

Signed-off-by: Sam James  gentoo.org>

 dev-python/pip-run/pip-run-12.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.4.0.ebuild 
b/dev-python/pip-run/pip-run-12.4.0.ebuild
index 411f42410175..05a43110f521 100644
--- a/dev-python/pip-run/pip-run-12.4.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.4.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ppc ~ppc64 ~riscv ~s390 
sparc x86"
+KEYWORDS="~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ~ppc64 ~riscv ~s390 
sparc x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-10-14 Thread Arthur Zamarin
commit: 8aa0c2f1e3a366d9663174c073e2bd89d0ef766b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Oct 14 19:52:06 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Oct 14 19:52:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aa0c2f1

dev-python/pip-run: Stabilize 12.4.0 ppc, #915747

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pip-run/pip-run-12.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.4.0.ebuild 
b/dev-python/pip-run/pip-run-12.4.0.ebuild
index 19072c5b0d86..411f42410175 100644
--- a/dev-python/pip-run/pip-run-12.4.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.4.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
sparc x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ppc ~ppc64 ~riscv ~s390 
sparc x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-10-14 Thread Arthur Zamarin
commit: a8735125dad73ae5b794800fb82cbb48b8935c72
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Oct 14 18:16:53 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Oct 14 18:16:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8735125

dev-python/pip-run: Stabilize 12.4.0 arm64, #915747

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pip-run/pip-run-12.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.4.0.ebuild 
b/dev-python/pip-run/pip-run-12.4.0.ebuild
index 06c185c1798b..7267398687b8 100644
--- a/dev-python/pip-run/pip-run-12.4.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.4.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
sparc x86"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
sparc x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-10-14 Thread Arthur Zamarin
commit: 448f13d4f779863d0303abd1b6bd351aed568070
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Oct 14 18:16:54 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Oct 14 18:16:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=448f13d4

dev-python/pip-run: Stabilize 12.4.0 arm, #915747

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pip-run/pip-run-12.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.4.0.ebuild 
b/dev-python/pip-run/pip-run-12.4.0.ebuild
index 7267398687b8..19072c5b0d86 100644
--- a/dev-python/pip-run/pip-run-12.4.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.4.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
sparc x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
sparc x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-10-14 Thread Arthur Zamarin
commit: dafa341fb7adf06d8669eed969370ef2550edabe
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Oct 14 16:58:49 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Oct 14 16:58:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dafa341f

dev-python/pip-run: Stabilize 12.4.0 sparc, #915747

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pip-run/pip-run-12.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.4.0.ebuild 
b/dev-python/pip-run/pip-run-12.4.0.ebuild
index d7772854ccf4..06c185c1798b 100644
--- a/dev-python/pip-run/pip-run-12.4.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.4.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
sparc x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-10-14 Thread Arthur Zamarin
commit: 3b77fd8493a24e037497ece6b8d6445aa31f68ab
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Oct 14 16:50:36 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Oct 14 16:50:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b77fd84

dev-python/pip-run: Stabilize 12.4.0 x86, #915747

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pip-run/pip-run-12.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.4.0.ebuild 
b/dev-python/pip-run/pip-run-12.4.0.ebuild
index 5cc2fbb52d69..d7772854ccf4 100644
--- a/dev-python/pip-run/pip-run-12.4.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.4.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-10-08 Thread Michał Górny
commit: 557171468d9031b930cb01caafdf40304c3dddc1
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct  9 04:27:59 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct  9 04:29:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55717146

dev-python/pip-run: Bump to 12.4.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/Manifest  |  1 +
 dev-python/pip-run/pip-run-12.4.0.ebuild | 58 
 2 files changed, 59 insertions(+)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index 4a03525c74e8..9d8085c59924 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -3,3 +3,4 @@ DIST pip-run-12.1.0.tar.gz 34387 BLAKE2B 
306dce020589a0cdcaddc70baf75a41621c72a4
 DIST pip-run-12.2.0.tar.gz 36557 BLAKE2B 
a711b984895937546b066accf6e51213ddce2c5a7fff77fd018d3588054968fd3b1560f343f98474944302fe12629272ba1fe374c97b5ab8b6ca4694d4b05081
 SHA512 
a49a94f163a1344d289d53402b41ba31dceab360040e936a3129a7ac7f8c85eb71d4da5a37e517c8a626e6beac2a3265e617b8e63050f0e952bc94969b3dc6ee
 DIST pip-run-12.2.2.tar.gz 37657 BLAKE2B 
ec4c4452e5721b084e6ad175e044a2e414d5885e60b1e85492dd4df458d1fddf044fa02b50a79678564296d2ea8ccc09c021d922d840342bb215f3c737405425
 SHA512 
0416a58f91a76982ca5473a4253d592ddfb3a40234a1641bc2f7cc53b3809cb015a47ea64597b4186824cc2cd0029647f2af2b152025757626a9b80ca3b62737
 DIST pip-run-12.3.1.tar.gz 37698 BLAKE2B 
ff16e49bc45e6f24ce33b49dad5b23930aa4148d73751b786e7cb5776773ccc7f740b5c45b90ec1f93d8ab22f6f9683367be38c67245c6f1323f1a075492a2ea
 SHA512 
ccacd12cb7ff929ae89f3cef867e3ed3a800bd91121f5d34b2c5f9ee31c1e1b1b6bd8e910d63abe388439c0e0ee9960fcfc33dbd21cf755f2903d6817d2a53ac
+DIST pip-run-12.4.0.tar.gz 37749 BLAKE2B 
76e6708cbcb9329b42ac031ee8f2253f04f898a8d6c83ae687f3a7f6e13f33076fdadad641562f379a5cdad1386cb71bf1b40f494c484f86286d1188f86c04ad
 SHA512 
4e6709b2e22b49a3486f4d1caa07ae3d664b09bf76c9338ef8c9fb80024700fcd58c135d3cf3b69e7fcbf1ce20c996436fa87be03fbe9f5801b274ff72a4a790

diff --git a/dev-python/pip-run/pip-run-12.4.0.ebuild 
b/dev-python/pip-run/pip-run-12.4.0.ebuild
new file mode 100644
index ..5cc2fbb52d69
--- /dev/null
+++ b/dev-python/pip-run/pip-run-12.4.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Install packages and run Python with them"
+HOMEPAGE="
+   https://github.com/jaraco/pip-run/
+   https://pypi.org/project/pip-run/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+
+RDEPEND="
+   dev-python/autocommand[${PYTHON_USEDEP}]
+   dev-python/jaraco-context[${PYTHON_USEDEP}]
+   dev-python/jaraco-env[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-functools-3.7[${PYTHON_USEDEP}]
+   dev-python/jaraco-text[${PYTHON_USEDEP}]
+   >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   dev-python/path[${PYTHON_USEDEP}]
+   dev-python/pip[${PYTHON_USEDEP}]
+   dev-python/platformdirs[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/flit-core[${PYTHON_USEDEP}]
+   dev-python/jaraco-path[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/nbformat[${PYTHON_USEDEP}]
+   ' python3_{10..11})
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_IGNORE=()
+
+   if ! has_version "dev-python/nbformat[${PYTHON_USEDEP}]"; then
+   EPYTEST_IGNORE+=(
+   tests/test_scripts.py
+   )
+   fi
+
+   epytest -m "not network"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-10-01 Thread Michał Górny
commit: 0145b98fdf8d62b4b581d225a3f5ef9a05488aee
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct  2 04:38:42 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct  2 04:46:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0145b98f

dev-python/pip-run: Bump to 12.3.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/Manifest  |  1 +
 dev-python/pip-run/pip-run-12.3.1.ebuild | 58 
 2 files changed, 59 insertions(+)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index 666c35356597..4a03525c74e8 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -2,3 +2,4 @@ DIST pip-run-10.2.0.tar.gz 33523 BLAKE2B 
7d19c089da98dbba2faec969f490fcd5ea48881
 DIST pip-run-12.1.0.tar.gz 34387 BLAKE2B 
306dce020589a0cdcaddc70baf75a41621c72a450af58a2f54c5128f8210b02f4ee2b4df5b8bca1e0617ef53e79ab89969765b053801dc4f9d60bddf7c40e76e
 SHA512 
fa1c36b6b5befada7b54841723f9cd7ef6289bb723b46cbe000ccfc7a6e894181fbf58f472330830e5812aab8feb40dab8708cd82532696e510bd56ab0b70a20
 DIST pip-run-12.2.0.tar.gz 36557 BLAKE2B 
a711b984895937546b066accf6e51213ddce2c5a7fff77fd018d3588054968fd3b1560f343f98474944302fe12629272ba1fe374c97b5ab8b6ca4694d4b05081
 SHA512 
a49a94f163a1344d289d53402b41ba31dceab360040e936a3129a7ac7f8c85eb71d4da5a37e517c8a626e6beac2a3265e617b8e63050f0e952bc94969b3dc6ee
 DIST pip-run-12.2.2.tar.gz 37657 BLAKE2B 
ec4c4452e5721b084e6ad175e044a2e414d5885e60b1e85492dd4df458d1fddf044fa02b50a79678564296d2ea8ccc09c021d922d840342bb215f3c737405425
 SHA512 
0416a58f91a76982ca5473a4253d592ddfb3a40234a1641bc2f7cc53b3809cb015a47ea64597b4186824cc2cd0029647f2af2b152025757626a9b80ca3b62737
+DIST pip-run-12.3.1.tar.gz 37698 BLAKE2B 
ff16e49bc45e6f24ce33b49dad5b23930aa4148d73751b786e7cb5776773ccc7f740b5c45b90ec1f93d8ab22f6f9683367be38c67245c6f1323f1a075492a2ea
 SHA512 
ccacd12cb7ff929ae89f3cef867e3ed3a800bd91121f5d34b2c5f9ee31c1e1b1b6bd8e910d63abe388439c0e0ee9960fcfc33dbd21cf755f2903d6817d2a53ac

diff --git a/dev-python/pip-run/pip-run-12.3.1.ebuild 
b/dev-python/pip-run/pip-run-12.3.1.ebuild
new file mode 100644
index ..5cc2fbb52d69
--- /dev/null
+++ b/dev-python/pip-run/pip-run-12.3.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Install packages and run Python with them"
+HOMEPAGE="
+   https://github.com/jaraco/pip-run/
+   https://pypi.org/project/pip-run/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+
+RDEPEND="
+   dev-python/autocommand[${PYTHON_USEDEP}]
+   dev-python/jaraco-context[${PYTHON_USEDEP}]
+   dev-python/jaraco-env[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-functools-3.7[${PYTHON_USEDEP}]
+   dev-python/jaraco-text[${PYTHON_USEDEP}]
+   >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   dev-python/path[${PYTHON_USEDEP}]
+   dev-python/pip[${PYTHON_USEDEP}]
+   dev-python/platformdirs[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/flit-core[${PYTHON_USEDEP}]
+   dev-python/jaraco-path[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/nbformat[${PYTHON_USEDEP}]
+   ' python3_{10..11})
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_IGNORE=()
+
+   if ! has_version "dev-python/nbformat[${PYTHON_USEDEP}]"; then
+   EPYTEST_IGNORE+=(
+   tests/test_scripts.py
+   )
+   fi
+
+   epytest -m "not network"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-09-09 Thread Michał Górny
commit: a910e4d9cb174715cf6eec1a5e485de044adf0b5
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Sep 10 02:16:48 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Sep 10 02:24:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a910e4d9

dev-python/pip-run: Bump to 12.2.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/Manifest  |  1 +
 dev-python/pip-run/pip-run-12.2.2.ebuild | 58 
 2 files changed, 59 insertions(+)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index 2053e43e8279..666c35356597 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -1,3 +1,4 @@
 DIST pip-run-10.2.0.tar.gz 33523 BLAKE2B 
7d19c089da98dbba2faec969f490fcd5ea48881f4ccbbfaa283465ef083521aee7d82b9de8b03a89ec8b08005db1232cd9577030cb98c111b4a0e0f7294cca84
 SHA512 
b26a00c6ebd8e9e505e6b218fea7070b23b5926de44e1d5a762abb2a4ebd62b1bdda7e19c4092012daf068b518a2e127ab08099f6d1a7ddc643b3ba5bf999ed0
 DIST pip-run-12.1.0.tar.gz 34387 BLAKE2B 
306dce020589a0cdcaddc70baf75a41621c72a450af58a2f54c5128f8210b02f4ee2b4df5b8bca1e0617ef53e79ab89969765b053801dc4f9d60bddf7c40e76e
 SHA512 
fa1c36b6b5befada7b54841723f9cd7ef6289bb723b46cbe000ccfc7a6e894181fbf58f472330830e5812aab8feb40dab8708cd82532696e510bd56ab0b70a20
 DIST pip-run-12.2.0.tar.gz 36557 BLAKE2B 
a711b984895937546b066accf6e51213ddce2c5a7fff77fd018d3588054968fd3b1560f343f98474944302fe12629272ba1fe374c97b5ab8b6ca4694d4b05081
 SHA512 
a49a94f163a1344d289d53402b41ba31dceab360040e936a3129a7ac7f8c85eb71d4da5a37e517c8a626e6beac2a3265e617b8e63050f0e952bc94969b3dc6ee
+DIST pip-run-12.2.2.tar.gz 37657 BLAKE2B 
ec4c4452e5721b084e6ad175e044a2e414d5885e60b1e85492dd4df458d1fddf044fa02b50a79678564296d2ea8ccc09c021d922d840342bb215f3c737405425
 SHA512 
0416a58f91a76982ca5473a4253d592ddfb3a40234a1641bc2f7cc53b3809cb015a47ea64597b4186824cc2cd0029647f2af2b152025757626a9b80ca3b62737

diff --git a/dev-python/pip-run/pip-run-12.2.2.ebuild 
b/dev-python/pip-run/pip-run-12.2.2.ebuild
new file mode 100644
index ..5cc2fbb52d69
--- /dev/null
+++ b/dev-python/pip-run/pip-run-12.2.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Install packages and run Python with them"
+HOMEPAGE="
+   https://github.com/jaraco/pip-run/
+   https://pypi.org/project/pip-run/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+
+RDEPEND="
+   dev-python/autocommand[${PYTHON_USEDEP}]
+   dev-python/jaraco-context[${PYTHON_USEDEP}]
+   dev-python/jaraco-env[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-functools-3.7[${PYTHON_USEDEP}]
+   dev-python/jaraco-text[${PYTHON_USEDEP}]
+   >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   dev-python/path[${PYTHON_USEDEP}]
+   dev-python/pip[${PYTHON_USEDEP}]
+   dev-python/platformdirs[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/flit-core[${PYTHON_USEDEP}]
+   dev-python/jaraco-path[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/nbformat[${PYTHON_USEDEP}]
+   ' python3_{10..11})
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_IGNORE=()
+
+   if ! has_version "dev-python/nbformat[${PYTHON_USEDEP}]"; then
+   EPYTEST_IGNORE+=(
+   tests/test_scripts.py
+   )
+   fi
+
+   epytest -m "not network"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-09-08 Thread Michał Górny
commit: 762ed5176252ca0a836be9e82200853df7ea10c4
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Sep  9 03:08:05 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Sep  9 03:22:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=762ed517

dev-python/pip-run: Bump to 12.2.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/Manifest  |  1 +
 dev-python/pip-run/pip-run-12.2.0.ebuild | 58 
 2 files changed, 59 insertions(+)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index 51c4ab889d69..2053e43e8279 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -1,2 +1,3 @@
 DIST pip-run-10.2.0.tar.gz 33523 BLAKE2B 
7d19c089da98dbba2faec969f490fcd5ea48881f4ccbbfaa283465ef083521aee7d82b9de8b03a89ec8b08005db1232cd9577030cb98c111b4a0e0f7294cca84
 SHA512 
b26a00c6ebd8e9e505e6b218fea7070b23b5926de44e1d5a762abb2a4ebd62b1bdda7e19c4092012daf068b518a2e127ab08099f6d1a7ddc643b3ba5bf999ed0
 DIST pip-run-12.1.0.tar.gz 34387 BLAKE2B 
306dce020589a0cdcaddc70baf75a41621c72a450af58a2f54c5128f8210b02f4ee2b4df5b8bca1e0617ef53e79ab89969765b053801dc4f9d60bddf7c40e76e
 SHA512 
fa1c36b6b5befada7b54841723f9cd7ef6289bb723b46cbe000ccfc7a6e894181fbf58f472330830e5812aab8feb40dab8708cd82532696e510bd56ab0b70a20
+DIST pip-run-12.2.0.tar.gz 36557 BLAKE2B 
a711b984895937546b066accf6e51213ddce2c5a7fff77fd018d3588054968fd3b1560f343f98474944302fe12629272ba1fe374c97b5ab8b6ca4694d4b05081
 SHA512 
a49a94f163a1344d289d53402b41ba31dceab360040e936a3129a7ac7f8c85eb71d4da5a37e517c8a626e6beac2a3265e617b8e63050f0e952bc94969b3dc6ee

diff --git a/dev-python/pip-run/pip-run-12.2.0.ebuild 
b/dev-python/pip-run/pip-run-12.2.0.ebuild
new file mode 100644
index ..5cc2fbb52d69
--- /dev/null
+++ b/dev-python/pip-run/pip-run-12.2.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Install packages and run Python with them"
+HOMEPAGE="
+   https://github.com/jaraco/pip-run/
+   https://pypi.org/project/pip-run/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+
+RDEPEND="
+   dev-python/autocommand[${PYTHON_USEDEP}]
+   dev-python/jaraco-context[${PYTHON_USEDEP}]
+   dev-python/jaraco-env[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-functools-3.7[${PYTHON_USEDEP}]
+   dev-python/jaraco-text[${PYTHON_USEDEP}]
+   >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   dev-python/path[${PYTHON_USEDEP}]
+   dev-python/pip[${PYTHON_USEDEP}]
+   dev-python/platformdirs[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/flit-core[${PYTHON_USEDEP}]
+   dev-python/jaraco-path[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/nbformat[${PYTHON_USEDEP}]
+   ' python3_{10..11})
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_IGNORE=()
+
+   if ! has_version "dev-python/nbformat[${PYTHON_USEDEP}]"; then
+   EPYTEST_IGNORE+=(
+   tests/test_scripts.py
+   )
+   fi
+
+   epytest -m "not network"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-08-20 Thread James Le Cuirot
commit: 7648aa8ec15b10f79583faca4a8480eb2ed5bb1a
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sun Aug 20 17:18:22 2023 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sun Aug 20 17:18:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7648aa8e

dev-python/pip-run: Keyword 12.1.0 for ~m68k

Cannot run tests due to missing keywords but runtime tested.

Signed-off-by: James Le Cuirot  gentoo.org>

 dev-python/pip-run/pip-run-12.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
index 602660eb1b51..622e2ddfcd2d 100644
--- a/dev-python/pip-run/pip-run-12.1.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 
~sparc x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-08-19 Thread Michał Górny
commit: 3d3e86a0b1eff4fcaf78110dcd7459cb8fb1aa3b
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug 19 18:15:01 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug 19 18:15:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d3e86a0

dev-python/pip: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/Manifest  |   2 -
 dev-python/pip/pip-23.1.2.ebuild | 127 --
 dev-python/pip/pip-23.2.ebuild   | 130 ---
 3 files changed, 259 deletions(-)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index 07d31b3cf822..ee4ad92612a7 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1,3 +1 @@
-DIST pip-23.1.2.gh.tar.gz 9345911 BLAKE2B 
511ac1a9405e377ccb2525e89676f4a63f138aa526d40e76f4d9681139d94db1f92772beab1a647654c17abc6bee09f52cf4c4f4484716874194565fda07d056
 SHA512 
b33070cb59a1258904a60b48ec8abfd9e316c5f87681fea13d89ddf6d516afac10965ae1db54fea299a0a72f98602ce02e8b3be46f239e857db84866045730e1
 DIST pip-23.2.1.gh.tar.gz 9370625 BLAKE2B 
9e7855aae371a773a070c24b50f985dac6ff7c2412d51e268368b911b92d0d0b52a839f9d761d5f6aaff33f1e7570d5f930e5063e8af98aa99f50d2f1c1b5ed2
 SHA512 
a6c629976c332cffe5dff0ec1e201d694c7a42fa8def202ebf1db251a6dbd90091eaac89c36a354a0cf0c60cdb267b4e0ec9ff6a88b0ac61cfaafdf159e34fc8
-DIST pip-23.2.gh.tar.gz 9370682 BLAKE2B 
dbce43e29ed453e32e13a6d2f18ba2d8095021de0073d13de18cb55b5410415d0feeb2610e31ae8a0025864e6d05eb41aab3dd8adeaecf990fa31e7284e71fa5
 SHA512 
fe915a8f85b21d59b416a5b1fad6e6ce2874b27e055c86ad71efe31c492f117a468734da239882c3d7f4678f91389daf0e8d13abc6429ddca5bfef87cb29dae0

diff --git a/dev-python/pip/pip-23.1.2.ebuild b/dev-python/pip/pip-23.1.2.ebuild
deleted file mode 100644
index dccb1733d387..
--- a/dev-python/pip/pip-23.1.2.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# please bump dev-python/ensurepip-pip along with this package!
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_TESTED=( python3_{10..11} )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 )
-PYTHON_REQ_USE="ssl(+),threads(+)"
-
-inherit bash-completion-r1 distutils-r1 multiprocessing
-
-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/pip/archive/${PV}.tar.gz -> ${P}.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"
-
-RDEPEND="
-   >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   ${RDEPEND}
-   test? (
-   $(python_gen_cond_dep '
-   dev-python/ensurepip-setuptools
-   dev-python/ensurepip-wheel
-   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/virtualenv[${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-23.1-no-coverage.patch"
-   )
-
-   distutils-r1_python_prepare_all
-
-   if use test; then
-   local wheels=(
-   
"${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl
-   )
-   mkdir tests/data/common_wheels/ || die
-   cp "${wheels[@]}" 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}"
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-08-19 Thread Arthur Zamarin
commit: 980c261c2d80b097e3c106034be26d6eb031769f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Aug 19 17:04:16 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Aug 19 17:04:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=980c261c

dev-python/pip: Stabilize 23.2.1 ALLARCHES, #912603

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pip/pip-23.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip/pip-23.2.1.ebuild b/dev-python/pip/pip-23.2.1.ebuild
index 58c5279dbfaa..5f4a2d920c67 100644
--- a/dev-python/pip/pip-23.2.1.ebuild
+++ b/dev-python/pip/pip-23.2.1.ebuild
@@ -25,7 +25,7 @@ SRC_URI="
 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"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 SLOT="0"
 IUSE="test-rust"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-08-03 Thread Arthur Zamarin
commit: 53dfb340547adb00923bccffe8363791c299d66f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Aug  3 11:38:26 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Aug  3 11:38:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53dfb340

dev-python/pip-run: Keyword 12.1.0 s390, #909299

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pip-run/pip-run-12.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
index bc915ca92d84..602660eb1b51 100644
--- a/dev-python/pip-run/pip-run-12.1.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-08-02 Thread Arthur Zamarin
commit: c17296ba7a7bddc92eeec68af05f505b66135e29
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Aug  2 19:18:05 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Aug  2 19:18:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c17296ba

dev-python/pip-run: Keyword 12.1.0 sparc, #909299

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pip-run/pip-run-12.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
index d74146239c65..bc915ca92d84 100644
--- a/dev-python/pip-run/pip-run-12.1.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-08-02 Thread Sam James
commit: f51968664441b32943f6727c1b11befdf5019c8c
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug  2 15:25:53 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug  2 15:25:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5196866

dev-python/pip-run: Stabilize 12.1.0 hppa, #911357

Signed-off-by: Sam James  gentoo.org>

 dev-python/pip-run/pip-run-12.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
index 8f6fa44d8a17..d74146239c65 100644
--- a/dev-python/pip-run/pip-run-12.1.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-08-02 Thread Arthur Zamarin
commit: 4aa9830829e372a85760971e49ec7b6dedc863af
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Aug  2 12:04:51 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Aug  2 12:04:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aa98308

dev-python/pip-run: Stabilize 12.1.0 ppc, #911357

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pip-run/pip-run-12.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
index 9fca43dc7496..8f6fa44d8a17 100644
--- a/dev-python/pip-run/pip-run-12.1.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-07-28 Thread Sam James
commit: 17a956e45dc84ab6ece5830dc3836489db360ead
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 28 09:36:32 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 28 09:36:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17a956e4

dev-python/pip-run: Stabilize 12.1.0 arm, #911357

Signed-off-by: Sam James  gentoo.org>

 dev-python/pip-run/pip-run-12.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
index 8afd40c0b640..9fca43dc7496 100644
--- a/dev-python/pip-run/pip-run-12.1.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-07-28 Thread Sam James
commit: 91ca245c3e025c0d63f9896a95d79fb46856dd75
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 28 09:36:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 28 09:36:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91ca245c

dev-python/pip-run: Stabilize 12.1.0 ppc64, #911357

Signed-off-by: Sam James  gentoo.org>

 dev-python/pip-run/pip-run-12.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
index 7f5f559f364a..62ecfd522d59 100644
--- a/dev-python/pip-run/pip-run-12.1.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-07-28 Thread Sam James
commit: 3e35b0d0697b1d7272055c8e6431fbdc9354f0e6
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 28 09:36:30 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 28 09:36:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e35b0d0

dev-python/pip-run: Stabilize 12.1.0 arm64, #911357

Signed-off-by: Sam James  gentoo.org>

 dev-python/pip-run/pip-run-12.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
index 62ecfd522d59..8afd40c0b640 100644
--- a/dev-python/pip-run/pip-run-12.1.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-07-28 Thread Sam James
commit: 6cfa776c2935da328c5a397e91e6ea9b26826dd9
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 28 07:55:19 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 28 07:55:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cfa776c

dev-python/pip-run: Stabilize 12.1.0 x86, #911357

Signed-off-by: Sam James  gentoo.org>

 dev-python/pip-run/pip-run-12.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
index 36249ede18c3..c5d4f9faf214 100644
--- a/dev-python/pip-run/pip-run-12.1.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-07-28 Thread Sam James
commit: 59773b7b93acce6e1edd5d03b14e8792d94f3d25
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 28 07:55:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 28 07:55:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59773b7b

dev-python/pip-run: Stabilize 12.1.0 amd64, #911357

Signed-off-by: Sam James  gentoo.org>

 dev-python/pip-run/pip-run-12.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
index c5d4f9faf214..7f5f559f364a 100644
--- a/dev-python/pip-run/pip-run-12.1.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-07-23 Thread Michał Górny
commit: fb32ddbf555f3b28e4bf4b490d510ac3c84febae
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jul 23 06:28:30 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 23 06:53:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb32ddbf

dev-python/pip: Bump to 23.2.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/Manifest  |   1 +
 dev-python/pip/pip-23.2.1.ebuild | 130 +++
 2 files changed, 131 insertions(+)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index 6903019fcecc..07d31b3cf822 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1,2 +1,3 @@
 DIST pip-23.1.2.gh.tar.gz 9345911 BLAKE2B 
511ac1a9405e377ccb2525e89676f4a63f138aa526d40e76f4d9681139d94db1f92772beab1a647654c17abc6bee09f52cf4c4f4484716874194565fda07d056
 SHA512 
b33070cb59a1258904a60b48ec8abfd9e316c5f87681fea13d89ddf6d516afac10965ae1db54fea299a0a72f98602ce02e8b3be46f239e857db84866045730e1
+DIST pip-23.2.1.gh.tar.gz 9370625 BLAKE2B 
9e7855aae371a773a070c24b50f985dac6ff7c2412d51e268368b911b92d0d0b52a839f9d761d5f6aaff33f1e7570d5f930e5063e8af98aa99f50d2f1c1b5ed2
 SHA512 
a6c629976c332cffe5dff0ec1e201d694c7a42fa8def202ebf1db251a6dbd90091eaac89c36a354a0cf0c60cdb267b4e0ec9ff6a88b0ac61cfaafdf159e34fc8
 DIST pip-23.2.gh.tar.gz 9370682 BLAKE2B 
dbce43e29ed453e32e13a6d2f18ba2d8095021de0073d13de18cb55b5410415d0feeb2610e31ae8a0025864e6d05eb41aab3dd8adeaecf990fa31e7284e71fa5
 SHA512 
fe915a8f85b21d59b416a5b1fad6e6ce2874b27e055c86ad71efe31c492f117a468734da239882c3d7f4678f91389daf0e8d13abc6429ddca5bfef87cb29dae0

diff --git a/dev-python/pip/pip-23.2.1.ebuild b/dev-python/pip/pip-23.2.1.ebuild
new file mode 100644
index ..58c5279dbfaa
--- /dev/null
+++ b/dev-python/pip/pip-23.2.1.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# please bump dev-python/ensurepip-pip along with this package!
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_TESTED=( python3_{10..11} )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 )
+PYTHON_REQ_USE="ssl(+),threads(+)"
+
+inherit bash-completion-r1 distutils-r1 multiprocessing
+
+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/pip/archive/${PV}.tar.gz -> ${P}.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"
+
+RDEPEND="
+   >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   ${RDEPEND}
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/ensurepip-setuptools
+   dev-python/ensurepip-wheel
+   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/virtualenv[${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-23.1-no-coverage.patch"
+   )
+
+   distutils-r1_python_prepare_all
+
+   if use test; then
+   local wheels=(
+   
"${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl
+   )
+   mkdir tests/data/common_wheels/ || die
+   cp "${wheels[@]}" 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}"
+   return 0
+   fi
+
+   local EPYTEST_DESELECT=(
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-07-17 Thread Michał Górny
commit: 8479d5ced48c9ef5d270e6e7e13bc9913890ca22
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul 17 05:43:13 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul 17 07:34:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8479d5ce

dev-python/pip: Bump to 23.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/Manifest|   1 +
 dev-python/pip/pip-23.2.ebuild | 130 +
 2 files changed, 131 insertions(+)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index ac3667d59e20..6903019fcecc 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1 +1,2 @@
 DIST pip-23.1.2.gh.tar.gz 9345911 BLAKE2B 
511ac1a9405e377ccb2525e89676f4a63f138aa526d40e76f4d9681139d94db1f92772beab1a647654c17abc6bee09f52cf4c4f4484716874194565fda07d056
 SHA512 
b33070cb59a1258904a60b48ec8abfd9e316c5f87681fea13d89ddf6d516afac10965ae1db54fea299a0a72f98602ce02e8b3be46f239e857db84866045730e1
+DIST pip-23.2.gh.tar.gz 9370682 BLAKE2B 
dbce43e29ed453e32e13a6d2f18ba2d8095021de0073d13de18cb55b5410415d0feeb2610e31ae8a0025864e6d05eb41aab3dd8adeaecf990fa31e7284e71fa5
 SHA512 
fe915a8f85b21d59b416a5b1fad6e6ce2874b27e055c86ad71efe31c492f117a468734da239882c3d7f4678f91389daf0e8d13abc6429ddca5bfef87cb29dae0

diff --git a/dev-python/pip/pip-23.2.ebuild b/dev-python/pip/pip-23.2.ebuild
new file mode 100644
index ..58c5279dbfaa
--- /dev/null
+++ b/dev-python/pip/pip-23.2.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# please bump dev-python/ensurepip-pip along with this package!
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_TESTED=( python3_{10..11} )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 )
+PYTHON_REQ_USE="ssl(+),threads(+)"
+
+inherit bash-completion-r1 distutils-r1 multiprocessing
+
+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/pip/archive/${PV}.tar.gz -> ${P}.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"
+
+RDEPEND="
+   >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   ${RDEPEND}
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/ensurepip-setuptools
+   dev-python/ensurepip-wheel
+   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/virtualenv[${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-23.1-no-coverage.patch"
+   )
+
+   distutils-r1_python_prepare_all
+
+   if use test; then
+   local wheels=(
+   
"${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl
+   )
+   mkdir tests/data/common_wheels/ || die
+   cp "${wheels[@]}" 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}"
+   return 0
+   fi
+
+   local EPYTEST_DESELECT=(
+   tests/functional/test_inspect.py::test_inspect_basic
+   tests/functional/test_install.py::test_double_install_fail
+   # Internet
+   tests/functional/test_install.py::test_install_dry_run
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-07-07 Thread WANG Xuerui
commit: 187c3f734047ab1ed4819a74f7dff4933d452caa
Author: WANG Xuerui  gentoo  org>
AuthorDate: Fri Jul  7 10:22:28 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Fri Jul  7 10:22:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=187c3f73

dev-python/pip-run: keyword 12.1.0 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-python/pip-run/pip-run-12.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
index 374ec3d2fe83..36249ede18c3 100644
--- a/dev-python/pip-run/pip-run-12.1.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-06-29 Thread Yixun Lan
commit: b5fd0fdccc5e81c8e7932adfc676c8bf409005a1
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Jun 29 13:33:30 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Jun 29 13:36:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5fd0fdc

dev-python/pip-run: Keyword 12.0.0 riscv, #909299

Signed-off-by: Yixun Lan  gentoo.org>

 dev-python/pip-run/pip-run-12.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
index b6fd4884dbaa..374ec3d2fe83 100644
--- a/dev-python/pip-run/pip-run-12.1.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-06-27 Thread Arthur Zamarin
commit: 12b22d80035d4a16ec23d7b684c4e477e284793a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jun 27 16:11:53 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jun 27 16:11:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12b22d80

dev-python/pip-run: Keyword 12.1.0 ia64, #909299

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pip-run/pip-run-12.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
index addba9d63c17..e2a8f025929c 100644
--- a/dev-python/pip-run/pip-run-12.1.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-06-27 Thread Arthur Zamarin
commit: 4aeb2be92ef609fc91d1dbb067985dad405c0ff4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Jun 27 16:11:55 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jun 27 16:11:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aeb2be9

dev-python/pip-run: Keyword 12.1.0 x86, #909299

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pip-run/pip-run-12.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
index e2a8f025929c..b6fd4884dbaa 100644
--- a/dev-python/pip-run/pip-run-12.1.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-06-27 Thread Sam James
commit: 58d9760f36e1e79dc0111ac55634a66973536c9f
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 27 12:36:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 27 12:36:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58d9760f

dev-python/pip-run: Keyword 12.1.0 arm, #909299

Signed-off-by: Sam James  gentoo.org>

 dev-python/pip-run/pip-run-12.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
index 6a775e95ee03..2ae216e2b627 100644
--- a/dev-python/pip-run/pip-run-12.1.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-06-27 Thread Sam James
commit: 0587db784a05e4452d155a8c01087cc5e442c87e
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 27 12:36:30 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 27 12:36:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0587db78

dev-python/pip-run: Keyword 12.1.0 arm64, #909299

Signed-off-by: Sam James  gentoo.org>

 dev-python/pip-run/pip-run-12.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
index 2ae216e2b627..addba9d63c17 100644
--- a/dev-python/pip-run/pip-run-12.1.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-06-27 Thread Sam James
commit: d539a342c01901fbe796c2a02754ecb3731691b2
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 27 12:36:25 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 27 12:36:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d539a342

dev-python/pip-run: Keyword 12.1.0 hppa, #909299

Signed-off-by: Sam James  gentoo.org>

 dev-python/pip-run/pip-run-12.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
index 4bdb4d6c173a..6a775e95ee03 100644
--- a/dev-python/pip-run/pip-run-12.1.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-06-27 Thread Sam James
commit: 615e65304699c2294d11e8b957c8177f4c423270
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 27 12:29:06 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 27 12:29:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=615e6530

dev-python/pip-run: Keyword 12.1.0 ppc, #909299

Signed-off-by: Sam James  gentoo.org>

 dev-python/pip-run/pip-run-12.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
index f8ff3d17710e..56a547904b38 100644
--- a/dev-python/pip-run/pip-run-12.1.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~ppc"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-06-27 Thread Sam James
commit: 854758ec0097464304ab335573408811db95b723
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 27 12:29:08 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 27 12:29:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=854758ec

dev-python/pip-run: Keyword 12.1.0 ppc64, #909299

Signed-off-by: Sam James  gentoo.org>

 dev-python/pip-run/pip-run-12.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
index 56a547904b38..4bdb4d6c173a 100644
--- a/dev-python/pip-run/pip-run-12.1.0.ebuild
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc"
+KEYWORDS="~amd64 ~ppc ~ppc64"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-06-27 Thread Michał Górny
commit: 806943a14e4c880ed42d7f8d74b566357f752ba1
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 27 11:56:49 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 11:56:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=806943a1

dev-python/pip-run: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/Manifest  |  4 ---
 dev-python/pip-run/pip-run-10.0.7.ebuild | 56 --
 dev-python/pip-run/pip-run-10.1.1.ebuild | 58 ---
 dev-python/pip-run/pip-run-11.0.0.ebuild | 59 
 dev-python/pip-run/pip-run-12.0.0.ebuild | 59 
 5 files changed, 236 deletions(-)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index 7e7a00bf084e..51c4ab889d69 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -1,6 +1,2 @@
-DIST pip-run-10.0.7.tar.gz 32869 BLAKE2B 
ea5dfea09def536eced9436a114f12cbefccf26c4b37376a560dc1fffdd8167d019ec52d57666d7b4d77dc9c580a5f48455d945aa9ddb4340a7dca88f0ded309
 SHA512 
cd8780372f579005e40c77b3c2d9e582cd1a144e871eec205fd0bd2ff64eac837918211d3479088f56bd3043dbfd883502b2d6f7b01dc2444f65fdd6920b
-DIST pip-run-10.1.1.tar.gz 33010 BLAKE2B 
5a3dcd1e119b65718b465ecbd118d80de776252ecbd438344eb78abc2e4a69073417310ed096f0b604740762aa24af2788041476c93d919ea72812e1597327f5
 SHA512 
ddf61aa31012567ff21e943739a1e29066875db3c39ca77abfa409fd75abc599756ca8aeaf9bd23d19af46ad2747e7dec4a7d3cf76a444f59c19e769419dc59a
 DIST pip-run-10.2.0.tar.gz 33523 BLAKE2B 
7d19c089da98dbba2faec969f490fcd5ea48881f4ccbbfaa283465ef083521aee7d82b9de8b03a89ec8b08005db1232cd9577030cb98c111b4a0e0f7294cca84
 SHA512 
b26a00c6ebd8e9e505e6b218fea7070b23b5926de44e1d5a762abb2a4ebd62b1bdda7e19c4092012daf068b518a2e127ab08099f6d1a7ddc643b3ba5bf999ed0
-DIST pip-run-11.0.0.tar.gz 33598 BLAKE2B 
3951c6cf959e137aeec2acae17eb6fd9b63a1716f1fe8cac55c964cf6cd975d5085dc8e05f11f00b3dd404d8f12d351d0e3f9cdd486cf1a883f917e60ad91103
 SHA512 
3b6c3aee3bf340f6a18e3f0acda56ed6da00dc21054e9a20499151c89a44ca388611bb7df57f04fa9b580dacd65a26c9cc34589bc01638f7ac1cc6f1752e2e5b
-DIST pip-run-12.0.0.tar.gz 34473 BLAKE2B 
e0a25cf4698979b22cd714f3326497d3381cc9b6c8be84085dbb239ada13f8a57b1b88a6ffde7d0fec4c58ec790c2287379c8f6843c6d20104450c1c9860f0b3
 SHA512 
efac5a3faaa48480b68b38a8a13e9407390fd96fff505228fe8482bbc9b4f12a7b2ad33b7abb9931a7fbd3d694d996fe58e87a4afa26f800c6e749b70c397d9b
 DIST pip-run-12.1.0.tar.gz 34387 BLAKE2B 
306dce020589a0cdcaddc70baf75a41621c72a450af58a2f54c5128f8210b02f4ee2b4df5b8bca1e0617ef53e79ab89969765b053801dc4f9d60bddf7c40e76e
 SHA512 
fa1c36b6b5befada7b54841723f9cd7ef6289bb723b46cbe000ccfc7a6e894181fbf58f472330830e5812aab8feb40dab8708cd82532696e510bd56ab0b70a20

diff --git a/dev-python/pip-run/pip-run-10.0.7.ebuild 
b/dev-python/pip-run/pip-run-10.0.7.ebuild
deleted file mode 100644
index f044dddca1ed..
--- a/dev-python/pip-run/pip-run-10.0.7.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..11} pypy3 )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Install packages and run Python with them"
-HOMEPAGE="
-   https://github.com/jaraco/pip-run/
-   https://pypi.org/project/pip-run/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc 
x86"
-
-RDEPEND="
-   dev-python/autocommand[${PYTHON_USEDEP}]
-   dev-python/jaraco-context[${PYTHON_USEDEP}]
-   dev-python/jaraco-functools[${PYTHON_USEDEP}]
-   dev-python/jaraco-text[${PYTHON_USEDEP}]
-   >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}]
-   dev-python/packaging[${PYTHON_USEDEP}]
-   dev-python/path[${PYTHON_USEDEP}]
-   dev-python/pip[${PYTHON_USEDEP}]
-   dev-python/platformdirs[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/jaraco-path[${PYTHON_USEDEP}]
-   >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}]
-   dev-python/pygments[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/nbformat[${PYTHON_USEDEP}]
-   ' 'python*')
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local EPYTEST_IGNORE=()
-
-   if ! has_version "dev-python/nbformat[${PYTHON_USEDEP}]"; then
-   EPYTEST_IGNORE+=(
-   tests/test_scripts.py
-   )
-   fi
-
-   epytest -m "not network"
-}

diff --git a/dev-python/pip-run/pip-run-10.1.1.ebuild 
b/dev-python/pip-run/pip-run-10.1.1.ebuild
deleted file mode 100644
index c9a52416f045..
--- a/dev-python/pip-run/pip-run-10.1.1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-06-26 Thread Jakov Smolić
commit: a25386ab928ac4906c36a24ccc6182560397ee2d
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Jun 27 05:18:50 2023 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Jun 27 05:18:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a25386ab

dev-python/pip-run: Stabilize 10.2.0 ALLARCHES, #909244

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/pip-run/pip-run-10.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-10.2.0.ebuild 
b/dev-python/pip-run/pip-run-10.2.0.ebuild
index c9a52416f045..9b0cb9ba3a7a 100644
--- a/dev-python/pip-run/pip-run-10.2.0.ebuild
+++ b/dev-python/pip-run/pip-run-10.2.0.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc 
x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-06-26 Thread Michał Górny
commit: 78a588fab0f2bb4087b844d70c0ce4823532f03e
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jun 27 02:49:42 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jun 27 03:54:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78a588fa

dev-python/pip-run: Bump to 12.1.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/Manifest  |  1 +
 dev-python/pip-run/pip-run-12.1.0.ebuild | 59 
 2 files changed, 60 insertions(+)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index 3682836d3c08..7e7a00bf084e 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -3,3 +3,4 @@ DIST pip-run-10.1.1.tar.gz 33010 BLAKE2B 
5a3dcd1e119b65718b465ecbd118d80de776252
 DIST pip-run-10.2.0.tar.gz 33523 BLAKE2B 
7d19c089da98dbba2faec969f490fcd5ea48881f4ccbbfaa283465ef083521aee7d82b9de8b03a89ec8b08005db1232cd9577030cb98c111b4a0e0f7294cca84
 SHA512 
b26a00c6ebd8e9e505e6b218fea7070b23b5926de44e1d5a762abb2a4ebd62b1bdda7e19c4092012daf068b518a2e127ab08099f6d1a7ddc643b3ba5bf999ed0
 DIST pip-run-11.0.0.tar.gz 33598 BLAKE2B 
3951c6cf959e137aeec2acae17eb6fd9b63a1716f1fe8cac55c964cf6cd975d5085dc8e05f11f00b3dd404d8f12d351d0e3f9cdd486cf1a883f917e60ad91103
 SHA512 
3b6c3aee3bf340f6a18e3f0acda56ed6da00dc21054e9a20499151c89a44ca388611bb7df57f04fa9b580dacd65a26c9cc34589bc01638f7ac1cc6f1752e2e5b
 DIST pip-run-12.0.0.tar.gz 34473 BLAKE2B 
e0a25cf4698979b22cd714f3326497d3381cc9b6c8be84085dbb239ada13f8a57b1b88a6ffde7d0fec4c58ec790c2287379c8f6843c6d20104450c1c9860f0b3
 SHA512 
efac5a3faaa48480b68b38a8a13e9407390fd96fff505228fe8482bbc9b4f12a7b2ad33b7abb9931a7fbd3d694d996fe58e87a4afa26f800c6e749b70c397d9b
+DIST pip-run-12.1.0.tar.gz 34387 BLAKE2B 
306dce020589a0cdcaddc70baf75a41621c72a450af58a2f54c5128f8210b02f4ee2b4df5b8bca1e0617ef53e79ab89969765b053801dc4f9d60bddf7c40e76e
 SHA512 
fa1c36b6b5befada7b54841723f9cd7ef6289bb723b46cbe000ccfc7a6e894181fbf58f472330830e5812aab8feb40dab8708cd82532696e510bd56ab0b70a20

diff --git a/dev-python/pip-run/pip-run-12.1.0.ebuild 
b/dev-python/pip-run/pip-run-12.1.0.ebuild
new file mode 100644
index ..f8ff3d17710e
--- /dev/null
+++ b/dev-python/pip-run/pip-run-12.1.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Install packages and run Python with them"
+HOMEPAGE="
+   https://github.com/jaraco/pip-run/
+   https://pypi.org/project/pip-run/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   dev-python/autocommand[${PYTHON_USEDEP}]
+   dev-python/jaraco-context[${PYTHON_USEDEP}]
+   dev-python/jaraco-env[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-functools-3.7[${PYTHON_USEDEP}]
+   dev-python/jaraco-text[${PYTHON_USEDEP}]
+   >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   dev-python/path[${PYTHON_USEDEP}]
+   dev-python/pip[${PYTHON_USEDEP}]
+   dev-python/platformdirs[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/jaraco-path[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/nbformat[${PYTHON_USEDEP}]
+   ' python3_{10..11})
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/wheel[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_IGNORE=()
+
+   if ! has_version "dev-python/nbformat[${PYTHON_USEDEP}]"; then
+   EPYTEST_IGNORE+=(
+   tests/test_scripts.py
+   )
+   fi
+
+   epytest -m "not network"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-06-24 Thread Michał Górny
commit: 19d2eecb447cd44eaff1cc8cadb5c4e17dd66fac
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun 24 05:10:58 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun 24 06:10:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19d2eecb

dev-python/pip-run: Bump to 12.0.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/Manifest  |  1 +
 dev-python/pip-run/pip-run-12.0.0.ebuild | 59 
 2 files changed, 60 insertions(+)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index 64cfa6b54844..3682836d3c08 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -2,3 +2,4 @@ DIST pip-run-10.0.7.tar.gz 32869 BLAKE2B 
ea5dfea09def536eced9436a114f12cbefccf26
 DIST pip-run-10.1.1.tar.gz 33010 BLAKE2B 
5a3dcd1e119b65718b465ecbd118d80de776252ecbd438344eb78abc2e4a69073417310ed096f0b604740762aa24af2788041476c93d919ea72812e1597327f5
 SHA512 
ddf61aa31012567ff21e943739a1e29066875db3c39ca77abfa409fd75abc599756ca8aeaf9bd23d19af46ad2747e7dec4a7d3cf76a444f59c19e769419dc59a
 DIST pip-run-10.2.0.tar.gz 33523 BLAKE2B 
7d19c089da98dbba2faec969f490fcd5ea48881f4ccbbfaa283465ef083521aee7d82b9de8b03a89ec8b08005db1232cd9577030cb98c111b4a0e0f7294cca84
 SHA512 
b26a00c6ebd8e9e505e6b218fea7070b23b5926de44e1d5a762abb2a4ebd62b1bdda7e19c4092012daf068b518a2e127ab08099f6d1a7ddc643b3ba5bf999ed0
 DIST pip-run-11.0.0.tar.gz 33598 BLAKE2B 
3951c6cf959e137aeec2acae17eb6fd9b63a1716f1fe8cac55c964cf6cd975d5085dc8e05f11f00b3dd404d8f12d351d0e3f9cdd486cf1a883f917e60ad91103
 SHA512 
3b6c3aee3bf340f6a18e3f0acda56ed6da00dc21054e9a20499151c89a44ca388611bb7df57f04fa9b580dacd65a26c9cc34589bc01638f7ac1cc6f1752e2e5b
+DIST pip-run-12.0.0.tar.gz 34473 BLAKE2B 
e0a25cf4698979b22cd714f3326497d3381cc9b6c8be84085dbb239ada13f8a57b1b88a6ffde7d0fec4c58ec790c2287379c8f6843c6d20104450c1c9860f0b3
 SHA512 
efac5a3faaa48480b68b38a8a13e9407390fd96fff505228fe8482bbc9b4f12a7b2ad33b7abb9931a7fbd3d694d996fe58e87a4afa26f800c6e749b70c397d9b

diff --git a/dev-python/pip-run/pip-run-12.0.0.ebuild 
b/dev-python/pip-run/pip-run-12.0.0.ebuild
new file mode 100644
index ..f8ff3d17710e
--- /dev/null
+++ b/dev-python/pip-run/pip-run-12.0.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Install packages and run Python with them"
+HOMEPAGE="
+   https://github.com/jaraco/pip-run/
+   https://pypi.org/project/pip-run/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   dev-python/autocommand[${PYTHON_USEDEP}]
+   dev-python/jaraco-context[${PYTHON_USEDEP}]
+   dev-python/jaraco-env[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-functools-3.7[${PYTHON_USEDEP}]
+   dev-python/jaraco-text[${PYTHON_USEDEP}]
+   >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   dev-python/path[${PYTHON_USEDEP}]
+   dev-python/pip[${PYTHON_USEDEP}]
+   dev-python/platformdirs[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/jaraco-path[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/nbformat[${PYTHON_USEDEP}]
+   ' python3_{10..11})
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/wheel[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_IGNORE=()
+
+   if ! has_version "dev-python/nbformat[${PYTHON_USEDEP}]"; then
+   EPYTEST_IGNORE+=(
+   tests/test_scripts.py
+   )
+   fi
+
+   epytest -m "not network"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-06-18 Thread Michał Górny
commit: 43cdc3362ebf43b3f73bd5876f70230232314a0e
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jun 18 16:54:06 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jun 18 17:07:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43cdc336

dev-python/pip-run: Eliminate stale python_gen_cond_dep

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/pip-run-10.0.7.ebuild | 5 +
 dev-python/pip-run/pip-run-10.1.1.ebuild | 3 ---
 dev-python/pip-run/pip-run-10.2.0.ebuild | 3 ---
 dev-python/pip-run/pip-run-11.0.0.ebuild | 3 ---
 4 files changed, 1 insertion(+), 13 deletions(-)

diff --git a/dev-python/pip-run/pip-run-10.0.7.ebuild 
b/dev-python/pip-run/pip-run-10.0.7.ebuild
index 1f7892c02014..f044dddca1ed 100644
--- a/dev-python/pip-run/pip-run-10.0.7.ebuild
+++ b/dev-python/pip-run/pip-run-10.0.7.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..11} pypy3 )
 
 inherit distutils-r1 pypi
 
@@ -21,9 +21,6 @@ KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 
~riscv ~s390 sparc x
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/importlib-resources[${PYTHON_USEDEP}]
-   ' 3.8)
dev-python/jaraco-context[${PYTHON_USEDEP}]
dev-python/jaraco-functools[${PYTHON_USEDEP}]
dev-python/jaraco-text[${PYTHON_USEDEP}]

diff --git a/dev-python/pip-run/pip-run-10.1.1.ebuild 
b/dev-python/pip-run/pip-run-10.1.1.ebuild
index 36f03616bed3..c9a52416f045 100644
--- a/dev-python/pip-run/pip-run-10.1.1.ebuild
+++ b/dev-python/pip-run/pip-run-10.1.1.ebuild
@@ -21,9 +21,6 @@ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc 
~ppc64 ~riscv ~s390 ~
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/importlib-resources[${PYTHON_USEDEP}]
-   ' 3.8)
dev-python/jaraco-context[${PYTHON_USEDEP}]
dev-python/jaraco-functools[${PYTHON_USEDEP}]
dev-python/jaraco-text[${PYTHON_USEDEP}]

diff --git a/dev-python/pip-run/pip-run-10.2.0.ebuild 
b/dev-python/pip-run/pip-run-10.2.0.ebuild
index 36f03616bed3..c9a52416f045 100644
--- a/dev-python/pip-run/pip-run-10.2.0.ebuild
+++ b/dev-python/pip-run/pip-run-10.2.0.ebuild
@@ -21,9 +21,6 @@ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc 
~ppc64 ~riscv ~s390 ~
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/importlib-resources[${PYTHON_USEDEP}]
-   ' 3.8)
dev-python/jaraco-context[${PYTHON_USEDEP}]
dev-python/jaraco-functools[${PYTHON_USEDEP}]
dev-python/jaraco-text[${PYTHON_USEDEP}]

diff --git a/dev-python/pip-run/pip-run-11.0.0.ebuild 
b/dev-python/pip-run/pip-run-11.0.0.ebuild
index 93aaa028f2f2..f8ff3d17710e 100644
--- a/dev-python/pip-run/pip-run-11.0.0.ebuild
+++ b/dev-python/pip-run/pip-run-11.0.0.ebuild
@@ -21,9 +21,6 @@ KEYWORDS="~amd64"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/importlib-resources[${PYTHON_USEDEP}]
-   ' 3.8)
dev-python/jaraco-context[${PYTHON_USEDEP}]
dev-python/jaraco-env[${PYTHON_USEDEP}]
>=dev-python/jaraco-functools-3.7[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-05-29 Thread Michał Górny
commit: 70d848ca166132d5afa410c1b4b682255ecc611a
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 30 02:32:09 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 30 02:53:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70d848ca

dev-python/pip-run: Bump to 11.0.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/Manifest  |  1 +
 dev-python/pip-run/pip-run-11.0.0.ebuild | 62 
 2 files changed, 63 insertions(+)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index 47a59d6061e1..64cfa6b54844 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -1,3 +1,4 @@
 DIST pip-run-10.0.7.tar.gz 32869 BLAKE2B 
ea5dfea09def536eced9436a114f12cbefccf26c4b37376a560dc1fffdd8167d019ec52d57666d7b4d77dc9c580a5f48455d945aa9ddb4340a7dca88f0ded309
 SHA512 
cd8780372f579005e40c77b3c2d9e582cd1a144e871eec205fd0bd2ff64eac837918211d3479088f56bd3043dbfd883502b2d6f7b01dc2444f65fdd6920b
 DIST pip-run-10.1.1.tar.gz 33010 BLAKE2B 
5a3dcd1e119b65718b465ecbd118d80de776252ecbd438344eb78abc2e4a69073417310ed096f0b604740762aa24af2788041476c93d919ea72812e1597327f5
 SHA512 
ddf61aa31012567ff21e943739a1e29066875db3c39ca77abfa409fd75abc599756ca8aeaf9bd23d19af46ad2747e7dec4a7d3cf76a444f59c19e769419dc59a
 DIST pip-run-10.2.0.tar.gz 33523 BLAKE2B 
7d19c089da98dbba2faec969f490fcd5ea48881f4ccbbfaa283465ef083521aee7d82b9de8b03a89ec8b08005db1232cd9577030cb98c111b4a0e0f7294cca84
 SHA512 
b26a00c6ebd8e9e505e6b218fea7070b23b5926de44e1d5a762abb2a4ebd62b1bdda7e19c4092012daf068b518a2e127ab08099f6d1a7ddc643b3ba5bf999ed0
+DIST pip-run-11.0.0.tar.gz 33598 BLAKE2B 
3951c6cf959e137aeec2acae17eb6fd9b63a1716f1fe8cac55c964cf6cd975d5085dc8e05f11f00b3dd404d8f12d351d0e3f9cdd486cf1a883f917e60ad91103
 SHA512 
3b6c3aee3bf340f6a18e3f0acda56ed6da00dc21054e9a20499151c89a44ca388611bb7df57f04fa9b580dacd65a26c9cc34589bc01638f7ac1cc6f1752e2e5b

diff --git a/dev-python/pip-run/pip-run-11.0.0.ebuild 
b/dev-python/pip-run/pip-run-11.0.0.ebuild
new file mode 100644
index ..93aaa028f2f2
--- /dev/null
+++ b/dev-python/pip-run/pip-run-11.0.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Install packages and run Python with them"
+HOMEPAGE="
+   https://github.com/jaraco/pip-run/
+   https://pypi.org/project/pip-run/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   dev-python/autocommand[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/importlib-resources[${PYTHON_USEDEP}]
+   ' 3.8)
+   dev-python/jaraco-context[${PYTHON_USEDEP}]
+   dev-python/jaraco-env[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-functools-3.7[${PYTHON_USEDEP}]
+   dev-python/jaraco-text[${PYTHON_USEDEP}]
+   >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   dev-python/path[${PYTHON_USEDEP}]
+   dev-python/pip[${PYTHON_USEDEP}]
+   dev-python/platformdirs[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/jaraco-path[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/nbformat[${PYTHON_USEDEP}]
+   ' python3_{10..11})
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/wheel[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_IGNORE=()
+
+   if ! has_version "dev-python/nbformat[${PYTHON_USEDEP}]"; then
+   EPYTEST_IGNORE+=(
+   tests/test_scripts.py
+   )
+   fi
+
+   epytest -m "not network"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-05-28 Thread Michał Górny
commit: 0829ad7f80ba3ced92a9a027c3c528d4ecd92e36
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May 29 05:32:36 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May 29 05:49:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0829ad7f

dev-python/pip-run: Bump to 10.2.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/Manifest  |  1 +
 dev-python/pip-run/pip-run-10.2.0.ebuild | 61 
 2 files changed, 62 insertions(+)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index 90ff1b0efb2e..47a59d6061e1 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -1,2 +1,3 @@
 DIST pip-run-10.0.7.tar.gz 32869 BLAKE2B 
ea5dfea09def536eced9436a114f12cbefccf26c4b37376a560dc1fffdd8167d019ec52d57666d7b4d77dc9c580a5f48455d945aa9ddb4340a7dca88f0ded309
 SHA512 
cd8780372f579005e40c77b3c2d9e582cd1a144e871eec205fd0bd2ff64eac837918211d3479088f56bd3043dbfd883502b2d6f7b01dc2444f65fdd6920b
 DIST pip-run-10.1.1.tar.gz 33010 BLAKE2B 
5a3dcd1e119b65718b465ecbd118d80de776252ecbd438344eb78abc2e4a69073417310ed096f0b604740762aa24af2788041476c93d919ea72812e1597327f5
 SHA512 
ddf61aa31012567ff21e943739a1e29066875db3c39ca77abfa409fd75abc599756ca8aeaf9bd23d19af46ad2747e7dec4a7d3cf76a444f59c19e769419dc59a
+DIST pip-run-10.2.0.tar.gz 33523 BLAKE2B 
7d19c089da98dbba2faec969f490fcd5ea48881f4ccbbfaa283465ef083521aee7d82b9de8b03a89ec8b08005db1232cd9577030cb98c111b4a0e0f7294cca84
 SHA512 
b26a00c6ebd8e9e505e6b218fea7070b23b5926de44e1d5a762abb2a4ebd62b1bdda7e19c4092012daf068b518a2e127ab08099f6d1a7ddc643b3ba5bf999ed0

diff --git a/dev-python/pip-run/pip-run-10.2.0.ebuild 
b/dev-python/pip-run/pip-run-10.2.0.ebuild
new file mode 100644
index ..36f03616bed3
--- /dev/null
+++ b/dev-python/pip-run/pip-run-10.2.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Install packages and run Python with them"
+HOMEPAGE="
+   https://github.com/jaraco/pip-run/
+   https://pypi.org/project/pip-run/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+
+RDEPEND="
+   dev-python/autocommand[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/importlib-resources[${PYTHON_USEDEP}]
+   ' 3.8)
+   dev-python/jaraco-context[${PYTHON_USEDEP}]
+   dev-python/jaraco-functools[${PYTHON_USEDEP}]
+   dev-python/jaraco-text[${PYTHON_USEDEP}]
+   >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   dev-python/path[${PYTHON_USEDEP}]
+   dev-python/pip[${PYTHON_USEDEP}]
+   dev-python/platformdirs[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/jaraco-path[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/nbformat[${PYTHON_USEDEP}]
+   ' python3_{10..11})
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/wheel[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_IGNORE=()
+
+   if ! has_version "dev-python/nbformat[${PYTHON_USEDEP}]"; then
+   EPYTEST_IGNORE+=(
+   tests/test_scripts.py
+   )
+   fi
+
+   epytest -m "not network"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-05-27 Thread Michał Górny
commit: ad97f03eabcb462b638702477be9a47b2c8a6910
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 27 15:56:49 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 27 17:13:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad97f03e

dev-python/pip-run: Enable py3.12

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/pip-run-10.1.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pip-run/pip-run-10.1.1.ebuild 
b/dev-python/pip-run/pip-run-10.1.1.ebuild
index 0ab3eb67b4f3..36f03616bed3 100644
--- a/dev-python/pip-run/pip-run-10.1.1.ebuild
+++ b/dev-python/pip-run/pip-run-10.1.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{10..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
 
 inherit distutils-r1 pypi
 
@@ -40,7 +40,7 @@ BDEPEND="
dev-python/pygments[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/nbformat[${PYTHON_USEDEP}]
-   ' 'python*')
+   ' python3_{10..11})
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
)



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-05-27 Thread Michał Górny
commit: 74babf1324f0cbe9d5195da71c5095982a8a7ccf
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 27 15:39:08 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 27 15:53:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74babf13

dev-python/pip: Enable py3.12

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/pip-23.1.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pip/pip-23.1.2.ebuild b/dev-python/pip/pip-23.1.2.ebuild
index 0b1eaf6f8472..dccb1733d387 100644
--- a/dev-python/pip/pip-23.1.2.ebuild
+++ b/dev-python/pip/pip-23.1.2.ebuild
@@ -6,8 +6,8 @@ EAPI=8
 # please bump dev-python/ensurepip-pip along with this package!
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_TESTED=( python3_{9..11} )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 )
+PYTHON_TESTED=( python3_{10..11} )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 )
 PYTHON_REQ_USE="ssl(+),threads(+)"
 
 inherit bash-completion-r1 distutils-r1 multiprocessing



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-05-23 Thread Michał Górny
commit: 2e91d21378ec93c5ea036fdb7ff588d0988cb6d1
Author: Michał Górny  gentoo  org>
AuthorDate: Wed May 24 05:09:39 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 24 05:32:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e91d213

dev-python/pip-run: Bump to 10.1.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/Manifest  |  1 +
 dev-python/pip-run/pip-run-10.1.1.ebuild | 61 
 2 files changed, 62 insertions(+)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index 340ffac862d2..90ff1b0efb2e 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -1 +1,2 @@
 DIST pip-run-10.0.7.tar.gz 32869 BLAKE2B 
ea5dfea09def536eced9436a114f12cbefccf26c4b37376a560dc1fffdd8167d019ec52d57666d7b4d77dc9c580a5f48455d945aa9ddb4340a7dca88f0ded309
 SHA512 
cd8780372f579005e40c77b3c2d9e582cd1a144e871eec205fd0bd2ff64eac837918211d3479088f56bd3043dbfd883502b2d6f7b01dc2444f65fdd6920b
+DIST pip-run-10.1.1.tar.gz 33010 BLAKE2B 
5a3dcd1e119b65718b465ecbd118d80de776252ecbd438344eb78abc2e4a69073417310ed096f0b604740762aa24af2788041476c93d919ea72812e1597327f5
 SHA512 
ddf61aa31012567ff21e943739a1e29066875db3c39ca77abfa409fd75abc599756ca8aeaf9bd23d19af46ad2747e7dec4a7d3cf76a444f59c19e769419dc59a

diff --git a/dev-python/pip-run/pip-run-10.1.1.ebuild 
b/dev-python/pip-run/pip-run-10.1.1.ebuild
new file mode 100644
index ..0ab3eb67b4f3
--- /dev/null
+++ b/dev-python/pip-run/pip-run-10.1.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..11} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Install packages and run Python with them"
+HOMEPAGE="
+   https://github.com/jaraco/pip-run/
+   https://pypi.org/project/pip-run/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+
+RDEPEND="
+   dev-python/autocommand[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/importlib-resources[${PYTHON_USEDEP}]
+   ' 3.8)
+   dev-python/jaraco-context[${PYTHON_USEDEP}]
+   dev-python/jaraco-functools[${PYTHON_USEDEP}]
+   dev-python/jaraco-text[${PYTHON_USEDEP}]
+   >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   dev-python/path[${PYTHON_USEDEP}]
+   dev-python/pip[${PYTHON_USEDEP}]
+   dev-python/platformdirs[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/jaraco-path[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/nbformat[${PYTHON_USEDEP}]
+   ' 'python*')
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/wheel[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_IGNORE=()
+
+   if ! has_version "dev-python/nbformat[${PYTHON_USEDEP}]"; then
+   EPYTEST_IGNORE+=(
+   tests/test_scripts.py
+   )
+   fi
+
+   epytest -m "not network"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-05-23 Thread Michał Górny
commit: 570647f63dde2e3de2489d1ef7d04ac8dce10ec9
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 23 16:09:22 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 23 16:15:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=570647f6

dev-python/pip-run: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/Manifest |  1 -
 dev-python/pip-run/pip-run-10.0.5-r1.ebuild | 59 -
 2 files changed, 60 deletions(-)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index 05678f5745c1..340ffac862d2 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -1,2 +1 @@
-DIST pip-run-10.0.5.tar.gz 32411 BLAKE2B 
ce633d003fa869f199dfdded46efb6bfa9fc4e24327cb99b0176d8e6e6bcff552c6f84589b77907a063fba3315b3f9c64d6c182d70dc39d59a1342ee9fe62193
 SHA512 
55309445793c101d54fd61303e770ae271cfe2be20e7bc084ca0f4e6363a8de28ffdd7cd1b8c595c88d5c0a99863182053d00d3a4175fa5465ef958401601d66
 DIST pip-run-10.0.7.tar.gz 32869 BLAKE2B 
ea5dfea09def536eced9436a114f12cbefccf26c4b37376a560dc1fffdd8167d019ec52d57666d7b4d77dc9c580a5f48455d945aa9ddb4340a7dca88f0ded309
 SHA512 
cd8780372f579005e40c77b3c2d9e582cd1a144e871eec205fd0bd2ff64eac837918211d3479088f56bd3043dbfd883502b2d6f7b01dc2444f65fdd6920b

diff --git a/dev-python/pip-run/pip-run-10.0.5-r1.ebuild 
b/dev-python/pip-run/pip-run-10.0.5-r1.ebuild
deleted file mode 100644
index 1f7892c02014..
--- a/dev-python/pip-run/pip-run-10.0.5-r1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Install packages and run Python with them"
-HOMEPAGE="
-   https://github.com/jaraco/pip-run/
-   https://pypi.org/project/pip-run/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc 
x86"
-
-RDEPEND="
-   dev-python/autocommand[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/importlib-resources[${PYTHON_USEDEP}]
-   ' 3.8)
-   dev-python/jaraco-context[${PYTHON_USEDEP}]
-   dev-python/jaraco-functools[${PYTHON_USEDEP}]
-   dev-python/jaraco-text[${PYTHON_USEDEP}]
-   >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}]
-   dev-python/packaging[${PYTHON_USEDEP}]
-   dev-python/path[${PYTHON_USEDEP}]
-   dev-python/pip[${PYTHON_USEDEP}]
-   dev-python/platformdirs[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   dev-python/jaraco-path[${PYTHON_USEDEP}]
-   >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}]
-   dev-python/pygments[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/nbformat[${PYTHON_USEDEP}]
-   ' 'python*')
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local EPYTEST_IGNORE=()
-
-   if ! has_version "dev-python/nbformat[${PYTHON_USEDEP}]"; then
-   EPYTEST_IGNORE+=(
-   tests/test_scripts.py
-   )
-   fi
-
-   epytest -m "not network"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-05-23 Thread Arthur Zamarin
commit: 43d88f5e379cef71c702e443cf41e4c3f90b2b8c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May 23 15:47:17 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May 23 15:47:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43d88f5e

dev-python/pip-run: Stabilize 10.0.7 ALLARCHES, #907001

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pip-run/pip-run-10.0.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip-run/pip-run-10.0.7.ebuild 
b/dev-python/pip-run/pip-run-10.0.7.ebuild
index ade76b38dff2..1f7892c02014 100644
--- a/dev-python/pip-run/pip-run-10.0.7.ebuild
+++ b/dev-python/pip-run/pip-run-10.0.7.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc 
x86"
 
 RDEPEND="
dev-python/autocommand[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/files/

2023-05-22 Thread Conrad Kostecki
commit: 6d3800de1a35cbcb1da14d093bfd31319d248a71
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Tue May 16 16:10:07 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon May 22 21:26:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d3800de

dev-python/pip: remove unused patches

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/31063
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../files/pip-20.0.2-disable-system-install.patch  | 29 
 dev-python/pip/files/pip-22.2.1-no-coverage.patch  | 52 --
 2 files changed, 81 deletions(-)

diff --git a/dev-python/pip/files/pip-20.0.2-disable-system-install.patch 
b/dev-python/pip/files/pip-20.0.2-disable-system-install.patch
deleted file mode 100644
index e0b0034e407a..
--- a/dev-python/pip/files/pip-20.0.2-disable-system-install.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 3aee04cbb93c0e479b040e682b2aef676629c9a2 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
-Date: Sat, 1 Feb 2020 09:14:46 +0100
-Subject: [PATCH] install: Raise an error to avoid breaking python-exec
-
-Running pip without --target, --prefix, --root, or --user will result
-in packages being installed systemwide. This has a tendency to break
-python-exec if setuptools gets installed or upgraded.

- src/pip/_internal/commands/install.py | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/src/pip/_internal/commands/install.py 
b/src/pip/_internal/commands/install.py
-index 8c2c32fd..41bac878 100644
 a/src/pip/_internal/commands/install.py
-+++ b/src/pip/_internal/commands/install.py
-@@ -238,6 +238,9 @@ class InstallCommand(RequirementCommand):
- if options.upgrade:
- upgrade_strategy = options.upgrade_strategy
- 
-+if not options.use_user_site and not options.target_dir and not 
options.root_path and not options.prefix_path and not 
os.getenv('GENTOO_PIP_TESTING'):
-+raise CommandError("(Gentoo) Please run pip with the --user 
option to avoid breaking python-exec")
-+
- cmdoptions.check_dist_restriction(options, check_target=True)
- 
- install_options = options.install_options or []
--- 
-2.28.0
-

diff --git a/dev-python/pip/files/pip-22.2.1-no-coverage.patch 
b/dev-python/pip/files/pip-22.2.1-no-coverage.patch
deleted file mode 100644
index bd9523956ca8..
--- a/dev-python/pip/files/pip-22.2.1-no-coverage.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From fe4438ee38da3b6f67b4dd53d6676d67c3e7 Mon Sep 17 00:00:00 2001
-From: Arthur Zamarin 
-Date: Fri, 29 Jul 2022 14:06:03 +0300
-Subject: [PATCH] Disable coverage testing support inside test venvs
-

- tests/conftest.py | 15 ---
- 1 file changed, 15 deletions(-)
-
-diff --git a/tests/conftest.py b/tests/conftest.py
-index c9ab292..e7c14df 100644
 a/tests/conftest.py
-+++ b/tests/conftest.py
-@@ -403,13 +403,6 @@ def wheel_install(tmpdir_factory: pytest.TempPathFactory, 
common_wheels: Path) -
- return _common_wheel_editable_install(tmpdir_factory, common_wheels, 
"wheel")
- 
- 
--@pytest.fixture(scope="session")
--def coverage_install(
--tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
--) -> Path:
--return _common_wheel_editable_install(tmpdir_factory, common_wheels, 
"coverage")
--
--
- def install_pth_link(
- venv: VirtualEnvironment, project_name: str, lib_dir: Path
- ) -> None:
-@@ -424,7 +417,6 @@ def virtualenv_template(
- tmpdir_factory: pytest.TempPathFactory,
- pip_src: Path,
- setuptools_install: Path,
--coverage_install: Path,
- ) -> Iterator[VirtualEnvironment]:
- 
- venv_type: VirtualEnvironmentType
-@@ -451,13 +443,6 @@ def virtualenv_template(
- [os.fspath(venv.bin / "python"), "setup.py", "-q", "develop"], 
cwd=pip_editable
- )
- 
--# Install coverage and pth file for executing it in any spawned processes
--# in this virtual environment.
--install_pth_link(venv, "coverage", coverage_install)
--# zz prefix ensures the file is after easy-install.pth.
--with open(venv.site / "zz-coverage-helper.pth", "a") as f:
--f.write("import coverage; coverage.process_startup()")
--
- # Drop (non-relocatable) launchers.
- for exe in os.listdir(venv.bin):
- if not (
--- 
-2.35.1
-



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-05-15 Thread Arthur Zamarin
commit: 3dc3c2a545aa9bf2a7071aff19f30ae94e75abe9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon May 15 20:13:27 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon May 15 20:13:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dc3c2a5

dev-python/pip: drop 22.3.1, 23.0.1, 23.1, 23.1.1

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pip/Manifest  |   7 --
 dev-python/pip/pip-22.3.1.ebuild | 139 ---
 dev-python/pip/pip-23.0.1.ebuild | 123 --
 dev-python/pip/pip-23.1.1.ebuild | 127 ---
 dev-python/pip/pip-23.1.ebuild   | 127 ---
 5 files changed, 523 deletions(-)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index eabf71a1d61b..ac3667d59e20 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1,8 +1 @@
-DIST pip-22.3.1.gh.tar.gz 9326504 BLAKE2B 
b125599a9f77e49414dae13ca3fe0ac27c9b7e127f6ca7f467f3af4e0b51d835f2790f8311b2ec616966c299fb431403b456f7b38ea1f3fe1e7f769f7d5a78e5
 SHA512 
c7865c4ce79b0fea7ba469fe593af3be205b3bdb574a6ae019842e0f82a0af406ec905d8c6ff02fbbafe01630c8899a398d071ce74501ca830249160f2f6df98
-DIST pip-23.0.1.gh.tar.gz 9336422 BLAKE2B 
1781b0340ba7f76299fa8e37f0509f15a08cc599d196c74b90a2cb79321de570240ed9f12bc64d45ede2182ec8a3eead44ce1b840eaa83931d089ecc07923203
 SHA512 
ed14ce37293e749b4fd93d7f93d81356c77428b1fb14dfd760b59aea720ebb3cce5a49c2d32ab600e73b37389937830ff4dee04750e83078c8ab9d57513f294c
-DIST pip-23.1.1.gh.tar.gz 9345830 BLAKE2B 
4b566507189bed38de572d3641f4f1cdf795a928462fbdb43f6d03f98a5efdce31c3c6ffb8ac0761eb8dd7667f02f195241aacbebc06b26f8e4d22d1ca4a8fb9
 SHA512 
9cc8d414625a59d98e485251fdc3707edd30a94b597954e9d03b42076f3adaca6f7e3f1ef80e37e7fb12b51941ac359114b23aae4722588bb7f4b44813397db5
 DIST pip-23.1.2.gh.tar.gz 9345911 BLAKE2B 
511ac1a9405e377ccb2525e89676f4a63f138aa526d40e76f4d9681139d94db1f92772beab1a647654c17abc6bee09f52cf4c4f4484716874194565fda07d056
 SHA512 
b33070cb59a1258904a60b48ec8abfd9e316c5f87681fea13d89ddf6d516afac10965ae1db54fea299a0a72f98602ce02e8b3be46f239e857db84866045730e1
-DIST pip-23.1.gh.tar.gz 9346045 BLAKE2B 
2d4e0dcfa730fe68b6b73d87fb3706a5c68f8eb497fe84c15a8a4ed5aa436a5ef07949d3c3d1393aa836bc8d2f67dbfad25609f807519a3d36b3aed34aff4756
 SHA512 
ba1417811d69462b1e858d6a431abdafdf66a217f9fb25ad9c8430b3ea5289c631a282f3c399f607539d2ce9e2a71b556926f6ebf30be18d86ccda192afe0dfb
-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.1.ebuild b/dev-python/pip/pip-22.3.1.ebuild
deleted file mode 100644
index 0dfc64f4ea0a..
--- a/dev-python/pip/pip-22.3.1.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2023 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_{9..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}
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-05-15 Thread Arthur Zamarin
commit: 4569ef204d23dc5e0c86f6146eb2955a5d6b8043
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon May 15 20:08:36 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon May 15 20:08:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4569ef20

dev-python/pip: Stabilize 23.1.2 ALLARCHES, #906480

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pip/pip-23.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip/pip-23.1.2.ebuild b/dev-python/pip/pip-23.1.2.ebuild
index a54946d50bf3..0b1eaf6f8472 100644
--- a/dev-python/pip/pip-23.1.2.ebuild
+++ b/dev-python/pip/pip-23.1.2.ebuild
@@ -25,7 +25,7 @@ SRC_URI="
 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"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 SLOT="0"
 IUSE="test-rust"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-04-26 Thread Michał Górny
commit: 11067cf177e0fe0c3b66a8165bd401668eeff549
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr 27 02:48:39 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr 27 03:10:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11067cf1

dev-python/pip: Bump to 23.1.2

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/Manifest  |   1 +
 dev-python/pip/pip-23.1.2.ebuild | 127 +++
 2 files changed, 128 insertions(+)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index a835b1c287b1..eabf71a1d61b 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1,6 +1,7 @@
 DIST pip-22.3.1.gh.tar.gz 9326504 BLAKE2B 
b125599a9f77e49414dae13ca3fe0ac27c9b7e127f6ca7f467f3af4e0b51d835f2790f8311b2ec616966c299fb431403b456f7b38ea1f3fe1e7f769f7d5a78e5
 SHA512 
c7865c4ce79b0fea7ba469fe593af3be205b3bdb574a6ae019842e0f82a0af406ec905d8c6ff02fbbafe01630c8899a398d071ce74501ca830249160f2f6df98
 DIST pip-23.0.1.gh.tar.gz 9336422 BLAKE2B 
1781b0340ba7f76299fa8e37f0509f15a08cc599d196c74b90a2cb79321de570240ed9f12bc64d45ede2182ec8a3eead44ce1b840eaa83931d089ecc07923203
 SHA512 
ed14ce37293e749b4fd93d7f93d81356c77428b1fb14dfd760b59aea720ebb3cce5a49c2d32ab600e73b37389937830ff4dee04750e83078c8ab9d57513f294c
 DIST pip-23.1.1.gh.tar.gz 9345830 BLAKE2B 
4b566507189bed38de572d3641f4f1cdf795a928462fbdb43f6d03f98a5efdce31c3c6ffb8ac0761eb8dd7667f02f195241aacbebc06b26f8e4d22d1ca4a8fb9
 SHA512 
9cc8d414625a59d98e485251fdc3707edd30a94b597954e9d03b42076f3adaca6f7e3f1ef80e37e7fb12b51941ac359114b23aae4722588bb7f4b44813397db5
+DIST pip-23.1.2.gh.tar.gz 9345911 BLAKE2B 
511ac1a9405e377ccb2525e89676f4a63f138aa526d40e76f4d9681139d94db1f92772beab1a647654c17abc6bee09f52cf4c4f4484716874194565fda07d056
 SHA512 
b33070cb59a1258904a60b48ec8abfd9e316c5f87681fea13d89ddf6d516afac10965ae1db54fea299a0a72f98602ce02e8b3be46f239e857db84866045730e1
 DIST pip-23.1.gh.tar.gz 9346045 BLAKE2B 
2d4e0dcfa730fe68b6b73d87fb3706a5c68f8eb497fe84c15a8a4ed5aa436a5ef07949d3c3d1393aa836bc8d2f67dbfad25609f807519a3d36b3aed34aff4756
 SHA512 
ba1417811d69462b1e858d6a431abdafdf66a217f9fb25ad9c8430b3ea5289c631a282f3c399f607539d2ce9e2a71b556926f6ebf30be18d86ccda192afe0dfb
 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

diff --git a/dev-python/pip/pip-23.1.2.ebuild b/dev-python/pip/pip-23.1.2.ebuild
new file mode 100644
index ..a54946d50bf3
--- /dev/null
+++ b/dev-python/pip/pip-23.1.2.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# please bump dev-python/ensurepip-pip along with this package!
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_TESTED=( python3_{9..11} )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 )
+PYTHON_REQ_USE="ssl(+),threads(+)"
+
+inherit bash-completion-r1 distutils-r1 multiprocessing
+
+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/pip/archive/${PV}.tar.gz -> ${P}.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"
+
+RDEPEND="
+   >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   ${RDEPEND}
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/ensurepip-setuptools
+   dev-python/ensurepip-wheel
+   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/virtualenv[${PYTHON_USEDEP}]
+   dev-python/werkzeug[${PYTHON_USEDEP}]
+   dev-python/wheel[${PYTHON_USEDEP}]
+   test-rust? (
+   dev-python/cryptography[${PYTHON_USEDEP}]
+   )
+   ' "${PYTHON_TESTED[@]}")
+   )
+"
+

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-04-23 Thread Michał Górny
commit: 026b5fd2478ee9d3c49a4b011f9f5cd23130875b
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Apr 23 18:30:51 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Apr 23 19:30:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=026b5fd2

dev-python/pip: Bump to 23.1.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/Manifest  |   1 +
 dev-python/pip/pip-23.1.1.ebuild | 127 +++
 2 files changed, 128 insertions(+)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index 7fd30d2f03f7..a835b1c287b1 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1,5 +1,6 @@
 DIST pip-22.3.1.gh.tar.gz 9326504 BLAKE2B 
b125599a9f77e49414dae13ca3fe0ac27c9b7e127f6ca7f467f3af4e0b51d835f2790f8311b2ec616966c299fb431403b456f7b38ea1f3fe1e7f769f7d5a78e5
 SHA512 
c7865c4ce79b0fea7ba469fe593af3be205b3bdb574a6ae019842e0f82a0af406ec905d8c6ff02fbbafe01630c8899a398d071ce74501ca830249160f2f6df98
 DIST pip-23.0.1.gh.tar.gz 9336422 BLAKE2B 
1781b0340ba7f76299fa8e37f0509f15a08cc599d196c74b90a2cb79321de570240ed9f12bc64d45ede2182ec8a3eead44ce1b840eaa83931d089ecc07923203
 SHA512 
ed14ce37293e749b4fd93d7f93d81356c77428b1fb14dfd760b59aea720ebb3cce5a49c2d32ab600e73b37389937830ff4dee04750e83078c8ab9d57513f294c
+DIST pip-23.1.1.gh.tar.gz 9345830 BLAKE2B 
4b566507189bed38de572d3641f4f1cdf795a928462fbdb43f6d03f98a5efdce31c3c6ffb8ac0761eb8dd7667f02f195241aacbebc06b26f8e4d22d1ca4a8fb9
 SHA512 
9cc8d414625a59d98e485251fdc3707edd30a94b597954e9d03b42076f3adaca6f7e3f1ef80e37e7fb12b51941ac359114b23aae4722588bb7f4b44813397db5
 DIST pip-23.1.gh.tar.gz 9346045 BLAKE2B 
2d4e0dcfa730fe68b6b73d87fb3706a5c68f8eb497fe84c15a8a4ed5aa436a5ef07949d3c3d1393aa836bc8d2f67dbfad25609f807519a3d36b3aed34aff4756
 SHA512 
ba1417811d69462b1e858d6a431abdafdf66a217f9fb25ad9c8430b3ea5289c631a282f3c399f607539d2ce9e2a71b556926f6ebf30be18d86ccda192afe0dfb
 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

diff --git a/dev-python/pip/pip-23.1.1.ebuild b/dev-python/pip/pip-23.1.1.ebuild
new file mode 100644
index ..a54946d50bf3
--- /dev/null
+++ b/dev-python/pip/pip-23.1.1.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# please bump dev-python/ensurepip-pip along with this package!
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_TESTED=( python3_{9..11} )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 )
+PYTHON_REQ_USE="ssl(+),threads(+)"
+
+inherit bash-completion-r1 distutils-r1 multiprocessing
+
+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/pip/archive/${PV}.tar.gz -> ${P}.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"
+
+RDEPEND="
+   >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   ${RDEPEND}
+   test? (
+   $(python_gen_cond_dep '
+   dev-python/ensurepip-setuptools
+   dev-python/ensurepip-wheel
+   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/virtualenv[${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-23.1-no-coverage.patch"
+   )
+
+   distutils-r1_python_prepare_all
+
+   if use test; then
+   local wheels=(
+   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/, dev-python/pip/files/

2023-04-15 Thread Michał Górny
commit: d94e0d51a0dd0e6026856b427a18c42e77bb722e
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 15 18:20:35 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 15 19:39:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d94e0d51

dev-python/pip: Bump to 23.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/Manifest |   1 +
 dev-python/pip/files/pip-23.1-no-coverage.patch |  52 ++
 dev-python/pip/pip-23.1.ebuild  | 127 
 3 files changed, 180 insertions(+)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index 33889215186a..7fd30d2f03f7 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1,5 +1,6 @@
 DIST pip-22.3.1.gh.tar.gz 9326504 BLAKE2B 
b125599a9f77e49414dae13ca3fe0ac27c9b7e127f6ca7f467f3af4e0b51d835f2790f8311b2ec616966c299fb431403b456f7b38ea1f3fe1e7f769f7d5a78e5
 SHA512 
c7865c4ce79b0fea7ba469fe593af3be205b3bdb574a6ae019842e0f82a0af406ec905d8c6ff02fbbafe01630c8899a398d071ce74501ca830249160f2f6df98
 DIST pip-23.0.1.gh.tar.gz 9336422 BLAKE2B 
1781b0340ba7f76299fa8e37f0509f15a08cc599d196c74b90a2cb79321de570240ed9f12bc64d45ede2182ec8a3eead44ce1b840eaa83931d089ecc07923203
 SHA512 
ed14ce37293e749b4fd93d7f93d81356c77428b1fb14dfd760b59aea720ebb3cce5a49c2d32ab600e73b37389937830ff4dee04750e83078c8ab9d57513f294c
+DIST pip-23.1.gh.tar.gz 9346045 BLAKE2B 
2d4e0dcfa730fe68b6b73d87fb3706a5c68f8eb497fe84c15a8a4ed5aa436a5ef07949d3c3d1393aa836bc8d2f67dbfad25609f807519a3d36b3aed34aff4756
 SHA512 
ba1417811d69462b1e858d6a431abdafdf66a217f9fb25ad9c8430b3ea5289c631a282f3c399f607539d2ce9e2a71b556926f6ebf30be18d86ccda192afe0dfb
 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/files/pip-23.1-no-coverage.patch 
b/dev-python/pip/files/pip-23.1-no-coverage.patch
new file mode 100644
index ..943cc281cdfb
--- /dev/null
+++ b/dev-python/pip/files/pip-23.1-no-coverage.patch
@@ -0,0 +1,52 @@
+From d915b0eec7b5844c06b5d8853544c8c5b538b0b9 Mon Sep 17 00:00:00 2001
+From: Arthur Zamarin 
+Date: Fri, 29 Jul 2022 14:06:03 +0300
+Subject: [PATCH] Disable coverage testing support inside test venvs
+
+---
+ tests/conftest.py | 15 ---
+ 1 file changed, 15 deletions(-)
+
+diff --git a/tests/conftest.py b/tests/conftest.py
+index 57dd7e68a..af2af9ffa 100644
+--- a/tests/conftest.py
 b/tests/conftest.py
+@@ -408,13 +408,6 @@ def wheel_install(tmpdir_factory: pytest.TempPathFactory, 
common_wheels: Path) -
+ return _common_wheel_editable_install(tmpdir_factory, common_wheels, 
"wheel")
+ 
+ 
+-@pytest.fixture(scope="session")
+-def coverage_install(
+-tmpdir_factory: pytest.TempPathFactory, common_wheels: Path
+-) -> Path:
+-return _common_wheel_editable_install(tmpdir_factory, common_wheels, 
"coverage")
+-
+-
+ def install_pth_link(
+ venv: VirtualEnvironment, project_name: str, lib_dir: Path
+ ) -> None:
+@@ -430,7 +423,6 @@ def virtualenv_template(
+ pip_src: Path,
+ setuptools_install: Path,
+ wheel_install: Path,
+-coverage_install: Path,
+ ) -> Iterator[VirtualEnvironment]:
+ venv_type: VirtualEnvironmentType
+ if request.config.getoption("--use-venv"):
+@@ -457,13 +449,6 @@ def virtualenv_template(
+ [os.fspath(venv.bin / "python"), "setup.py", "-q", "develop"], 
cwd=pip_editable
+ )
+ 
+-# Install coverage and pth file for executing it in any spawned processes
+-# in this virtual environment.
+-install_pth_link(venv, "coverage", coverage_install)
+-# zz prefix ensures the file is after easy-install.pth.
+-with open(venv.site / "zz-coverage-helper.pth", "a") as f:
+-f.write("import coverage; coverage.process_startup()")
+-
+ # Drop (non-relocatable) launchers.
+ for exe in os.listdir(venv.bin):
+ if not (
+-- 
+2.40.0
+

diff --git a/dev-python/pip/pip-23.1.ebuild b/dev-python/pip/pip-23.1.ebuild
new file mode 100644
index ..a54946d50bf3
--- /dev/null
+++ b/dev-python/pip/pip-23.1.ebuild
@@ -0,0 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-04-15 Thread Michał Górny
commit: 5ef338d0850f3d63d9f13cb5a3b34e6fd42063db
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr 15 18:19:23 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr 15 19:39:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ef338d0

dev-python/pip-run: Bump to 10.0.7

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/Manifest  |  1 +
 dev-python/pip-run/pip-run-10.0.7.ebuild | 59 
 2 files changed, 60 insertions(+)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index a3e1ff912d4e..05678f5745c1 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -1 +1,2 @@
 DIST pip-run-10.0.5.tar.gz 32411 BLAKE2B 
ce633d003fa869f199dfdded46efb6bfa9fc4e24327cb99b0176d8e6e6bcff552c6f84589b77907a063fba3315b3f9c64d6c182d70dc39d59a1342ee9fe62193
 SHA512 
55309445793c101d54fd61303e770ae271cfe2be20e7bc084ca0f4e6363a8de28ffdd7cd1b8c595c88d5c0a99863182053d00d3a4175fa5465ef958401601d66
+DIST pip-run-10.0.7.tar.gz 32869 BLAKE2B 
ea5dfea09def536eced9436a114f12cbefccf26c4b37376a560dc1fffdd8167d019ec52d57666d7b4d77dc9c580a5f48455d945aa9ddb4340a7dca88f0ded309
 SHA512 
cd8780372f579005e40c77b3c2d9e582cd1a144e871eec205fd0bd2ff64eac837918211d3479088f56bd3043dbfd883502b2d6f7b01dc2444f65fdd6920b

diff --git a/dev-python/pip-run/pip-run-10.0.7.ebuild 
b/dev-python/pip-run/pip-run-10.0.7.ebuild
new file mode 100644
index ..d9897d60ee5f
--- /dev/null
+++ b/dev-python/pip-run/pip-run-10.0.7.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Install packages and run Python with them"
+HOMEPAGE="
+   https://github.com/jaraco/pip-run/
+   https://pypi.org/project/pip-run/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+
+RDEPEND="
+   dev-python/autocommand[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/importlib_resources[${PYTHON_USEDEP}]
+   ' 3.8)
+   dev-python/jaraco-context[${PYTHON_USEDEP}]
+   dev-python/jaraco-functools[${PYTHON_USEDEP}]
+   dev-python/jaraco-text[${PYTHON_USEDEP}]
+   >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   dev-python/path[${PYTHON_USEDEP}]
+   dev-python/pip[${PYTHON_USEDEP}]
+   dev-python/platformdirs[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   dev-python/jaraco-path[${PYTHON_USEDEP}]
+   >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}]
+   dev-python/pygments[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/nbformat[${PYTHON_USEDEP}]
+   ' 'python*')
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local EPYTEST_IGNORE=()
+
+   if ! has_version "dev-python/nbformat[${PYTHON_USEDEP}]"; then
+   EPYTEST_IGNORE+=(
+   tests/test_scripts.py
+   )
+   fi
+
+   epytest -m "not network"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-03-03 Thread Michał Górny
commit: 482310cd5cc8b766367ea815f5426adde8c535c0
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Mar  3 17:43:36 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Mar  3 17:47:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=482310cd

dev-python/pip: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/Manifest|   1 -
 dev-python/pip/pip-23.0.ebuild | 138 -
 2 files changed, 139 deletions(-)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index 756e2fa93fbe..33889215186a 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1,6 +1,5 @@
 DIST pip-22.3.1.gh.tar.gz 9326504 BLAKE2B 
b125599a9f77e49414dae13ca3fe0ac27c9b7e127f6ca7f467f3af4e0b51d835f2790f8311b2ec616966c299fb431403b456f7b38ea1f3fe1e7f769f7d5a78e5
 SHA512 
c7865c4ce79b0fea7ba469fe593af3be205b3bdb574a6ae019842e0f82a0af406ec905d8c6ff02fbbafe01630c8899a398d071ce74501ca830249160f2f6df98
 DIST pip-23.0.1.gh.tar.gz 9336422 BLAKE2B 
1781b0340ba7f76299fa8e37f0509f15a08cc599d196c74b90a2cb79321de570240ed9f12bc64d45ede2182ec8a3eead44ce1b840eaa83931d089ecc07923203
 SHA512 
ed14ce37293e749b4fd93d7f93d81356c77428b1fb14dfd760b59aea720ebb3cce5a49c2d32ab600e73b37389937830ff4dee04750e83078c8ab9d57513f294c
-DIST pip-23.0.gh.tar.gz 9336486 BLAKE2B 
693623292e498ec939ce931063bccc8079fc313a0a9f30d406a99a2084fcd84b5b5a17566602c53bb96090920bc2d0615f28b8f9c165022c2b0de62fa9355b21
 SHA512 
9b791ed15b4e5dd768351043929dc6ee18eeab251a26fb2b0d712dec578101f1620a13d5914d44f2761ecb95e64bc47e6b07096126404ca70345268028524d43
 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-23.0.ebuild b/dev-python/pip/pip-23.0.ebuild
deleted file mode 100644
index b10d49be6de2..
--- a/dev-python/pip/pip-23.0.ebuild
+++ /dev/null
@@ -1,138 +0,0 @@
-# Copyright 1999-2023 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_{9..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"
-
-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}]
-   

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-03-03 Thread Arthur Zamarin
commit: 0af15bf344868bad1a3bdc546de038ccafc28d09
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar  3 17:38:38 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar  3 17:38:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0af15bf3

dev-python/pip: Stabilize 23.0.1 ALLARCHES, #899086

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/pip/pip-23.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pip/pip-23.0.1.ebuild b/dev-python/pip/pip-23.0.1.ebuild
index 5ee61a89133b..cc7c86dab278 100644
--- a/dev-python/pip/pip-23.0.1.ebuild
+++ b/dev-python/pip/pip-23.0.1.ebuild
@@ -25,7 +25,7 @@ SRC_URI="
 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"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 SLOT="0"
 IUSE="test-rust"
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-02-19 Thread Michał Górny
commit: f928affed01109a2d77c8de8f12e08b942ed31e9
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 19 17:03:53 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 19 19:46:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f928affe

dev-python/pip: Update deselected test list

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/pip-23.0.1.ebuild | 5 -
 1 file changed, 5 deletions(-)

diff --git a/dev-python/pip/pip-23.0.1.ebuild b/dev-python/pip/pip-23.0.1.ebuild
index 6fd14699751b..5ee61a89133b 100644
--- a/dev-python/pip/pip-23.0.1.ebuild
+++ b/dev-python/pip/pip-23.0.1.ebuild
@@ -89,15 +89,10 @@ python_test() {
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

tests/functional/test_install.py::test_install_8559_wheel_package_present
-   # git: fatal: transport 'file' not allowed
-   
tests/functional/test_install_vcs_git.py::test_check_submodule_addition
# TODO
tests/unit/test_network_auth.py::test_keyring_cli_get_password
tests/unit/test_network_auth.py::test_keyring_cli_set_password



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-02-19 Thread Michał Górny
commit: f8430fd04549e33585a60d7a03273b8ed72cabc1
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Feb 19 15:32:10 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 19 15:32:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8430fd0

dev-python/pip: Use new virtualenv to permit testing on py3.11

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/pip-23.0.1.ebuild | 18 +-
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/dev-python/pip/pip-23.0.1.ebuild b/dev-python/pip/pip-23.0.1.ebuild
index a27c9b63b397..6fd14699751b 100644
--- a/dev-python/pip/pip-23.0.1.ebuild
+++ b/dev-python/pip/pip-23.0.1.ebuild
@@ -6,16 +6,12 @@ EAPI=8
 # please bump dev-python/ensurepip-pip along with this package!
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_TESTED=( python3_{9..10} )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_11 pypy3 )
+PYTHON_TESTED=( python3_{9..11} )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 )
 PYTHON_REQ_USE="ssl(+),threads(+)"
 
 inherit bash-completion-r1 distutils-r1 multiprocessing
 
-# 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/
@@ -23,11 +19,7 @@ HOMEPAGE="
https://github.com/pypa/pip/
 "
 SRC_URI="
-   https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
-   test? (
-   https://github.com/pypa/virtualenv/archive/${VENV_PV}.tar.gz
-   -> virtualenv-${VENV_PV}.gh.tar.gz
-   )
+   https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
 "
 
 LICENSE="MIT"
@@ -51,6 +43,7 @@ BDEPEND="
dev-python/pytest-xdist[${PYTHON_USEDEP}]
dev-python/scripttest[${PYTHON_USEDEP}]
dev-python/tomli-w[${PYTHON_USEDEP}]
+   dev-python/virtualenv[${PYTHON_USEDEP}]
dev-python/werkzeug[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
test-rust? (
@@ -89,7 +82,7 @@ python_compile_all() {
 
 python_test() {
if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
-   einfo "Skipping tests on ${EPYTHON} since virtualenv-16 is 
broken"
+   einfo "Skipping tests on ${EPYTHON}"
return 0
fi
 
@@ -119,7 +112,6 @@ python_test() {
)
fi
 
-   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)"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-02-17 Thread Michał Górny
commit: c78b67b2df253f1e343f0add5ef9ba5703b1f531
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 18 06:29:43 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 18 07:03:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c78b67b2

dev-python/pip: Use wheel from dev-python/ensurepip-wheel

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/Manifest  |  1 -
 dev-python/pip/pip-23.0.1.ebuild | 12 +---
 2 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index db74b94b3188..756e2fa93fbe 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -4,4 +4,3 @@ DIST pip-23.0.gh.tar.gz 9336486 BLAKE2B 
693623292e498ec939ce931063bccc8079fc313a
 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
-DIST wheel-0.38.4-py3-none-any.whl 36051 BLAKE2B 
6c7d26fef5c6ec7987066d37579dd46a6b7704c4ec48c9f891cefdde5adf3a76934db9a912e6a05cc9d876782b7649110b814fd0df2e1af569f0336e47b3f850
 SHA512 
4d39de03dd3e87758de896c41240d58ed718e67042f33b0173446655e7c9d2c7d44f12e7a840058c93b9471c1492868ce38ef912d38e1bea723d082b329a4e4a

diff --git a/dev-python/pip/pip-23.0.1.ebuild b/dev-python/pip/pip-23.0.1.ebuild
index c0af4de71b0e..a27c9b63b397 100644
--- a/dev-python/pip/pip-23.0.1.ebuild
+++ b/dev-python/pip/pip-23.0.1.ebuild
@@ -12,9 +12,6 @@ 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.
-WHEEL_WHL="wheel-0.38.4-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
@@ -28,7 +25,6 @@ HOMEPAGE="
 SRC_URI="
https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
test? (
-   https://files.pythonhosted.org/packages/py3/w/wheel/${WHEEL_WHL}
https://github.com/pypa/virtualenv/archive/${VENV_PV}.tar.gz
-> virtualenv-${VENV_PV}.gh.tar.gz
)
@@ -49,6 +45,7 @@ BDEPEND="
test? (
$(python_gen_cond_dep '
dev-python/ensurepip-setuptools
+   dev-python/ensurepip-wheel
dev-python/freezegun[${PYTHON_USEDEP}]
dev-python/pretend[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
@@ -73,10 +70,11 @@ python_prepare_all() {
distutils-r1_python_prepare_all
 
if use test; then
-   local setuptools_whl=( 
"${BROOT}"/usr/lib/python/ensurepip/setuptools-*.whl )
+   local wheels=(
+   
"${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl
+   )
mkdir tests/data/common_wheels/ || die
-   cp "${setuptools_whl[@]}" "${DISTDIR}"/${WHEEL_WHL} \
-   tests/data/common_wheels/ || die
+   cp "${wheels[@]}" tests/data/common_wheels/ || die
fi
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-02-17 Thread Michał Górny
commit: fb14e9aee78fe29a5f547a866d816b897f09a49a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 18 06:19:37 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 18 07:03:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb14e9ae

dev-python/pip: Use wheel from dev-python/ensurepip-setuptools

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/Manifest  | 1 -
 dev-python/pip/pip-23.0.1.ebuild | 6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index 119956953af1..db74b94b3188 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -2,7 +2,6 @@ DIST pip-22.3.1.gh.tar.gz 9326504 BLAKE2B 
b125599a9f77e49414dae13ca3fe0ac27c9b7e
 DIST pip-23.0.1.gh.tar.gz 9336422 BLAKE2B 
1781b0340ba7f76299fa8e37f0509f15a08cc599d196c74b90a2cb79321de570240ed9f12bc64d45ede2182ec8a3eead44ce1b840eaa83931d089ecc07923203
 SHA512 
ed14ce37293e749b4fd93d7f93d81356c77428b1fb14dfd760b59aea720ebb3cce5a49c2d32ab600e73b37389937830ff4dee04750e83078c8ab9d57513f294c
 DIST pip-23.0.gh.tar.gz 9336486 BLAKE2B 
693623292e498ec939ce931063bccc8079fc313a0a9f30d406a99a2084fcd84b5b5a17566602c53bb96090920bc2d0615f28b8f9c165022c2b0de62fa9355b21
 SHA512 
9b791ed15b4e5dd768351043929dc6ee18eeab251a26fb2b0d712dec578101f1620a13d5914d44f2761ecb95e64bc47e6b07096126404ca70345268028524d43
 DIST setuptools-62.3.2-py3-none-any.whl 1225929 BLAKE2B 
608952e201f749ebf557e3962ba9856d5bdcbc534f3a25598cab0d6c53282cfb3b9f007ba135497a8addf49db4c02bc4387c486d95a4529d01ce4114154ec28a
 SHA512 
366d69dc44e326dd7549cdacd8dec481a14dce4feef4338adc38b9de5c4c338f04d61696e13ce8603be1315f2e8734100f92d3fe4b4b11843e19f550c9631978
-DIST setuptools-67.3.2-py3-none-any.whl 1085356 BLAKE2B 
46528b14588df0b4301cbfb72d334f69b91b7d03e85866bd2d900364c784517d443bc9ce922f8e40681680662bc853ea60280250d2dbeb22f975c4bb1cbad67f
 SHA512 
0f35fe23243852b5fb6ce3c1753993564cd258a504934a996d16110116a4e8e64c71f670fddf7cfd9daf4c6790423c9f1902e3226efc72303d2088aec7173fda
 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
 DIST wheel-0.38.4-py3-none-any.whl 36051 BLAKE2B 
6c7d26fef5c6ec7987066d37579dd46a6b7704c4ec48c9f891cefdde5adf3a76934db9a912e6a05cc9d876782b7649110b814fd0df2e1af569f0336e47b3f850
 SHA512 
4d39de03dd3e87758de896c41240d58ed718e67042f33b0173446655e7c9d2c7d44f12e7a840058c93b9471c1492868ce38ef912d38e1bea723d082b329a4e4a

diff --git a/dev-python/pip/pip-23.0.1.ebuild b/dev-python/pip/pip-23.0.1.ebuild
index a204b06a3602..c0af4de71b0e 100644
--- a/dev-python/pip/pip-23.0.1.ebuild
+++ b/dev-python/pip/pip-23.0.1.ebuild
@@ -14,7 +14,6 @@ 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-67.3.2-py3-none-any.whl"
 WHEEL_WHL="wheel-0.38.4-py3-none-any.whl"
 # upstream still requires virtualenv-16 for testing, we are now fetching
 # it directly to avoid blockers with virtualenv-20
@@ -29,7 +28,6 @@ HOMEPAGE="
 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/py3/w/wheel/${WHEEL_WHL}
https://github.com/pypa/virtualenv/archive/${VENV_PV}.tar.gz
-> virtualenv-${VENV_PV}.gh.tar.gz
@@ -50,6 +48,7 @@ BDEPEND="
${RDEPEND}
test? (
$(python_gen_cond_dep '
+   dev-python/ensurepip-setuptools
dev-python/freezegun[${PYTHON_USEDEP}]
dev-python/pretend[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
@@ -74,8 +73,9 @@ python_prepare_all() {
distutils-r1_python_prepare_all
 
if use test; then
+   local setuptools_whl=( 
"${BROOT}"/usr/lib/python/ensurepip/setuptools-*.whl )
mkdir tests/data/common_wheels/ || die
-   cp "${DISTDIR}"/{${SETUPTOOLS_WHL},${WHEEL_WHL}} \
+   cp "${setuptools_whl[@]}" "${DISTDIR}"/${WHEEL_WHL} \
tests/data/common_wheels/ || die
fi
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-02-17 Thread Michał Górny
commit: 0d1620d0d3a06f5bdfb174513b1bd89a73c73b61
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 18 06:17:11 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 18 07:02:59 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d1620d0

dev-python/pip: Bump to 23.0.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/Manifest  |   3 +
 dev-python/pip/pip-23.0.1.ebuild | 138 +++
 2 files changed, 141 insertions(+)

diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index d5baf21475af..119956953af1 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1,5 +1,8 @@
 DIST pip-22.3.1.gh.tar.gz 9326504 BLAKE2B 
b125599a9f77e49414dae13ca3fe0ac27c9b7e127f6ca7f467f3af4e0b51d835f2790f8311b2ec616966c299fb431403b456f7b38ea1f3fe1e7f769f7d5a78e5
 SHA512 
c7865c4ce79b0fea7ba469fe593af3be205b3bdb574a6ae019842e0f82a0af406ec905d8c6ff02fbbafe01630c8899a398d071ce74501ca830249160f2f6df98
+DIST pip-23.0.1.gh.tar.gz 9336422 BLAKE2B 
1781b0340ba7f76299fa8e37f0509f15a08cc599d196c74b90a2cb79321de570240ed9f12bc64d45ede2182ec8a3eead44ce1b840eaa83931d089ecc07923203
 SHA512 
ed14ce37293e749b4fd93d7f93d81356c77428b1fb14dfd760b59aea720ebb3cce5a49c2d32ab600e73b37389937830ff4dee04750e83078c8ab9d57513f294c
 DIST pip-23.0.gh.tar.gz 9336486 BLAKE2B 
693623292e498ec939ce931063bccc8079fc313a0a9f30d406a99a2084fcd84b5b5a17566602c53bb96090920bc2d0615f28b8f9c165022c2b0de62fa9355b21
 SHA512 
9b791ed15b4e5dd768351043929dc6ee18eeab251a26fb2b0d712dec578101f1620a13d5914d44f2761ecb95e64bc47e6b07096126404ca70345268028524d43
 DIST setuptools-62.3.2-py3-none-any.whl 1225929 BLAKE2B 
608952e201f749ebf557e3962ba9856d5bdcbc534f3a25598cab0d6c53282cfb3b9f007ba135497a8addf49db4c02bc4387c486d95a4529d01ce4114154ec28a
 SHA512 
366d69dc44e326dd7549cdacd8dec481a14dce4feef4338adc38b9de5c4c338f04d61696e13ce8603be1315f2e8734100f92d3fe4b4b11843e19f550c9631978
+DIST setuptools-67.3.2-py3-none-any.whl 1085356 BLAKE2B 
46528b14588df0b4301cbfb72d334f69b91b7d03e85866bd2d900364c784517d443bc9ce922f8e40681680662bc853ea60280250d2dbeb22f975c4bb1cbad67f
 SHA512 
0f35fe23243852b5fb6ce3c1753993564cd258a504934a996d16110116a4e8e64c71f670fddf7cfd9daf4c6790423c9f1902e3226efc72303d2088aec7173fda
 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
+DIST wheel-0.38.4-py3-none-any.whl 36051 BLAKE2B 
6c7d26fef5c6ec7987066d37579dd46a6b7704c4ec48c9f891cefdde5adf3a76934db9a912e6a05cc9d876782b7649110b814fd0df2e1af569f0336e47b3f850
 SHA512 
4d39de03dd3e87758de896c41240d58ed718e67042f33b0173446655e7c9d2c7d44f12e7a840058c93b9471c1492868ce38ef912d38e1bea723d082b329a4e4a

diff --git a/dev-python/pip/pip-23.0.1.ebuild b/dev-python/pip/pip-23.0.1.ebuild
new file mode 100644
index ..a204b06a3602
--- /dev/null
+++ b/dev-python/pip/pip-23.0.1.ebuild
@@ -0,0 +1,138 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# please bump dev-python/ensurepip-pip along with this package!
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_TESTED=( python3_{9..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-67.3.2-py3-none-any.whl"
+WHEEL_WHL="wheel-0.38.4-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/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 

[gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/

2023-02-12 Thread Michał Górny
commit: 30ee89d0d2cd7d5f7725e5799c6601878a900e4c
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 11 11:00:44 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb 12 19:04:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30ee89d0

dev-python/pip-run: Disable PyPI name normalization

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip-run/pip-run-10.0.5-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/pip-run/pip-run-10.0.5-r1.ebuild 
b/dev-python/pip-run/pip-run-10.0.5-r1.ebuild
index e829ccf41883..5c994d916137 100644
--- a/dev-python/pip-run/pip-run-10.0.5-r1.ebuild
+++ b/dev-python/pip-run/pip-run-10.0.5-r1.ebuild
@@ -4,6 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
 PYTHON_COMPAT=( python3_{9..11} pypy3 )
 
 inherit distutils-r1 pypi



[gentoo-commits] repo/gentoo:master commit in: dev-python/pip/

2023-02-07 Thread Michał Górny
commit: b86180ee28ef6010a2ac49b753833d51ea9b3e81
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jan 31 13:16:50 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb  7 14:25:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b86180ee

dev-python/pip: Remove redundant min. versions in 23.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/pip/pip-23.0.ebuild | 13 -
 1 file changed, 13 deletions(-)

diff --git a/dev-python/pip/pip-23.0.ebuild b/dev-python/pip/pip-23.0.ebuild
index d88d2f950e8e..b10d49be6de2 100644
--- a/dev-python/pip/pip-23.0.ebuild
+++ b/dev-python/pip/pip-23.0.ebuild
@@ -43,21 +43,8 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k 
~mips ~ppc ~ppc64 ~
 SLOT="0"
 IUSE="test-rust"
 
-# TODO: remove the explicit deps when we update distutils-r1
 RDEPEND="
>=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   >=dev-lang/python-3.9.16-r1:3.9
-   ' python3_9)
-   $(python_gen_cond_dep '
-   >=dev-lang/python-3.10.9-r1:3.10
-   ' python3_10)
-   $(python_gen_cond_dep '
-   >=dev-lang/python-3.11.1-r1:3.11
-   ' python3_11)
-   $(python_gen_cond_dep '
-   >=dev-python/pypy3-7.3.11-r1
-   ' pypy3)
 "
 BDEPEND="
${RDEPEND}



  1   2   3   4   >