grknight    15/05/04 18:59:30

  Modified:             ChangeLog php-ext-source-r2.eclass
  Log:
  Make USE_PHP a REQUIRED variable for the php-ext-source-r2 eclass

Revision  Changes    Path
1.1601               eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1600
retrieving revision 1.1601
diff -u -r1.1600 -r1.1601
--- ChangeLog   2 May 2015 20:23:56 -0000       1.1600
+++ ChangeLog   4 May 2015 18:59:30 -0000       1.1601
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1600 2015/05/02 
20:23:56 chewi Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1601 2015/05/04 
18:59:30 grknight Exp $
+
+  04 May 2015; <[email protected]> php-ext-source-r2.eclass:
+  Make USE_PHP a REQUIRED variable for the php-ext-source-r2 eclass
 
   02 May 2015; James Le Cuirot <[email protected]> java-utils-2.eclass:
   Make java-pkg_doso always install with mode 0755, which is more like



1.35                 eclass/php-ext-source-r2.eclass

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/php-ext-source-r2.eclass?rev=1.35&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/php-ext-source-r2.eclass?rev=1.35&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/php-ext-source-r2.eclass?r1=1.34&r2=1.35

Index: php-ext-source-r2.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- php-ext-source-r2.eclass    26 Mar 2015 16:15:33 -0000      1.34
+++ php-ext-source-r2.eclass    4 May 2015 18:59:30 -0000       1.35
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.34 
2015/03/26 16:15:33 grknight Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.35 
2015/05/04 18:59:30 grknight Exp $
 
 # @ECLASS: php-ext-source-r2.eclass
 # @MAINTAINER:
@@ -32,6 +32,7 @@
 esac
 
 # @ECLASS-VARIABLE: PHP_EXT_NAME
+# @REQUIRED
 # @DESCRIPTION:
 # The extension name. This must be set, otherwise the eclass dies.
 # Only automagically set by php-ext-pecl-r2.eclass, so unless your ebuild
@@ -51,10 +52,14 @@
 [[ -z "${PHP_EXT_ZENDEXT}" ]] && PHP_EXT_ZENDEXT="no"
 
 # @ECLASS-VARIABLE: USE_PHP
+# @REQUIRED
 # @DESCRIPTION:
 # Lists the PHP slots compatibile the extension is compatibile with
-[[ -z "${USE_PHP}" ]] && USE_PHP="php5-3" \
-       && eqawarn "An empty USE_PHP is deprecated and support will be removed 
on 2015-05-01"
+# Example:
+# @CODE
+# USE_PHP="php5-5 php5-6"
+# @CODE
+[[ -z "${USE_PHP}" ]] && die "USE_PHP is not set for the php-ext-source-r2 
eclass"
 
 # @ECLASS-VARIABLE: PHP_EXT_OPTIONAL_USE
 # @DESCRIPTION:




Reply via email to