commit:     e96b994c30f7ef629c831e368292c546a2302332
Author:     Diogo Pereira <sir.suriv <AT> gmail <DOT> com>
AuthorDate: Tue Mar  6 19:41:46 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar  7 20:17:27 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e96b994c

media-plugins/gimp-resynthesizer: fix dependencies

This package installs some Python scripts, so it has a runtime
dependency on media-gfx/gimp[python].

Also add a missing build-time dependency on pkgconfig.

Closes: https://bugs.gentoo.org/646156
Reported-by: Franz Fellner <alpine.art.de <AT> gmail.com>
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 ...nthesizer-2.0.3.ebuild => gimp-resynthesizer-2.0.3-r1.ebuild} | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3.ebuild 
b/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r1.ebuild
similarity index 75%
rename from media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3.ebuild
rename to media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r1.ebuild
index 1a6a43534b3..3e8b63d21d1 100644
--- a/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3.ebuild
+++ b/media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r1.ebuild
@@ -3,7 +3,9 @@
 
 EAPI=6
 
-inherit autotools
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools python-single-r1
 
 MY_PN="${PN#gimp-}"
 MY_P="${MY_PN}-${PV}"
@@ -17,8 +19,9 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPEND="media-gfx/gimp"
-RDEPEND="${DEPEND}"
+DEPEND="media-gfx/gimp
+       virtual/pkgconfig"
+RDEPEND="media-gfx/gimp[python,${PYTHON_USEDEP}]"
 
 S="${WORKDIR}/${MY_P}"
 

Reply via email to