diff options
author | William Hubbs <williamh@gentoo.org> | 2014-04-24 14:27:03 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2014-04-24 14:27:03 +0000 |
commit | 1adfb3dac6ffb49b9ff75dfce8da2e9c9a87cc0d (patch) | |
tree | ee8bf50c680c18b47b25e4290731a5aaadf1baea /sys-apps/kmod | |
parent | amd64/x86 stable, remove old. (diff) | |
download | gentoo-2-1adfb3dac6ffb49b9ff75dfce8da2e9c9a87cc0d.tar.gz gentoo-2-1adfb3dac6ffb49b9ff75dfce8da2e9c9a87cc0d.tar.bz2 gentoo-2-1adfb3dac6ffb49b9ff75dfce8da2e9c9a87cc0d.zip |
Clean up python_compile function by switching to using here-string instead of echo, thanks to arfrever
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8568F528)
Diffstat (limited to 'sys-apps/kmod')
-rw-r--r-- | sys-apps/kmod/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/kmod/kmod-17.ebuild | 6 | ||||
-rw-r--r-- | sys-apps/kmod/kmod-9999.ebuild | 6 |
3 files changed, 12 insertions, 7 deletions
diff --git a/sys-apps/kmod/ChangeLog b/sys-apps/kmod/ChangeLog index f98416d5d7cf..5724324c12e6 100644 --- a/sys-apps/kmod/ChangeLog +++ b/sys-apps/kmod/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/kmod # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.146 2014/04/23 18:38:11 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.147 2014/04/24 14:27:03 williamh Exp $ + + 24 Apr 2014; William Hubbs <williamh@gentoo.org> kmod-17.ebuild, + kmod-9999.ebuild: + Clean up python_compile function by switching to using here-string instead of + echo, thanks to arfrever 23 Apr 2014; William Hubbs <williamh@gentoo.org> kmod-17.ebuild, kmod-9999.ebuild: diff --git a/sys-apps/kmod/kmod-17.ebuild b/sys-apps/kmod/kmod-17.ebuild index f228fc0d1680..efc4bef23b6a 100644 --- a/sys-apps/kmod/kmod-17.ebuild +++ b/sys-apps/kmod/kmod-17.ebuild @@ -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/sys-apps/kmod/kmod-17.ebuild,v 1.3 2014/04/23 18:38:11 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-17.ebuild,v 1.4 2014/04/24 14:27:03 williamh Exp $ EAPI=5 @@ -112,11 +112,11 @@ src_compile() { local native_builddir=${BUILD_DIR} python_compile() { - echo 'python: $(pkgpyexec_LTLIBRARIES)' | emake -C "${BUILD_DIR}" -f Makefile -f - python \ VPATH="${native_builddir}:${S}" \ native_builddir="${native_builddir}" \ - libkmod_python_kmod_{kmod,list,module,_util}_la_LIBADD='$(PYTHON_LIBS) $(native_builddir)/libkmod/libkmod.la' + libkmod_python_kmod_{kmod,list,module,_util}_la_LIBADD='$(PYTHON_LIBS) $(native_builddir)/libkmod/libkmod.la' \ + <<< 'python: $(pkgpyexec_LTLIBRARIES)' } python_foreach_impl python_compile diff --git a/sys-apps/kmod/kmod-9999.ebuild b/sys-apps/kmod/kmod-9999.ebuild index 06c14a04f9cd..b2658a6875a3 100644 --- a/sys-apps/kmod/kmod-9999.ebuild +++ b/sys-apps/kmod/kmod-9999.ebuild @@ -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/sys-apps/kmod/kmod-9999.ebuild,v 1.74 2014/04/23 18:38:11 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v 1.75 2014/04/24 14:27:03 williamh Exp $ EAPI=5 @@ -112,11 +112,11 @@ src_compile() { local native_builddir=${BUILD_DIR} python_compile() { - echo 'python: $(pkgpyexec_LTLIBRARIES)' | emake -C "${BUILD_DIR}" -f Makefile -f - python \ VPATH="${native_builddir}:${S}" \ native_builddir="${native_builddir}" \ - libkmod_python_kmod_{kmod,list,module,_util}_la_LIBADD='$(PYTHON_LIBS) $(native_builddir)/libkmod/libkmod.la' + libkmod_python_kmod_{kmod,list,module,_util}_la_LIBADD='$(PYTHON_LIBS) $(native_builddir)/libkmod/libkmod.la' \ + <<< 'python: $(pkgpyexec_LTLIBRARIES)' } python_foreach_impl python_compile |