commit:     4a0089fb027c669526756cbda2842d766b1c99de
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail 
<DOT> com>
AuthorDate: Wed Jul 27 17:05:06 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Aug  3 07:21:54 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a0089fb

dev-haskell/sha: remove unused patch

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 dev-haskell/sha/files/sha-1.6.0-no-tests.patch | 55 --------------------------
 1 file changed, 55 deletions(-)

diff --git a/dev-haskell/sha/files/sha-1.6.0-no-tests.patch 
b/dev-haskell/sha/files/sha-1.6.0-no-tests.patch
deleted file mode 100644
index 040430b..0000000
--- a/dev-haskell/sha/files/sha-1.6.0-no-tests.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-From 28704350d7b6148b2edbd5e8883c1c2dfba4f0ba Mon Sep 17 00:00:00 2001
-From: Sergei Trofimovich <sly...@gentoo.org>
-Date: Wed, 21 Nov 2012 23:44:33 +0300
-Subject: [PATCH] cabal: make depends on test libraries optional
-
-before the patch 'QuickCheck' and friends were required unconditionally:
-
-    $ runhaskell Setup.hs configure -v -ftest | grep QuickCheck
-    Dependency QuickCheck ==2.*: using QuickCheck-2.5.1.1
-    $ runhaskell Setup.hs configure -v -f-test | grep QuickCheck
-    Dependency QuickCheck ==2.*: using QuickCheck-2.5.1.1
-
-the patch fixes it by putting 'build-depends' under condition
-
-    $ runhaskell Setup.hs configure -v -f-test | grep -i quickcheck
-    $ runhaskell Setup.hs configure -v -ftest | grep -i quickcheck
-    Dependency QuickCheck ==2.*: using QuickCheck-2.5.1.1
-
-Signed-off-by: Sergei Trofimovich <sly...@gentoo.org>
----
- SHA.cabal | 11 ++++++-----
- 1 file changed, 6 insertions(+), 5 deletions(-)
-
-diff --git a/SHA.cabal b/SHA.cabal
-index a146b52..1ec2624 100644
---- a/SHA.cabal
-+++ b/SHA.cabal
-@@ -37,9 +37,12 @@ Library
-     Ghc-Options: -fregs-graph
- 
- Executable test_sha
--  build-depends: base >= 4 && < 6, bytestring, binary, array,
--                 QuickCheck == 2.*, test-framework >= 0.3,
--                 test-framework-quickcheck2 >= 0.2
-+  if flag(test)
-+      build-depends: base >= 4 && < 6, bytestring, binary, array,
-+                     QuickCheck == 2.*, test-framework >= 0.3,
-+                     test-framework-quickcheck2 >= 0.2
-+  else
-+    buildable: False
-   Main-Is: Test.hs
-   Other-Modules: Data.Digest.Pure.SHA
- 
-@@ -51,8 +54,6 @@ Executable test_sha
-   if impl(ghc >= 6.12)
-     Ghc-Options: -fregs-graph
- 
--  if !flag(test)
--    buildable: False
- 
- Executable sha1
-   build-depends: base >= 4 && < 6, bytestring, binary, array, directory
--- 
-1.8.0
-

Reply via email to