Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/setuptools/
Date: Sun, 12 Jan 2020 09:31:39
Message-Id: 1578820659.86d342d6ef2b4fd73a806920b12300b13fa6048c.mgorny@gentoo
1 commit: 86d342d6ef2b4fd73a806920b12300b13fa6048c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 12 06:42:00 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 12 09:17:39 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86d342d6
7
8 dev-python/setuptools: Remove unmaintained live ebuild
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/setuptools/setuptools-9999.ebuild | 73 ----------------------------
13 1 file changed, 73 deletions(-)
14
15 diff --git a/dev-python/setuptools/setuptools-9999.ebuild b/dev-python/setuptools/setuptools-9999.ebuild
16 deleted file mode 100644
17 index 8d0297575a7..00000000000
18 --- a/dev-python/setuptools/setuptools-9999.ebuild
19 +++ /dev/null
20 @@ -1,73 +0,0 @@
21 -# Copyright 1999-2020 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -DISTUTILS_USE_SETUPTOOLS=no
26 -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
27 -PYTHON_REQ_USE="xml(+)"
28 -
29 -inherit distutils-r1
30 -
31 -if [[ ${PV} == "9999" ]]; then
32 - EGIT_REPO_URI="https://github.com/pypa/setuptools.git"
33 - inherit git-r3
34 -else
35 - SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
36 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
37 -fi
38 -
39 -DESCRIPTION="Collection of extensions to Distutils"
40 -HOMEPAGE="https://github.com/pypa/setuptools https://pypi.org/project/setuptools/"
41 -
42 -LICENSE="MIT"
43 -SLOT="0"
44 -IUSE="test"
45 -RESTRICT="!test? ( test )"
46 -
47 -RDEPEND="
48 -"
49 -DEPEND="${RDEPEND}
50 - app-arch/unzip
51 - test? (
52 - dev-python/mock[${PYTHON_USEDEP}]
53 - dev-python/pip[${PYTHON_USEDEP}]
54 - >=dev-python/pytest-3.7.0[${PYTHON_USEDEP}]
55 - dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
56 - dev-python/pytest-virtualenv[${PYTHON_USEDEP}]
57 - dev-python/wheel[${PYTHON_USEDEP}]
58 - virtual/python-futures[${PYTHON_USEDEP}]
59 - )
60 -"
61 -PDEPEND="
62 - >=dev-python/certifi-2016.9.26[${PYTHON_USEDEP}]"
63 -
64 -# Force in-source build because build system modifies sources.
65 -DISTUTILS_IN_SOURCE_BUILD=1
66 -
67 -DOCS=( {CHANGES,README}.rst docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} )
68 -
69 -python_prepare_all() {
70 - if [[ ${PV} == "9999" ]]; then
71 - python_setup
72 - ${EPYTHON} bootstrap.py || die
73 - fi
74 -
75 - # disable tests requiring a network connection
76 - rm setuptools/tests/test_packageindex.py || die
77 -
78 - # don't run integration tests
79 - rm setuptools/tests/test_integration.py || die
80 -
81 - distutils-r1_python_prepare_all
82 -}
83 -
84 -python_test() {
85 - # test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
86 - # It tries to sandbox the test in a tempdir
87 - HOME="${PWD}" pytest -vv ${PN} || die "Tests failed under ${EPYTHON}"
88 -}
89 -
90 -python_install() {
91 - export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
92 - distutils-r1_python_install
93 -}