tamiko      14/12/20 10:34:32

  Modified:             libmateweather-1.8.0.ebuild ChangeLog
  Log:
  fix compilation for -python -python_target_*, bug #523860
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
BD3A97A3)

Revision  Changes    Path
1.5                  dev-libs/libmateweather/libmateweather-1.8.0.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libmateweather/libmateweather-1.8.0.ebuild?rev=1.5&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libmateweather/libmateweather-1.8.0.ebuild?rev=1.5&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libmateweather/libmateweather-1.8.0.ebuild?r1=1.4&r2=1.5

Index: libmateweather-1.8.0.ebuild
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/dev-libs/libmateweather/libmateweather-1.8.0.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- libmateweather-1.8.0.ebuild 2 Jul 2014 09:45:45 -0000       1.4
+++ libmateweather-1.8.0.ebuild 20 Dec 2014 10:34:32 -0000      1.5
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: 
/var/cvsroot/gentoo-x86/dev-libs/libmateweather/libmateweather-1.8.0.ebuild,v 
1.4 2014/07/02 09:45:45 pacho Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/dev-libs/libmateweather/libmateweather-1.8.0.ebuild,v 
1.5 2014/12/20 10:34:32 tamiko Exp $
 
 EAPI="5"
 
@@ -44,28 +44,36 @@
        sys-devel/gettext:*
        virtual/pkgconfig:*"
 
+my_command() {
+       if use python ; then
+               python_foreach_impl run_in_build_dir $@
+       else
+               $@
+       fi
+}
+
 src_prepare() {
        # Fix undefined use of MKDIR_P in python/Makefile.am.
        epatch "${FILESDIR}"/${PN}-1.6.1-fix-mkdirp.patch
        eautoreconf
 
-       python_copy_sources
-       python_foreach_impl run_in_build_dir gnome2_src_prepare
+       use python && python_copy_sources
+       my_command gnome2_src_prepare
 }
 
 src_configure() {
-       python_foreach_impl run_in_build_dir gnome2_src_configure \
+       my_command gnome2_src_configure \
                --enable-locations-compression \
                --disable-all-translations-in-one-xml \
                $(use_enable python)
 }
 
 src_compile() {
-       python_foreach_impl run_in_build_dir gnome2_src_compile
+       my_command gnome2_src_compile
 }
 
 DOCS="AUTHORS ChangeLog NEWS"
 
 src_install() {
-       python_foreach_impl run_in_build_dir gnome2_src_install
+       my_command gnome2_src_install
 }



1.10                 dev-libs/libmateweather/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libmateweather/ChangeLog?rev=1.10&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libmateweather/ChangeLog?rev=1.10&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libmateweather/ChangeLog?r1=1.9&r2=1.10

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libmateweather/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog   2 Jul 2014 09:45:45 -0000       1.9
+++ ChangeLog   20 Dec 2014 10:34:32 -0000      1.10
@@ -1,6 +1,9 @@
 # ChangeLog for dev-libs/libmateweather
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmateweather/ChangeLog,v 1.9 
2014/07/02 09:45:45 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmateweather/ChangeLog,v 1.10 
2014/12/20 10:34:32 tamiko Exp $
+
+  20 Dec 2014; Matthias Maier <[email protected]> libmateweather-1.8.0.ebuild:
+  fix compilation for -python -python_target_*, bug #523860
 
   02 Jul 2014; Pacho Ramos <[email protected]> libmateweather-1.8.0.ebuild:
   x86 stable, bug 513714




Reply via email to