From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4ACD31381F3 for ; Thu, 25 Jul 2013 16:39:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C42AE0A6B; Thu, 25 Jul 2013 16:39:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C6FE8E0A6B for ; Thu, 25 Jul 2013 16:39:34 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D02BA33E9CA for ; Thu, 25 Jul 2013 16:39:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 2AF96E5458 for ; Thu, 25 Jul 2013 16:39:32 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1374770152.e8b6f1a35286f79d6d78ac8989583a300922266c.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/ebuild/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/ebuild/evars.py X-VCS-Directories: roverlay/ebuild/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: e8b6f1a35286f79d6d78ac8989583a300922266c X-VCS-Branch: master Date: Thu, 25 Jul 2013 16:39:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e1cac307-23c1-4150-982f-cec814e7ede8 X-Archives-Hash: b553228c5f72b25e4b9823757b10e6d9 commit: e8b6f1a35286f79d6d78ac8989583a300922266c Author: André Erdmann mailerd de> AuthorDate: Thu Jul 25 16:35:52 2013 +0000 Commit: André Erdmann mailerd de> CommitDate: Thu Jul 25 16:35:52 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=e8b6f1a3 roverlay/ebuild: print empty value for (R)DEPEND Print *DEPEND variables even if empty (but requested by ebuild creation). This results in printing an "empty" RDEPEND=${DEPEND-} variable (as it used to be prior to introducing the DependencyVariable class). --- roverlay/ebuild/evars.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roverlay/ebuild/evars.py b/roverlay/ebuild/evars.py index 2b0e4ce..6ec6a2e 100644 --- a/roverlay/ebuild/evars.py +++ b/roverlay/ebuild/evars.py @@ -55,6 +55,8 @@ class DependencyVariable ( roverlay.ebuild.abstractcomponents.EbuildVar ): param_expansion = True, #ignore **kw ) + if empty_value is not None: + self.print_empty_var = True # --- end of __init__ (...) --- # --- end of DependencyVariable ---