commit:     0f61e6ce7b50b0ba66ea2c6d4c291b352c32968d
Author:     Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 23 14:27:59 2019 +0000
Commit:     Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
CommitDate: Sat Feb 23 14:28:34 2019 +0000
URL:        https://gitweb.gentoo.org/proj/gnome.git/commit/?id=0f61e6ce

dev-util/itstool: version bump to 2.0.5

Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Manifest-Sign-Key: 0xD39C7B0122696620

 .../{itstool-2.0.4-segfault.patch => itstool-segfault.patch}  |  0
 dev-util/itstool/itstool-2.0.4-r1.ebuild                      |  4 ++--
 .../itstool/{itstool-2.0.4-r1.ebuild => itstool-2.0.5.ebuild} | 11 +++++++----
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/dev-util/itstool/files/itstool-2.0.4-segfault.patch 
b/dev-util/itstool/files/itstool-segfault.patch
similarity index 100%
rename from dev-util/itstool/files/itstool-2.0.4-segfault.patch
rename to dev-util/itstool/files/itstool-segfault.patch

diff --git a/dev-util/itstool/itstool-2.0.4-r1.ebuild 
b/dev-util/itstool/itstool-2.0.4-r1.ebuild
index 49b85f5c..a04c0574 100644
--- a/dev-util/itstool/itstool-2.0.4-r1.ebuild
+++ b/dev-util/itstool/itstool-2.0.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -24,7 +24,7 @@ RDEPEND="${PYTHON_DEPS}
 DEPEND="${RDEPEND}"
 
 src_prepare() {
-       eapply "${FILESDIR}/${P}-segfault.patch"
+       eapply "${FILESDIR}/${PN}-segfault.patch"
        python_fix_shebang .
        eapply_user
        eautoreconf

diff --git a/dev-util/itstool/itstool-2.0.4-r1.ebuild 
b/dev-util/itstool/itstool-2.0.5.ebuild
similarity index 85%
copy from dev-util/itstool/itstool-2.0.4-r1.ebuild
copy to dev-util/itstool/itstool-2.0.5.ebuild
index 49b85f5c..95f43f8d 100644
--- a/dev-util/itstool/itstool-2.0.4-r1.ebuild
+++ b/dev-util/itstool/itstool-2.0.5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI="7"
 
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6})
 PYTHON_REQ_USE="xml"
 
 inherit autotools python-single-r1
@@ -23,8 +23,11 @@ RDEPEND="${PYTHON_DEPS}
        dev-libs/libxml2[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}"
 
+PATCHES=(
+       "${FILESDIR}/${PN}-segfault.patch"
+)
+
 src_prepare() {
-       eapply "${FILESDIR}/${P}-segfault.patch"
        python_fix_shebang .
        eapply_user
        eautoreconf

Reply via email to