Gentoo Archives: gentoo-commits

From: Dennis Lamm <expeditioneer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: dev-util/itstool/
Date: Sun, 24 Feb 2019 18:43:50
Message-Id: 1551033821.1998f2fe0b1b485aada6113b568c2b72b6a3b54d.expeditioneer@gentoo
1 commit: 1998f2fe0b1b485aada6113b568c2b72b6a3b54d
2 Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 24 18:43:41 2019 +0000
4 Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 24 18:43:41 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=1998f2fe
7
8 dev-util/itstool: updated live ebuild
9
10 Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
11
12 added PYTHON 3 to PYTHON_COMPAT
13 added segfault-patch
14
15 Package-Manager: Portage-2.3.51, Repoman-2.3.11
16 Manifest-Sign-Key: 0xD39C7B0122696620
17
18 dev-util/itstool/itstool-9999.ebuild | 11 ++++++++---
19 1 file changed, 8 insertions(+), 3 deletions(-)
20
21 diff --git a/dev-util/itstool/itstool-9999.ebuild b/dev-util/itstool/itstool-9999.ebuild
22 index bbf2589d..bd66841d 100644
23 --- a/dev-util/itstool/itstool-9999.ebuild
24 +++ b/dev-util/itstool/itstool-9999.ebuild
25 @@ -1,9 +1,9 @@
26 -# Copyright 1999-2018 Gentoo Foundation
27 +# Copyright 1999-2019 Gentoo Authors
28 # Distributed under the terms of the GNU General Public License v2
29
30 -EAPI="6"
31 +EAPI=7
32
33 -PYTHON_COMPAT=( python2_7 )
34 +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
35 PYTHON_REQ_USE="xml"
36
37 inherit autotools python-single-r1
38 @@ -36,7 +36,12 @@ RDEPEND="${PYTHON_DEPS}
39 dev-libs/libxml2[python,${PYTHON_USEDEP}]"
40 DEPEND="${RDEPEND}"
41
42 +PATCHES=(
43 + "${FILESDIR}/${PN}-segfault.patch"
44 +)
45 +
46 src_prepare() {
47 + python_fix_shebang .
48 eapply_user
49 eautoreconf
50 }