media-plugins/gimp-resynthesizer: fix dependencies
authorDiogo Pereira <sir.suriv@gmail.com>
Tue, 6 Mar 2018 19:41:46 +0000 (19:41 +0000)
committerMichał Górny <mgorny@gentoo.org>
Wed, 7 Mar 2018 20:17:27 +0000 (21:17 +0100)
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@gmail.com>
Package-Manager: Portage-2.3.19, Repoman-2.3.6

media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3-r1.ebuild [moved from media-plugins/gimp-resynthesizer/gimp-resynthesizer-2.0.3.ebuild with 75% similarity]

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 1a6a43534b3bc654a39871e377df5108ecb3ae2d..3e8b63d21d1dc61b77099f40a4901fa085a94051 100644 (file)
@@ -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}"