commit:     2d43cf47e8ba2cb46d13c231016f7a1e9191837c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  1 06:19:53 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jan  1 06:35:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d43cf47

dev-python/pip-run: Bump to 10.0.2

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

 dev-python/pip-run/Manifest              |  1 +
 dev-python/pip-run/pip-run-10.0.2.ebuild | 64 ++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
index 346d6954acf3..7f119aa90f67 100644
--- a/dev-python/pip-run/Manifest
+++ b/dev-python/pip-run/Manifest
@@ -1,4 +1,5 @@
 DIST pip-run-10.0.1.gh.tar.gz 25236 BLAKE2B 
319f67420f44c4df1ea950f920de16f3187f1465c619fb628123a07ce56b3c63c96490cc9705f38f273a6fe71d868c9cb31193236af50aff903a34755991a241
 SHA512 
d4ddca5395a1be291b763555f7d634f5740515167bb38f670b1c3af81d7196e1e084b5659f0d981f2328adb340632bfd452e2913f3d56ea012a2587623b28364
+DIST pip-run-10.0.2.gh.tar.gz 25253 BLAKE2B 
9ed3066e70109e64a907426752757881d1c95af304f5f114a270e767945d327ec49eebf2bcae1f2f469151446626cb5204d419c63e8701ec90091a4522a9cd7b
 SHA512 
2d0e8e891aa93b36daefa9259a437ea29860bdc07d986f244ad3fc485351a50f68b5ba53fe6431e42b7a04c437195ef58342674b247f001a4aea5181f31ee03d
 DIST pip-run-9.0.0.gh.tar.gz 23171 BLAKE2B 
ca1bee27f4d1826029aa2520dbad9807d22ce66326fd917f0b7687284ce3daf9abcd45e593d735633fb86186ea88ffa0b71780f9b56e27458798763db309bd9d
 SHA512 
117b2260fe628dcc5aae47335ab645c2db47ca9b4d5cd0446ef11bb399c0e91df3a32b61aa7a228aca4d7b837228ddb41fe010896f7debf5fbca6111398cce73
 DIST pip-run-9.2.1.gh.tar.gz 24104 BLAKE2B 
ebb26cd5356a5919d74c6601b36deed0046c0d67d7533f5817b62b7b7ba74240ef44dd2425be7143f8432d3f8a3f611a051f099b6059e64479eadd77e8f39b45
 SHA512 
f320da7641817df5c9418094fb49792e3368907ddac551ef22d97ab45b5183cb84f40338da106d5a47d238ca68ca376cbfc6d6c3528b9fca1db02bf910bd3d28
 DIST pip-run-9.4.0.gh.tar.gz 25821 BLAKE2B 
8d4d9712f0563d3edf8d963e14221fde89cffc14c3fb26afc2b18bdeca9917cacb27c88a815d398d2b67f10112e888c9f60b497c3c1bf59d0105a4c972aef15d
 SHA512 
c266e6eb30f21ddfd89cc25dee5c56542b3734497d59315751c190e7bd985c6746b95802255ec05da19d5cec8822f4fa169eba4218989013e36a2c118d560f4d

diff --git a/dev-python/pip-run/pip-run-10.0.2.ebuild 
b/dev-python/pip-run/pip-run-10.0.2.ebuild
new file mode 100644
index 000000000000..5810589a589a
--- /dev/null
+++ b/dev-python/pip-run/pip-run-10.0.2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Install packages and run Python with them"
+HOMEPAGE="
+       https://github.com/jaraco/pip-run/
+       https://pypi.org/project/pip-run/
+"
+SRC_URI="
+       https://github.com/jaraco/pip-run/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~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
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+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"
+}

Reply via email to