1 |
commit: 9a2b2979f8e1a0b533050d0ab15f64e0224dc6cb |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 2 19:39:19 2018 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 2 19:45:36 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a2b2979 |
7 |
|
8 |
dev-python/setuptools: Bump to 38.6.1 for x11-misc/safeeyes-2.0.6 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/659318 |
11 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
12 |
|
13 |
dev-python/setuptools/Manifest | 1 + |
14 |
dev-python/setuptools/setuptools-38.6.1.ebuild | 70 ++++++++++++++++++++++++++ |
15 |
2 files changed, 71 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest |
18 |
index 2e0905b8328..e37de692d08 100644 |
19 |
--- a/dev-python/setuptools/Manifest |
20 |
+++ b/dev-python/setuptools/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST setuptools-34.0.2.zip 617839 BLAKE2B c06ef384a42430ec8f4d956723d21f70fdcf99 |
22 |
DIST setuptools-36.0.1.zip 711296 BLAKE2B c58a4efd8d3a2d574ff6ba5cd01a196fc7ad61a238119ac95714239965875d91e4613d08439c63ab3b9a0794b04ead5c6e8de09839e0306e4d29f47c2c7a7c58 SHA512 cbcd2591d0d8a7591c5d9a1d4173814afa0b984af29f2e34d26a37c357474b043f371978ac224cea12f50834d91babd9f14b137488c4edcd62594e91aff903d8 |
23 |
DIST setuptools-36.7.2.zip 726758 BLAKE2B 8821d3142f2149fbdea4d231052c3990fa7a14c57c421309683c6a65102ce4911850acd5d492087aa0f14a0026da732e47eb9bf971030443fc1b57f9f909aaaa SHA512 746dce135dbacb65565787a20a2611388605e2371c94f0f8803e7712e515e69c270751d16a21f381bf6e8ddc0a1b39494db7d0c67bb32e6230a90c5d517e78f9 |
24 |
DIST setuptools-38.5.1.zip 737995 BLAKE2B 9772d39928c6633ca529292d646c1c8e96a5a77ed06545af950cc249922837c13722d97de702c1e104581d56e1f808ec3d077041212517f5a51b23aa2e95e734 SHA512 bd04186a6e73cf24440e82aee10fff09889cab53e2e2fbf178bdb1360accf4f787abf8d8421d5e0fcb41005254c091f62d714e8b317ecf68911e2eed87b9fcc4 |
25 |
+DIST setuptools-38.6.1.zip 738985 BLAKE2B 73e5258b9fe2587b5662e80267e59bbc23484815d997a808c83e030e2dffa9a499fa1bed7e9e127cf3b92cb09451e70e590dd2e71135941124fe9d3383f7dc24 SHA512 38685b97a7c4cdfb67846f910afce5faf60ef1519ccb70acdfd2da83ddbfe1a56b5b03e0b8ce5dbc80dcec14847f716d7b23777e2be0ea7e6afd6da3b645b3ef |
26 |
|
27 |
diff --git a/dev-python/setuptools/setuptools-38.6.1.ebuild b/dev-python/setuptools/setuptools-38.6.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..60944fe5362 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/setuptools/setuptools-38.6.1.ebuild |
32 |
@@ -0,0 +1,70 @@ |
33 |
+# Copyright 1999-2018 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy{,3} ) |
38 |
+PYTHON_REQ_USE="xml(+)" |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+if [[ ${PV} == "9999" ]]; then |
43 |
+ EGIT_REPO_URI="https://github.com/pypa/setuptools.git" |
44 |
+ inherit git-r3 |
45 |
+else |
46 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" |
47 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd" |
48 |
+fi |
49 |
+ |
50 |
+DESCRIPTION="Collection of extensions to Distutils" |
51 |
+HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/" |
52 |
+ |
53 |
+LICENSE="MIT" |
54 |
+SLOT="0" |
55 |
+IUSE="test" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+" |
59 |
+DEPEND="${RDEPEND} |
60 |
+ app-arch/unzip |
61 |
+ test? ( |
62 |
+ dev-python/pip[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/pytest-3.1.0[${PYTHON_USEDEP}] |
64 |
+ dev-python/pytest-fixture-config[${PYTHON_USEDEP}] |
65 |
+ dev-python/pytest-virtualenv[${PYTHON_USEDEP}] |
66 |
+ >=dev-python/backports-unittest-mock-1.2[${PYTHON_USEDEP}] |
67 |
+ dev-python/wheel[${PYTHON_USEDEP}] |
68 |
+ ) |
69 |
+" |
70 |
+PDEPEND=" |
71 |
+ >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]" |
72 |
+ |
73 |
+# Force in-source build because build system modifies sources. |
74 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
75 |
+ |
76 |
+DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} ) |
77 |
+ |
78 |
+python_prepare_all() { |
79 |
+ if [[ ${PV} == "9999" ]]; then |
80 |
+ python_setup |
81 |
+ ${EPYTHON} bootstrap.py || die |
82 |
+ fi |
83 |
+ |
84 |
+ # disable tests requiring a network connection |
85 |
+ rm setuptools/tests/test_packageindex.py || die |
86 |
+ |
87 |
+ # don't run integration tests |
88 |
+ rm setuptools/tests/test_integration.py || die |
89 |
+ |
90 |
+ distutils-r1_python_prepare_all |
91 |
+} |
92 |
+ |
93 |
+python_test() { |
94 |
+ # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg |
95 |
+ # It tries to sandbox the test in a tempdir |
96 |
+ HOME="${PWD}" py.test --verbose ${PN} || die "Tests failed under ${EPYTHON}" |
97 |
+} |
98 |
+ |
99 |
+python_install() { |
100 |
+ export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1 |
101 |
+ distutils-r1_python_install |
102 |
+} |