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: Mon, 28 Dec 2015 16:30:01
Message-Id: 1451320193.d5aac103d8b26a9ee0ae569c7c259637a90ad80a.jlec@gentoo
1 commit: d5aac103d8b26a9ee0ae569c7c259637a90ad80a
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 28 16:29:47 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 28 16:29:53 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5aac103
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-19.2.ebuild | 54 ++++++++++++++++++++++++++++
15 2 files changed, 55 insertions(+)
16
17 diff --git a/dev-python/setuptools/Manifest b/dev-python/setuptools/Manifest
18 index e5bb4c8..011fad4 100644
19 --- a/dev-python/setuptools/Manifest
20 +++ b/dev-python/setuptools/Manifest
21 @@ -6,3 +6,4 @@ DIST setuptools-18.7.tar.gz 628702 SHA256 c57c1f5aa3b83e4c5e0ce5b144a7f96eea1dab
22 DIST setuptools-18.8.1.tar.gz 629889 SHA256 ac472c7c4752e8cd44d646fcb4f15d13e72a4ae20e4d853c61adba3b9cabe1d5 SHA512 4ebb36cb54a1c581e3b06ce224fdd97211da9b93962eeae0151b064ac107244dab9111dd1441e76997275f9c559dca2cf0c480544f526c8643bf21beda30bf14 WHIRLPOOL a82fba00a874de1b1cc832f062ed27dae17d34e2782a6353ad980884f6b839990acf3f8f1b00066e14ddc96b3ea35e9dc2ed27cda52ef792f6227db03283cf82
23 DIST setuptools-18.8.tar.gz 629367 SHA256 04180e33a40a114ff9b458f31786d885964612af2b2111c3d0efdc9a1ac76c4d SHA512 718f8ef19e639450f62e1751715bac65ce2bd218b81614d07c9283a01be3a085ec5422ff9d96a54e74c05135a1a4bb167ece6d4ecece588716d05982c9f25811 WHIRLPOOL 412545b8b2625675612c9d79b366c7b5287e0f6f48596a49fdbd1b358a4efefcd4cbf8993ff42ad7d7f14868fc86e5136c7af650dfe954ab015060ea57268523
24 DIST setuptools-19.1.1.tar.gz 640997 SHA256 32ebb08b72aee11fefa6907ddf5db5a81e0eef9cf62c7fa6b58d8e32da249960 SHA512 480aaed577ab9bc4d3cae71d957407ecb71e743dab7fb06f165b76683445f356ce141e1057b5a057101f9546df8c62e2abc2c35ebd751e4bb3febb846a71ac41 WHIRLPOOL 608af5cb22e9b87de3cb0181519058cc7437b7e74b7be4774337d18a562e869cb361edf17f0488c2594039e87dcdc1f201723520568490b0e0be105992abeb37
25 +DIST setuptools-19.2.tar.gz 641777 SHA256 f90ed8eb70b14b0594ba74e9de4ffca040c0ec8ee505cbf3570499467859f71a SHA512 2494606930d6d422e8c105e8e5b40a07b23709f361164c5df40ff24c80328b861179652c7212fa38137534206c187bc4de42d249bc686d43fad18f23d0a26126 WHIRLPOOL ee861dc97a48ec7a07eadc3ceb42077b396a14c1448f0c3d8c6edf2266f4da241bb0e9f31922bc687b6e943802b95b440aea9f2e5d60b8d338c8392102353100
26
27 diff --git a/dev-python/setuptools/setuptools-19.2.ebuild b/dev-python/setuptools/setuptools-19.2.ebuild
28 new file mode 100644
29 index 0000000..914eeae
30 --- /dev/null
31 +++ b/dev-python/setuptools/setuptools-19.2.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 +}