idella4 14/04/23 08:37:56 Modified: configobj-5.0.4.ebuild ChangeLog Log: deal with un-needed _version.py reported by Arfrever (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Revision Changes Path 1.2 dev-python/configobj/configobj-5.0.4.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/configobj/configobj-5.0.4.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/configobj/configobj-5.0.4.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/configobj/configobj-5.0.4.ebuild?r1=1.1&r2=1.2 Index: configobj-5.0.4.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/configobj/configobj-5.0.4.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- configobj-5.0.4.ebuild 12 Apr 2014 05:06:25 -0000 1.1 +++ configobj-5.0.4.ebuild 23 Apr 2014 08:37:56 -0000 1.2 @@ -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-python/configobj/configobj-5.0.4.ebuild,v 1.1 2014/04/12 05:06:25 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/configobj/configobj-5.0.4.ebuild,v 1.2 2014/04/23 08:37:56 idella4 Exp $ EAPI=5 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} pypy pypy2_0 ) @@ -17,6 +17,14 @@ RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +python_prepare_all() { + # Not to install un-needed _version.py + sed -e "/^MODULES =/s/, '_version'//" -i setup.py + sed -e "s/^from _version import __version__$/__version__ = '${PV}'/" -i configobj.py + + distutils-r1_python_prepare_all +} + python_test() { "${PYTHON}" validate.py -v || die "Tests fail with ${EPYTHON}" } 1.50 dev-python/configobj/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/configobj/ChangeLog?rev=1.50&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/configobj/ChangeLog?rev=1.50&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/configobj/ChangeLog?r1=1.49&r2=1.50 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/configobj/ChangeLog,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- ChangeLog 12 Apr 2014 05:06:25 -0000 1.49 +++ ChangeLog 23 Apr 2014 08:37:56 -0000 1.50 @@ -1,6 +1,9 @@ # ChangeLog for dev-python/configobj # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/configobj/ChangeLog,v 1.49 2014/04/12 05:06:25 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/configobj/ChangeLog,v 1.50 2014/04/23 08:37:56 idella4 Exp $ + + 23 Apr 2014; Ian Delaney <idel...@gentoo.org> configobj-5.0.4.ebuild: + deal with un-needed _version.py reported by Arfrever *configobj-5.0.4 (12 Apr 2014)