ssuominen 14/03/29 10:33:31 Modified: setconf-0.6.2.ebuild ChangeLog Log: Make use of python-single-r1.eclass and python_fix_shebang. Allow all of python3_2, python3_3 and python3_4 that are in tree. (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Revision Changes Path 1.2 dev-util/setconf/setconf-0.6.2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/setconf/setconf-0.6.2.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/setconf/setconf-0.6.2.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/setconf/setconf-0.6.2.ebuild?r1=1.1&r2=1.2 Index: setconf-0.6.2.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-util/setconf/setconf-0.6.2.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- setconf-0.6.2.ebuild 29 Mar 2014 09:24:42 -0000 1.1 +++ setconf-0.6.2.ebuild 29 Mar 2014 10:33:31 -0000 1.2 @@ -1,8 +1,10 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/setconf/setconf-0.6.2.ebuild,v 1.1 2014/03/29 09:24:42 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/setconf/setconf-0.6.2.ebuild,v 1.2 2014/03/29 10:33:31 ssuominen Exp $ EAPI=5 +PYTHON_COMPAT=( python3_{2,3,4} ) +inherit python-single-r1 DESCRIPTION="A small python based utility that can be used to change configuration files" HOMEPAGE="http://setconf.roboticoverlords.org/" @@ -13,7 +15,9 @@ KEYWORDS="~amd64 ~x86" IUSE="" -RDEPEND="=dev-lang/python-3*" +pkg_setup() { + python-single-r1_pkg_setup +} src_unpack() { unpack ${A} @@ -22,7 +26,7 @@ } src_prepare() { - sed -i -e 's:/usr/bin/python:/usr/bin/python3:' ${PN}.py || die #462326 + python_fix_shebang ${PN}.py #462326 } src_install() { 1.4 dev-util/setconf/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/setconf/ChangeLog?rev=1.4&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/setconf/ChangeLog?rev=1.4&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/setconf/ChangeLog?r1=1.3&r2=1.4 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-util/setconf/ChangeLog,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ChangeLog 29 Mar 2014 09:25:58 -0000 1.3 +++ ChangeLog 29 Mar 2014 10:33:31 -0000 1.4 @@ -1,6 +1,10 @@ # ChangeLog for dev-util/setconf # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/setconf/ChangeLog,v 1.3 2014/03/29 09:25:58 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/setconf/ChangeLog,v 1.4 2014/03/29 10:33:31 ssuominen Exp $ + + 29 Mar 2014; Samuli Suominen <[email protected]> setconf-0.6.2.ebuild: + Make use of python-single-r1.eclass and python_fix_shebang. Allow all of + python3_2, python3_3 and python3_4 that are in tree. 29 Mar 2014; Samuli Suominen <[email protected]> -setconf-0.5.3.ebuild: old
