[Pkg-haskell-commits] [package-plan] 02/03: Constrain ghc packages to "installed", to speed up cabal-install

Joachim Breitner nomeata at moszumanska.debian.org
Wed Sep 10 20:51: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 2757aecd34844525de4daa641b3e53d9c4dc4993
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Wed Sep 10 12:23:28 2014 +0200

    Constrain ghc packages to "installed", to speed up cabal-install
---
 test-packages.pl | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/test-packages.pl b/test-packages.pl
index ed30910..4c0ca1a 100755
--- a/test-packages.pl
+++ b/test-packages.pl
@@ -265,6 +265,13 @@ for my $group (@groups) {
 		push @params, "--constraint", sprintf "%s (== 42.23.1.2)", $pkg;
 	}
 
+	# GHC pkgs: constrain to installed unless in a specific group
+	for my $pkg (sort keys %ghcpkg) {
+		if (defined $group{$pkg} and $group{$pkg} ne $group) {
+			push @params, "--constraint", sprintf "%s installed", $pkg;
+		}
+	}
+
 	for my $pkg (sort keys %versions) {
 		next if (exists $ignored{$pkg});
 

-- 
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