[Pkg-haskell-commits] darcs: haskell-yesod: Make debian/tests/scaffold set up cabal just enough that it doesn't think it needs to update.

Colin Watson cjwatson at debian.org
Tue Jun 4 21:54:45 UTC 2013


Tue Jun  4 21:53:40 UTC 2013  Colin Watson <cjwatson at debian.org>
  * Make debian/tests/scaffold set up cabal just enough that it doesn't think it needs to update.
  Ignore-this: d1787dba53b8e124b56ed0de2c3257bd

    M ./changelog +2
    M ./tests/scaffold +5

Tue Jun  4 21:53:40 UTC 2013  Colin Watson <cjwatson at debian.org>
  * Make debian/tests/scaffold set up cabal just enough that it doesn't think it needs to update.
  Ignore-this: d1787dba53b8e124b56ed0de2c3257bd
diff -rN -u old-haskell-yesod//changelog new-haskell-yesod//changelog
--- old-haskell-yesod//changelog	2013-06-04 21:54:45.455041447 +0000
+++ new-haskell-yesod//changelog	2013-06-04 21:54:45.499041518 +0000
@@ -3,6 +3,8 @@
   * Drop 'set -x' from debian/tests/scaffold; autopkgtest doesn't like
     stderr output.
   * Add cabal-install to autopkgtest dependencies (closes: #711094).
+  * Make debian/tests/scaffold set up cabal just enough that it doesn't
+    think it needs to update.
 
  -- Colin Watson <cjwatson at debian.org>  Tue, 04 Jun 2013 17:04:56 +0100
 
diff -rN -u old-haskell-yesod//tests/scaffold new-haskell-yesod//tests/scaffold
--- old-haskell-yesod//tests/scaffold	2013-06-04 21:54:45.451037614 +0000
+++ new-haskell-yesod//tests/scaffold	2013-06-04 21:54:45.495040036 +0000
@@ -4,6 +4,11 @@
 
 cd $ADTTMP
 
+# Set up cabal just enough that it doesn't think it needs to update.
+export HOME="$(pwd)"
+mkdir -p .cabal/packages/hackage.haskell.org
+tar -cf .cabal/packages/hackage.haskell.org/00-index.tar -T /dev/null
+
 echo -e 'some-project\ns\n' | yesod init 
 cd some-project
 yesod test





More information about the Pkg-haskell-commits mailing list