[proaudio] [1870] Fvwm-crystal: Fixed the Python shebangs.

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 1870
Author:   dominique
Date:     2011-02-20 14:49:29 +0100 (Sun, 20 Feb 2011)
Log Message:
-----------
Fvwm-crystal: Fixed the Python shebangs. Fixed fvwm depend on USE=png.

Modified Paths:
--------------
    trunk/overlays/proaudio/x11-themes/fvwm-crystal/ChangeLog
    trunk/overlays/proaudio/x11-themes/fvwm-crystal/fvwm-crystal-9999.ebuild

Modified: trunk/overlays/proaudio/x11-themes/fvwm-crystal/ChangeLog
===================================================================
--- trunk/overlays/proaudio/x11-themes/fvwm-crystal/ChangeLog	2011-02-20 12:19:06 UTC (rev 1869)
+++ trunk/overlays/proaudio/x11-themes/fvwm-crystal/ChangeLog	2011-02-20 13:49:29 UTC (rev 1870)
@@ -4,6 +4,7 @@
 
   20 Feb 2011; Dominique Michel <dominique_libreæsourceforge.net>
   The Makefile respect DESTDIR now. Changed the ebuild accordingly.
+  Fixed the Python shebangs. Fixed fvwm depend on USE=png.
   
   23 Jun 2008; Dominique Michel <dominique.michel@xxxxxxxxxxxx> The posix bug
   is fixed into the svn, removed the warning and added info about what is needed

Modified: trunk/overlays/proaudio/x11-themes/fvwm-crystal/fvwm-crystal-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/x11-themes/fvwm-crystal/fvwm-crystal-9999.ebuild	2011-02-20 12:19:06 UTC (rev 1869)
+++ trunk/overlays/proaudio/x11-themes/fvwm-crystal/fvwm-crystal-9999.ebuild	2011-02-20 13:49:29 UTC (rev 1870)
@@ -2,10 +2,12 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/x11-themes/fvwm-crystal/fvwm-crystal-3.0.4.ebuild,v 1.6 2007/02/04 19:20:09 beandog Exp $
 
-inherit subversion eutils
+PYTHON_DEPEND="2"
 
-EAPI="1"
+inherit subversion eutils python
 
+EAPI="2"
+
 DESCRIPTION="Configurable and full featured theme for FVWM, with lots of transparency. This version add a freedesktop compatible menu"
 HOMEPAGE="http://fvwm-crystal.org/";
 SRC_URI=""
@@ -20,7 +22,7 @@
 # Should work with fvwm-2.5.13, but like portage use the correct fvwm exec name
 # only from 2.5.26 and that I am using this version to develop fvwm-crystal, it
 # is best to use 2.5.26 as dependency.
-RDEPEND=">=x11-wm/fvwm-2.5.26
+RDEPEND=">=x11-wm/fvwm-2.5.26[png]
 	media-gfx/imagemagick
 	|| ( >=x11-misc/stalonetray-0.6.2-r2 x11-misc/trayer )
 	|| ( >=x11-misc/habak-0.2.4.1 x11-misc/hsetroot )
@@ -29,10 +31,18 @@
 
 S="${WORKDIR}/${PN}"
 
+pkg_setup() {
+	python_set_active_version 2
+}
+
 src_unpack() {
 	subversion_src_unpack
 }
 
+src_prepare() {
+	python_convert_shebangs -r 2 .
+}
+
 src_compile() {
 	sed -i 's/correctpermissions correctpath/correctpermissions/' Makefile || die "sed Makefile failed"
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/