1 |
commit: e2e12bdfbffb7573bb735792c020f0be4d890397 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 2 12:50:32 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 2 12:57:21 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2e12bdf |
7 |
|
8 |
dev-python/ensurepip-wheels: New package, v63.3.0.22.2.1 |
9 |
|
10 |
Introduce a shared package for wheels used by the ensurepip module. |
11 |
|
12 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
13 |
|
14 |
dev-python/ensurepip-wheels/Manifest | 2 ++ |
15 |
.../ensurepip-wheels-63.3.0.22.2.1.ebuild | 28 ++++++++++++++++++++++ |
16 |
dev-python/ensurepip-wheels/metadata.xml | 11 +++++++++ |
17 |
3 files changed, 41 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/ensurepip-wheels/Manifest b/dev-python/ensurepip-wheels/Manifest |
20 |
new file mode 100644 |
21 |
index 000000000000..b2bdf913b1c4 |
22 |
--- /dev/null |
23 |
+++ b/dev-python/ensurepip-wheels/Manifest |
24 |
@@ -0,0 +1,2 @@ |
25 |
+DIST pip-22.2.1-py3-none-any.whl 2044666 BLAKE2B 702699d059273182f248acb48f6f6c9ec287e2edb3de2c84c05402b4fc82da23c14f76e2d3ed8cc1c281e3c8d8fd1a467963d3b9ab6fa384c16d5057fce1561d SHA512 dad2ce78544502a3ec4492a57acc5c1cf6f34ee1d3200a46cf19246f7eda701524d745237909b154317c3d6be6d4e61b086be9562d31d54b60268ca573692638 |
26 |
+DIST setuptools-63.3.0-py3-none-any.whl 1228351 BLAKE2B 5a7a8d864b5fc992952a4c7f0230c3ebb6f33c7b4fc965ca8bfa4cf3b57948e8353f59074f7374e3d002866333d3ad5fd072ccd479f8470cbfcd14aa635efc54 SHA512 f2df66493fb9520b50e3e93560b17e5aa6f01e5fde27028a550249beb54f3ea6b2d8f0a2bcc57afaff193e38d5b217544c0623b254ac300652aed444abf06a14 |
27 |
|
28 |
diff --git a/dev-python/ensurepip-wheels/ensurepip-wheels-63.3.0.22.2.1.ebuild b/dev-python/ensurepip-wheels/ensurepip-wheels-63.3.0.22.2.1.ebuild |
29 |
new file mode 100644 |
30 |
index 000000000000..691136b4b5bb |
31 |
--- /dev/null |
32 |
+++ b/dev-python/ensurepip-wheels/ensurepip-wheels-63.3.0.22.2.1.ebuild |
33 |
@@ -0,0 +1,28 @@ |
34 |
+# Copyright 2022 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=8 |
38 |
+ |
39 |
+SETUPTOOLS_WHL=setuptools-$(ver_cut 1-3)-py3-none-any.whl |
40 |
+PIP_WHL=pip-$(ver_cut 4-)-py3-none-any.whl |
41 |
+ |
42 |
+DESCRIPTION="Shared wheels for ensurepip Python module" |
43 |
+HOMEPAGE=" |
44 |
+ https://pypi.org/project/pip/ |
45 |
+ https://pypi.org/project/setuptools/ |
46 |
+" |
47 |
+SRC_URI=" |
48 |
+ https://files.pythonhosted.org/packages/py3/p/pip/${PIP_WHL} |
49 |
+ https://files.pythonhosted.org/packages/py3/s/setuptools/${SETUPTOOLS_WHL} |
50 |
+" |
51 |
+S=${DISTDIR} |
52 |
+ |
53 |
+# combined license of setuptools and pip (with its bundled deps) |
54 |
+LICENSE="Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MIT MPL-2.0 PSF-2" |
55 |
+SLOT="0" |
56 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
57 |
+ |
58 |
+src_install() { |
59 |
+ insinto /usr/lib/python/ensurepip |
60 |
+ doins "${PIP_WHL}" "${SETUPTOOLS_WHL}" |
61 |
+} |
62 |
|
63 |
diff --git a/dev-python/ensurepip-wheels/metadata.xml b/dev-python/ensurepip-wheels/metadata.xml |
64 |
new file mode 100644 |
65 |
index 000000000000..0c63c4e2b6a7 |
66 |
--- /dev/null |
67 |
+++ b/dev-python/ensurepip-wheels/metadata.xml |
68 |
@@ -0,0 +1,11 @@ |
69 |
+<?xml version="1.0" encoding="UTF-8"?> |
70 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
71 |
+<pkgmetadata> |
72 |
+ <maintainer type="project"> |
73 |
+ <email>python@g.o</email> |
74 |
+ </maintainer> |
75 |
+ <upstream> |
76 |
+ <remote-id type="pypi">pip</remote-id> |
77 |
+ <remote-id type="pypi">setuptools</remote-id> |
78 |
+ </upstream> |
79 |
+</pkgmetadata> |