Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/setuptools/
Date: Sun, 13 Dec 2015 14:05:45
Message-Id: 1450015528.3372ac9095a6b1828244e0d4594e3c3934c23230.jlec@gentoo
1 commit: 3372ac9095a6b1828244e0d4594e3c3934c23230
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 13 10:05:02 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 13 14:05:28 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3372ac90
7
8 dev-python/setuptools: Version Bump
9
10 Package-Manager: portage-2.2.26
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-python/setuptools/Manifest | 1 +
14 dev-python/setuptools/setuptools-18.8.ebuild | 54 ++++++++++++++++++++++++++++
15 2 files changed, 55 insertions(+)
16
17 diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest
18 index f9d00d2..c5e6f9a 100644
19 --- a/dev-python/setuptools/Manifest
20 +++ b/dev-python/setuptools/Manifest
21 @@ -3,3 +3,4 @@ DIST setuptools-18.5.tar.gz 626892 SHA256 4846755f18c0528d87583342d5e1221052858c
22 DIST setuptools-18.6.1.tar.gz 627042 SHA256 ddb0f4bdd1ac0ceb41abfe561d6196a840abb76371551dbf0c3e59d8d5cde99a SHA512 50752fc55fe70c1fe7c84d27d6dd046da376e0656c957e36709923ed129dcecf09637e35d64cc677d1e75612b2fc53f3213c97e8bed816dff5248085756a1882 WHIRLPOOL b6ba95bd18db05867a94b756ab1ec71a0861096ffa8ae9bf2dd1410e1465df71a10e52af527b5f72bd685da5ccbfa795b6e1855a0d11aa54e8f28287fa54236e
23 DIST setuptools-18.7.1.tar.gz 628906 SHA256 aff36c95035e0b311eacb1434e3f7e85f5ccaad477773847e582978f8f45bd74 SHA512 b72b7feeee50c7bf794449cdb2253977689a02046d9d076a57e3788d963a2b433c3c21a3c3f14db3ca6254bf851a11cce1066d94147718e62b8cc7baf416d12f WHIRLPOOL 979784b2507632493738667a5bd83438bd68874c5d78d51a62093e8450aa9752ff32790e0b16e76681b13e588eced92a62a51e6e28aa0ad69e11f7a4284cc892
24 DIST setuptools-18.7.tar.gz 628702 SHA256 c57c1f5aa3b83e4c5e0ce5b144a7f96eea1dab873f35d5aaa3c2a2d960674353 SHA512 7e00cd0148aee0435e571347db1d2dae9fa194fe3bdd5d1fc561bb353ce4272869355a5e8f9a1ed99136df43f9d7848d57d2cd46c920040673bfdc05e189d050 WHIRLPOOL c50e83fb91ed7cd08e9f3538fb8425adcc1d5eb3a8be072914e73d2e765888f71c6fd891c821c96c21ad24728f7381c5b5a4b01c23887550877a0931b5ad7d86
25 +DIST setuptools-18.8.tar.gz 629367 SHA256 04180e33a40a114ff9b458f31786d885964612af2b2111c3d0efdc9a1ac76c4d SHA512 718f8ef19e639450f62e1751715bac65ce2bd218b81614d07c9283a01be3a085ec5422ff9d96a54e74c05135a1a4bb167ece6d4ecece588716d05982c9f25811 WHIRLPOOL 412545b8b2625675612c9d79b366c7b5287e0f6f48596a49fdbd1b358a4efefcd4cbf8993ff42ad7d7f14868fc86e5136c7af650dfe954ab015060ea57268523
26
27 diff --git a/dev-python/setuptools/setuptools-18.8.ebuild b/dev-python/setuptools/setuptools-18.8.ebuild
28 new file mode 100644
29 index 0000000..914eeae
30 --- /dev/null
31 +++ b/dev-python/setuptools/setuptools-18.8.ebuild
32 @@ -0,0 +1,54 @@
33 +# Copyright 1999-2015 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI="5"
38 +
39 +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
40 +
41 +inherit distutils-r1
42 +
43 +DESCRIPTION="Collection of extensions to Distutils"
44 +HOMEPAGE="https://pypi.python.org/pypi/setuptools"
45 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 +
47 +LICENSE="PSF-2"
48 +SLOT="0"
49 +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"
50 +IUSE="test"
51 +
52 +RDEPEND=">=dev-python/packaging-15.3-r1[${PYTHON_USEDEP}]"
53 +DEPEND="${RDEPEND}
54 + test? (
55 + >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
56 + dev-python/mock[${PYTHON_USEDEP}]
57 + )
58 +"
59 +PDEPEND=">=dev-python/certifi-2015.11.20[${PYTHON_USEDEP}]"
60 +
61 +# Force in-source build because build system modifies sources.
62 +DISTUTILS_IN_SOURCE_BUILD=1
63 +
64 +DOCS=( README.txt docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} )
65 +
66 +python_prepare_all() {
67 + rm -r ./pkg_resources/_vendor || die
68 + # disable tests requiring a network connection
69 + rm setuptools/tests/test_packageindex.py || die
70 +
71 + # don't run integration tests
72 + rm setuptools/tests/test_integration.py || die
73 +
74 + distutils-r1_python_prepare_all
75 +}
76 +
77 +python_test() {
78 + # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
79 + # It tries to sandbox the test in a tempdir
80 + HOME="${PWD}" py.test --verbose ${PN} || die "Tests failed under ${EPYTHON}"
81 +}
82 +
83 +python_install() {
84 + export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
85 + distutils-r1_python_install
86 +}