[Pkg-haskell-commits] [package-plan] 433/457: Work around IfElse anomaly in test-packages

Joachim Breitner nomeata at moszumanska.debian.org
Mon Apr 14 20:05:59 UTC 2014


This is an automated email from the git hooks/post-receive script.

nomeata pushed a commit to branch master
in repository package-plan.

commit a36dd06999789a205eaf555c442a78424b1c20de
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Sun Mar 9 13:44:32 2014 +0000

    Work around IfElse anomaly in test-packages
---
 test-packages.pl | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/test-packages.pl b/test-packages.pl
index a044fb7..2f3eae5 100644
--- a/test-packages.pl
+++ b/test-packages.pl
@@ -60,8 +60,10 @@ while (<AVAILABLE>) {
 	unless (m/^(.*)-([0-9\.]*)-([a-f0-9]*?)$/) {
 		print "Ignoring unparseable grep-aptavail output line $.: $_\n";
 	}
-	$available{$1} = $2;
-	$packages{$1}++;
+	my ($pkg,$version) = ($1, $2);
+	$version = 0.85 if $pkg eq "IfElse" and $version eq "0.85.0.0.1"; # anomaly
+	$available{$pkg} = $version;
+	$packages{$pkg}++;
 }
 close AVAILABLE;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/package-plan.git



More information about the Pkg-haskell-commits mailing list