Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/setuptools/
Date: Wed, 25 Jan 2017 05:20:48
Message-Id: 1485321477.54b01620b16227a005fb625d8eb1babc61534d13.radhermit@gentoo
1 commit: 54b01620b16227a005fb625d8eb1babc61534d13
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 25 05:17:57 2017 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 25 05:17:57 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54b01620
7
8 dev-python/setuptools: version bump to 34.0.2
9
10 dev-python/setuptools/Manifest | 1 +
11 dev-python/setuptools/setuptools-34.0.2.ebuild | 70 ++++++++++++++++++++++++++
12 2 files changed, 71 insertions(+)
13
14 diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest
15 index 2b366be..4c3db14 100644
16 --- a/dev-python/setuptools/Manifest
17 +++ b/dev-python/setuptools/Manifest
18 @@ -2,3 +2,4 @@ DIST setuptools-18.4.tar.gz 626632 SHA256 cdea5098e60b4ad83453d58723a61dc481ca8e
19 DIST setuptools-20.6.7.tar.gz 675428 SHA256 d20152ee6337323d3b6d95cd733fb719d6b4f3fbc40f61f7a48e5a1bb96478b2 SHA512 91a212b5007f9fdfacb4341e06dc0355c5c29897eb8ea407dd4864091f845ba1417bb0d33b5ed6897869d0233e2d0ec6548898d3dbe9eda23f751829bd51a104 WHIRLPOOL 553a1579991e9478b8eb8dd2f4ab042cd5286c1233f325d1fe1c08092035c6346aa454c03307359d7dd562174133247200c3a5424f5fc24f4718db0ad80d84fc
20 DIST setuptools-30.4.0.tar.gz 655934 SHA256 2bea341aa5b48ae05521374d9c473713e42dde7f8712a731904a6f8257e896ed SHA512 8239262e11c7702165d7539d57982dadd16e61a992529cb4d5f42141d57ffbab46fd928c765d0439ec4f07db1bc252b9a4604901d8f9951e55076438bdd6f515 WHIRLPOOL 4866efbe00d23291ad07b401d7924f2f150a38664ab0a3d9afe9e00aa4e887de6c9e82f81e7d2ec157b1bf05406b2616a08772fa9f3a45e1e20fddbe27c11fd2
21 DIST setuptools-33.1.1.zip 702770 SHA256 6b20352ed60ba08c43b3611bdb502286f7a869fbfcf472f40d7279f1e77de145 SHA512 15fe2009166621ab0ae7480c5331accbf8fc9cd9e2943999abaecae9eba870634a0914f7829711e43cab4e8da6b6140c1586a9db9bb4623662dca6f5482bc49c WHIRLPOOL c25013c4a2d94f1eb162c992c85a8f66c99213e1c79dee25d627cace85164a3d3b81e7bede3e839f64ce29e5be4f49cca306bf6c9447412796636bc21f023b38
22 +DIST setuptools-34.0.2.zip 617839 SHA256 a5bdc45a3c123a88c84e089a789ba70bbc61ee888c1306fd9dac04e037e81c37 SHA512 8ff6475620fc18e5992900dffd50158bfea980d3e7f2c7c98e8c99180b2f11b3f81c13a60f93516da580def2543a786940cc164dcdc36802d9657c48e45d9266 WHIRLPOOL c9350f96628957c0bab680a2cd018d27d93f04afded737b317b9ea527e0bad3ea9c4f4af2a31843a3010573cdb0ec1c7fbdeef371cfc8cb5c8de93b6d762bf1d
23
24 diff --git a/dev-python/setuptools/setuptools-34.0.2.ebuild b/dev-python/setuptools/setuptools-34.0.2.ebuild
25 new file mode 100644
26 index 00000000..049ceec
27 --- /dev/null
28 +++ b/dev-python/setuptools/setuptools-34.0.2.ebuild
29 @@ -0,0 +1,70 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=6
35 +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
36 +
37 +inherit distutils-r1
38 +
39 +if [[ ${PV} == "9999" ]]; then
40 + EGIT_REPO_URI="https://github.com/pypa/setuptools.git"
41 + inherit git-r3
42 +else
43 + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
44 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
45 +fi
46 +
47 +DESCRIPTION="Collection of extensions to Distutils"
48 +HOMEPAGE="https://github.com/pypa/setuptools https://pypi.python.org/pypi/setuptools"
49 +
50 +LICENSE="MIT"
51 +SLOT="0"
52 +IUSE="test"
53 +
54 +RDEPEND="
55 + >=dev-python/packaging-16.8[${PYTHON_USEDEP}]
56 + >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
57 + >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
58 +"
59 +DEPEND="${RDEPEND}
60 + app-arch/unzip
61 + test? (
62 + dev-python/pip[${PYTHON_USEDEP}]
63 + >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
64 + dev-python/mock[${PYTHON_USEDEP}]
65 + )
66 +"
67 +PDEPEND="
68 + >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]"
69 +
70 +# Force in-source build because build system modifies sources.
71 +DISTUTILS_IN_SOURCE_BUILD=1
72 +
73 +DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} )
74 +
75 +python_prepare_all() {
76 + if [[ ${PV} == "9999" ]]; then
77 + python_setup
78 + ${EPYTHON} bootstrap.py || die
79 + fi
80 +
81 + # disable tests requiring a network connection
82 + rm setuptools/tests/test_packageindex.py || die
83 +
84 + # don't run integration tests
85 + rm setuptools/tests/test_integration.py || die
86 +
87 + distutils-r1_python_prepare_all
88 +}
89 +
90 +python_test() {
91 + # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
92 + # It tries to sandbox the test in a tempdir
93 + HOME="${PWD}" py.test --verbose ${PN} || die "Tests failed under ${EPYTHON}"
94 +}
95 +
96 +python_install() {
97 + export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
98 + distutils-r1_python_install
99 +}