1 |
commit: 2d43cf47e8ba2cb46d13c231016f7a1e9191837c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 1 06:19:53 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 1 06:35:23 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d43cf47 |
7 |
|
8 |
dev-python/pip-run: Bump to 10.0.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pip-run/Manifest | 1 + |
13 |
dev-python/pip-run/pip-run-10.0.2.ebuild | 64 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 65 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest |
17 |
index 346d6954acf3..7f119aa90f67 100644 |
18 |
--- a/dev-python/pip-run/Manifest |
19 |
+++ b/dev-python/pip-run/Manifest |
20 |
@@ -1,4 +1,5 @@ |
21 |
DIST pip-run-10.0.1.gh.tar.gz 25236 BLAKE2B 319f67420f44c4df1ea950f920de16f3187f1465c619fb628123a07ce56b3c63c96490cc9705f38f273a6fe71d868c9cb31193236af50aff903a34755991a241 SHA512 d4ddca5395a1be291b763555f7d634f5740515167bb38f670b1c3af81d7196e1e084b5659f0d981f2328adb340632bfd452e2913f3d56ea012a2587623b28364 |
22 |
+DIST pip-run-10.0.2.gh.tar.gz 25253 BLAKE2B 9ed3066e70109e64a907426752757881d1c95af304f5f114a270e767945d327ec49eebf2bcae1f2f469151446626cb5204d419c63e8701ec90091a4522a9cd7b SHA512 2d0e8e891aa93b36daefa9259a437ea29860bdc07d986f244ad3fc485351a50f68b5ba53fe6431e42b7a04c437195ef58342674b247f001a4aea5181f31ee03d |
23 |
DIST pip-run-9.0.0.gh.tar.gz 23171 BLAKE2B ca1bee27f4d1826029aa2520dbad9807d22ce66326fd917f0b7687284ce3daf9abcd45e593d735633fb86186ea88ffa0b71780f9b56e27458798763db309bd9d SHA512 117b2260fe628dcc5aae47335ab645c2db47ca9b4d5cd0446ef11bb399c0e91df3a32b61aa7a228aca4d7b837228ddb41fe010896f7debf5fbca6111398cce73 |
24 |
DIST pip-run-9.2.1.gh.tar.gz 24104 BLAKE2B ebb26cd5356a5919d74c6601b36deed0046c0d67d7533f5817b62b7b7ba74240ef44dd2425be7143f8432d3f8a3f611a051f099b6059e64479eadd77e8f39b45 SHA512 f320da7641817df5c9418094fb49792e3368907ddac551ef22d97ab45b5183cb84f40338da106d5a47d238ca68ca376cbfc6d6c3528b9fca1db02bf910bd3d28 |
25 |
DIST pip-run-9.4.0.gh.tar.gz 25821 BLAKE2B 8d4d9712f0563d3edf8d963e14221fde89cffc14c3fb26afc2b18bdeca9917cacb27c88a815d398d2b67f10112e888c9f60b497c3c1bf59d0105a4c972aef15d SHA512 c266e6eb30f21ddfd89cc25dee5c56542b3734497d59315751c190e7bd985c6746b95802255ec05da19d5cec8822f4fa169eba4218989013e36a2c118d560f4d |
26 |
|
27 |
diff --git a/dev-python/pip-run/pip-run-10.0.2.ebuild b/dev-python/pip-run/pip-run-10.0.2.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..5810589a589a |
30 |
--- /dev/null |
31 |
+++ b/dev-python/pip-run/pip-run-10.0.2.ebuild |
32 |
@@ -0,0 +1,64 @@ |
33 |
+# Copyright 2022-2023 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+DISTUTILS_USE_PEP517=setuptools |
39 |
+PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+DESCRIPTION="Install packages and run Python with them" |
44 |
+HOMEPAGE=" |
45 |
+ https://github.com/jaraco/pip-run/ |
46 |
+ https://pypi.org/project/pip-run/ |
47 |
+" |
48 |
+SRC_URI=" |
49 |
+ https://github.com/jaraco/pip-run/archive/v${PV}.tar.gz |
50 |
+ -> ${P}.gh.tar.gz |
51 |
+" |
52 |
+ |
53 |
+LICENSE="MIT" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ dev-python/autocommand[${PYTHON_USEDEP}] |
59 |
+ $(python_gen_cond_dep ' |
60 |
+ dev-python/importlib_resources[${PYTHON_USEDEP}] |
61 |
+ ' 3.8) |
62 |
+ dev-python/jaraco-context[${PYTHON_USEDEP}] |
63 |
+ dev-python/jaraco-functools[${PYTHON_USEDEP}] |
64 |
+ dev-python/jaraco-text[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/more-itertools-8.3[${PYTHON_USEDEP}] |
66 |
+ dev-python/packaging[${PYTHON_USEDEP}] |
67 |
+ dev-python/path[${PYTHON_USEDEP}] |
68 |
+ dev-python/pip[${PYTHON_USEDEP}] |
69 |
+ dev-python/platformdirs[${PYTHON_USEDEP}] |
70 |
+" |
71 |
+BDEPEND=" |
72 |
+ test? ( |
73 |
+ dev-python/jaraco-path[${PYTHON_USEDEP}] |
74 |
+ >=dev-python/jaraco-test-5.3[${PYTHON_USEDEP}] |
75 |
+ dev-python/pygments[${PYTHON_USEDEP}] |
76 |
+ $(python_gen_cond_dep ' |
77 |
+ dev-python/nbformat[${PYTHON_USEDEP}] |
78 |
+ ' 'python*') |
79 |
+ ) |
80 |
+" |
81 |
+ |
82 |
+distutils_enable_tests pytest |
83 |
+ |
84 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
85 |
+ |
86 |
+python_test() { |
87 |
+ local EPYTEST_IGNORE=() |
88 |
+ |
89 |
+ if ! has_version "dev-python/nbformat[${PYTHON_USEDEP}]"; then |
90 |
+ EPYTEST_IGNORE+=( |
91 |
+ tests/test_scripts.py |
92 |
+ ) |
93 |
+ fi |
94 |
+ |
95 |
+ epytest -m "not network" |
96 |
+} |