From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1J2Vcl-000646-3K for garchives@archives.gentoo.org; Wed, 12 Dec 2007 17:43:59 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lBCHhq9V014128; Wed, 12 Dec 2007 17:43:52 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lBCHhpd8014123 for ; Wed, 12 Dec 2007 17:43:52 GMT Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 8FE4C655B3 for ; Wed, 12 Dec 2007 17:43:51 +0000 (UTC) Received: from zzam by stork.gentoo.org with local (Exim 4.60) (envelope-from ) id 1J2Vcc-0002KU-Jk for gentoo-commits@lists.gentoo.org; Wed, 12 Dec 2007 17:43:50 +0000 From: "Matthias Schwarzott (zzam)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, zzam@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: vdr-plugin.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: vdr-plugin.eclass X-VCS-Directories: eclass X-VCS-Committer: zzam X-VCS-Committer-Name: Matthias Schwarzott Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Message-Id: Sender: Matthias Schwarzott Date: Wed, 12 Dec 2007 17:43:50 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@gentoo.org X-Archives-Salt: 9ac6f427-2ee4-4bbe-af2e-a7ad733def87 X-Archives-Hash: 4dc6b2f8bee2d4eb392c7363ee2de8aa zzam 07/12/12 17:43:50 Modified: vdr-plugin.eclass Log: Changed code to not trigger portage read-only variable cleanup. Revision Changes Path 1.52 eclass/vdr-plugin.eclass file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/vdr-plugin.eclass?rev=1.52&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/vdr-plugin.eclass?rev=1.52&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/vdr-plugin.eclass?r1=1.51&r2=1.52 Index: vdr-plugin.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v retrieving revision 1.51 retrieving revision 1.52 diff -u -r1.51 -r1.52 --- vdr-plugin.eclass 8 Oct 2007 14:58:14 -0000 1.51 +++ vdr-plugin.eclass 12 Dec 2007 17:43:50 -0000 1.52 @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.51 2007/10/08 14:58:14 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.52 2007/12/12 17:43:50 zzam Exp $ # # Author: # Matthias Schwarzott @@ -86,12 +86,20 @@ local NEW_VDRPLUGINDB_DIR=/usr/share/vdr/vdrplugin-rebuild/ local DB_FILE="${NEW_VDRPLUGINDB_DIR}/${CATEGORY}-${PF}" insinto "${NEW_VDRPLUGINDB_DIR}" - cat <<-EOT > "${D}/${DB_FILE}" - VDRPLUGIN_DB=1 - CREATOR=ECLASS - EBUILD=${CATEGORY}/${PN} - EBUILD_V=${PVR} - EOT + +# BUG: portage-2.1.4_rc9 will delete the EBUILD= line, so we cannot use this code. +# cat <<-EOT > "${D}/${DB_FILE}" +# VDRPLUGIN_DB=1 +# CREATOR=ECLASS +# EBUILD=${CATEGORY}/${PN} +# EBUILD_V=${PVR} +# EOT + { + echo "VDRPLUGIN_DB=1" + echo "CREATOR=ECLASS" + echo "EBUILD=${CATEGORY}/${PN}" + echo "EBUILD_V=${PVR}" + } > "${D}/${DB_FILE}" } # Delete files created outside of vdr-plugin.eclass -- gentoo-commits@gentoo.org mailing list