app-text/sigil: [QA] Add missing python metadata variables
authorDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 06:59:02 +0000 (08:59 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 23 Apr 2017 11:20:26 +0000 (13:20 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

app-text/sigil/sigil-0.9.5-r2.ebuild
app-text/sigil/sigil-0.9.6.ebuild

index 95adcc9dfbef872e7a5d663ec4894f0a72e15f42..4fa21a1603102c6bf8417f5b44ae617afc737a99 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -17,8 +17,10 @@ LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="
+       ${PYTHON_DEPS}
        app-text/hunspell
        dev-libs/boost[threads]
        dev-libs/libpcre[pcre16]
@@ -49,15 +51,11 @@ DEPEND="${RDEPEND}
 
 S="${WORKDIR}"
 
-DOCS=( ChangeLog.txt README.md )
-
-src_prepare() {
+PATCHES=(
        # sigil tries to copy non-needed qt libs for deb package, safe to ignore this completely
-       eapply "${FILESDIR}/sigil-0.9.4-proper-gumbo-install.patch"
-
-       eapply_user
-       cmake-utils_src_prepare
-}
+       "${FILESDIR}"/${PN}-0.9.4-proper-gumbo-install.patch
+)
+DOCS=( ChangeLog.txt README.md )
 
 src_configure() {
        local mycmakeargs=(
index 95adcc9dfbef872e7a5d663ec4894f0a72e15f42..4fa21a1603102c6bf8417f5b44ae617afc737a99 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -17,8 +17,10 @@ LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="
+       ${PYTHON_DEPS}
        app-text/hunspell
        dev-libs/boost[threads]
        dev-libs/libpcre[pcre16]
@@ -49,15 +51,11 @@ DEPEND="${RDEPEND}
 
 S="${WORKDIR}"
 
-DOCS=( ChangeLog.txt README.md )
-
-src_prepare() {
+PATCHES=(
        # sigil tries to copy non-needed qt libs for deb package, safe to ignore this completely
-       eapply "${FILESDIR}/sigil-0.9.4-proper-gumbo-install.patch"
-
-       eapply_user
-       cmake-utils_src_prepare
-}
+       "${FILESDIR}"/${PN}-0.9.4-proper-gumbo-install.patch
+)
+DOCS=( ChangeLog.txt README.md )
 
 src_configure() {
        local mycmakeargs=(