floppym     14/10/18 22:36:17

  Modified:             ChangeLog python-utils-r1.eclass
  Log:
  Improve error messaging when python_export is called without a defined python 
implementation.

Revision  Changes    Path
1.1388               eclass/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1388&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1388&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1387&r2=1.1388

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1387
retrieving revision 1.1388
diff -u -r1.1387 -r1.1388
--- ChangeLog   17 Oct 2014 21:07:08 -0000      1.1387
+++ ChangeLog   18 Oct 2014 22:36:17 -0000      1.1388
@@ -1,6 +1,10 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1387 2014/10/17 
21:07:08 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1388 2014/10/18 
22:36:17 floppym Exp $
+
+  18 Oct 2014; Mike Gilbert <flop...@gentoo.org> python-utils-r1.eclass:
+  Improve error messaging when python_export is called without a defined python
+  implementation.
 
   17 Oct 2014; Ian Stakenvicius (_AxS_) <a...@gentoo.org>
   mozconfig-v5.33.eclass:



1.62                 eclass/python-utils-r1.eclass

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-utils-r1.eclass?rev=1.62&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-utils-r1.eclass?rev=1.62&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-utils-r1.eclass?r1=1.61&r2=1.62

Index: python-utils-r1.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/python-utils-r1.eclass,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- python-utils-r1.eclass      4 Sep 2014 14:52:58 -0000       1.61
+++ python-utils-r1.eclass      18 Oct 2014 22:36:17 -0000      1.62
@@ -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/eclass/python-utils-r1.eclass,v 1.61 
2014/09/04 14:52:58 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-utils-r1.eclass,v 1.62 
2014/10/18 22:36:17 floppym Exp $
 
 # @ECLASS: python-utils-r1
 # @MAINTAINER:
@@ -241,7 +241,9 @@
                        ;;
                *)
                        impl=${EPYTHON}
-                       [[ ${impl} ]] || die "python_export: no impl nor 
EPYTHON"
+                       if [[ -z ${impl} ]]; then
+                               die "python_export called without a python 
implementation and EPYTHON is unset"
+                       fi
                        ;;
        esac
        debug-print "${FUNCNAME}: implementation: ${impl}"




Reply via email to