mgorny 14/04/09 21:15:38 Modified: ChangeLog python-r1.eclass Log: Throw explicit error if python_gen_usedep does not match any implementation rather than outputting an empty (invalid) USE-dep.
Revision Changes Path 1.1199 eclass/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1199&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1199&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1198&r2=1.1199 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v retrieving revision 1.1198 retrieving revision 1.1199 diff -u -r1.1198 -r1.1199 --- ChangeLog 8 Apr 2014 16:05:30 -0000 1.1198 +++ ChangeLog 9 Apr 2014 21:15:38 -0000 1.1199 @@ -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.1198 2014/04/08 16:05:30 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1199 2014/04/09 21:15:38 mgorny Exp $ + + 09 Apr 2014; Michał Górny <mgo...@gentoo.org> python-r1.eclass: + Throw explicit error if python_gen_usedep does not match any implementation + rather than outputting an empty (invalid) USE-dep. 08 Apr 2014; Michał Górny <mgo...@gentoo.org> python-any-r1.eclass, python-r1.eclass, python-utils-r1.eclass, tests/python-utils-r1.sh: 1.69 eclass/python-r1.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-r1.eclass?rev=1.69&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-r1.eclass?rev=1.69&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/python-r1.eclass?r1=1.68&r2=1.69 Index: python-r1.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/python-r1.eclass,v retrieving revision 1.68 retrieving revision 1.69 diff -u -r1.68 -r1.69 --- python-r1.eclass 8 Apr 2014 16:05:30 -0000 1.68 +++ python-r1.eclass 9 Apr 2014 21:15:38 -0000 1.69 @@ -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-r1.eclass,v 1.68 2014/04/08 16:05:30 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/python-r1.eclass,v 1.69 2014/04/09 21:15:38 mgorny Exp $ # @ECLASS: python-r1 # @MAINTAINER: @@ -290,6 +290,8 @@ done done + [[ ${matches[@]} ]] || die "No supported implementations match python_gen_usedep patterns: ${@}" + local out=${matches[@]} echo ${out// /,} }