Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/gyp/
Date: Wed, 01 Jan 2020 22:10:28
Message-Id: 1577916593.1dd235337ac96f0c1b5d87a84600576839e98e3e.floppym@gentoo
1 commit: 1dd235337ac96f0c1b5d87a84600576839e98e3e
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Wed Jan 1 21:06:52 2020 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 1 22:09:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd23533
7
8 dev-util/gyp: Use Python 3.
9
10 Bug: https://bugs.gentoo.org/695000
11 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
12 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
13
14 dev-util/gyp/gyp-99999999999999.ebuild | 11 +++++------
15 1 file changed, 5 insertions(+), 6 deletions(-)
16
17 diff --git a/dev-util/gyp/gyp-99999999999999.ebuild b/dev-util/gyp/gyp-99999999999999.ebuild
18 index 062dcc11375..da57f66635d 100644
19 --- a/dev-util/gyp/gyp-99999999999999.ebuild
20 +++ b/dev-util/gyp/gyp-99999999999999.ebuild
21 @@ -1,9 +1,10 @@
22 -# Copyright 2017-2019 Gentoo Authors
23 +# Copyright 2017-2020 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI="7"
27 -PYTHON_COMPAT=(python2_7)
28 +PYTHON_COMPAT=(python{3_6,3_7})
29 DISTUTILS_SINGLE_IMPL="1"
30 +DISTUTILS_USE_SETUPTOOLS="rdepend"
31
32 inherit distutils-r1
33
34 @@ -25,12 +26,10 @@ LICENSE="BSD"
35 SLOT="0"
36 KEYWORDS=""
37 IUSE=""
38 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
39
40 -BDEPEND="${PYTHON_DEPS}
41 - dev-python/setuptools[${PYTHON_USEDEP}]"
42 +BDEPEND=""
43 DEPEND=""
44 -RDEPEND="${BDEPEND}"
45 +RDEPEND=""
46
47 src_test() {
48 # More errors when DeprecationWarnings enabled.