We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.

diff media-gfx/trimage/trimage-1.0.5.ebuild @ 153:60f110d900e4

Trimage: updating dependencies to oldest available versions still in Portage, fixing restriction to Python 2.7, fixing dependeny to PyQt4.QtCore module
author Daniel Neugebauer <dneuge@energiequant.de>
date Thu, 05 May 2016 16:38:59 +0200
parents 8b8b7ef28927
children 9b9f918d8795
line wrap: on
line diff
--- a/media-gfx/trimage/trimage-1.0.5.ebuild	Thu May 05 13:55:37 2016 +0200
+++ b/media-gfx/trimage/trimage-1.0.5.ebuild	Thu May 05 16:38:59 2016 +0200
@@ -2,11 +2,11 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
-PYTHON_COMPAT=( python{ 2_6, 2_7 } )
-
+PYTHON_COMPAT=( python2_7 )
 
 inherit git-2
-inherit distutils
+inherit distutils-r1
+inherit python-r1
 
 DESCRIPTION="GUI for PNG and JPEG optimization via optipng, pngcrush, advpng and jpegoptim"
 HOMEPAGE="http://trimage.org/"
@@ -33,7 +33,7 @@
 #
 DEPEND="
 	>=dev-python/PyQt4-4.4
-	<dev-python/PyQt4-4.11
+	<dev-python/PyQt4-4.12
 	
 	>=media-gfx/optipng-0.6.2.1
 	<media-gfx/optipng-0.8
@@ -44,5 +44,11 @@
 	~app-arch/advancecomp-1.15[png]
 	
 	>=media-gfx/jpegoptim-1.2.2
-	<media-gfx/jpegoptim-1.3
+	<media-gfx/jpegoptim-1.4
 "
+
+# PyQt4 needs to be emerged with X to build PyQt4.QtCore
+RDEPEND="
+	${DEPEND}
+	dev-python/PyQt4[X]
+"