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/, dev-util/itstool/files/
Date: Sat, 23 Feb 2019 14:28:43
Message-Id: 1550932114.0f61e6ce7b50b0ba66ea2c6d4c291b352c32968d.expeditioneer@gentoo
1 commit: 0f61e6ce7b50b0ba66ea2c6d4c291b352c32968d
2 Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 23 14:27:59 2019 +0000
4 Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 23 14:28:34 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=0f61e6ce
7
8 dev-util/itstool: version bump to 2.0.5
9
10 Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12 Manifest-Sign-Key: 0xD39C7B0122696620
13
14 .../{itstool-2.0.4-segfault.patch => itstool-segfault.patch} | 0
15 dev-util/itstool/itstool-2.0.4-r1.ebuild | 4 ++--
16 .../itstool/{itstool-2.0.4-r1.ebuild => itstool-2.0.5.ebuild} | 11 +++++++----
17 3 files changed, 9 insertions(+), 6 deletions(-)
18
19 diff --git a/dev-util/itstool/files/itstool-2.0.4-segfault.patch b/dev-util/itstool/files/itstool-segfault.patch
20 similarity index 100%
21 rename from dev-util/itstool/files/itstool-2.0.4-segfault.patch
22 rename to dev-util/itstool/files/itstool-segfault.patch
23
24 diff --git a/dev-util/itstool/itstool-2.0.4-r1.ebuild b/dev-util/itstool/itstool-2.0.4-r1.ebuild
25 index 49b85f5c..a04c0574 100644
26 --- a/dev-util/itstool/itstool-2.0.4-r1.ebuild
27 +++ b/dev-util/itstool/itstool-2.0.4-r1.ebuild
28 @@ -1,4 +1,4 @@
29 -# Copyright 1999-2018 Gentoo Foundation
30 +# Copyright 1999-2019 Gentoo Authors
31 # Distributed under the terms of the GNU General Public License v2
32
33 EAPI="6"
34 @@ -24,7 +24,7 @@ RDEPEND="${PYTHON_DEPS}
35 DEPEND="${RDEPEND}"
36
37 src_prepare() {
38 - eapply "${FILESDIR}/${P}-segfault.patch"
39 + eapply "${FILESDIR}/${PN}-segfault.patch"
40 python_fix_shebang .
41 eapply_user
42 eautoreconf
43
44 diff --git a/dev-util/itstool/itstool-2.0.4-r1.ebuild b/dev-util/itstool/itstool-2.0.5.ebuild
45 similarity index 85%
46 copy from dev-util/itstool/itstool-2.0.4-r1.ebuild
47 copy to dev-util/itstool/itstool-2.0.5.ebuild
48 index 49b85f5c..95f43f8d 100644
49 --- a/dev-util/itstool/itstool-2.0.4-r1.ebuild
50 +++ b/dev-util/itstool/itstool-2.0.5.ebuild
51 @@ -1,9 +1,9 @@
52 -# Copyright 1999-2018 Gentoo Foundation
53 +# Copyright 1999-2019 Gentoo Authors
54 # Distributed under the terms of the GNU General Public License v2
55
56 -EAPI="6"
57 +EAPI="7"
58
59 -PYTHON_COMPAT=( python2_7 )
60 +PYTHON_COMPAT=( python2_7 python3_{4,5,6})
61 PYTHON_REQ_USE="xml"
62
63 inherit autotools python-single-r1
64 @@ -23,8 +23,11 @@ RDEPEND="${PYTHON_DEPS}
65 dev-libs/libxml2[${PYTHON_USEDEP}]"
66 DEPEND="${RDEPEND}"
67
68 +PATCHES=(
69 + "${FILESDIR}/${PN}-segfault.patch"
70 +)
71 +
72 src_prepare() {
73 - eapply "${FILESDIR}/${P}-segfault.patch"
74 python_fix_shebang .
75 eapply_user
76 eautoreconf