commit:     1a466575421518436eeca3b53692ae79046b53a1
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  2 17:55:59 2020 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Feb  2 18:02:42 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a466575

net-mail/mailbox-count: new version 0.0.4.

Another attempt to fix the semigroups mess. The semigroups package is
supposed to offer a backwards-compatible API, but deleted their whole
source tree in the minor release 0.18.2. And since the build system
restricts package visibility to only things you've declared, we need
to hack together a double-conditional both in the cabal build system
and in the ebuild, to require old-enough semigroups with old-enough
ghc, or alternately just a new enough GHC.

Bug: https://bugs.gentoo.org/707836
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 net-mail/mailbox-count/Manifest                                     | 2 +-
 .../{mailbox-count-0.0.3.ebuild => mailbox-count-0.0.4.ebuild}      | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/net-mail/mailbox-count/Manifest b/net-mail/mailbox-count/Manifest
index 6a336c7338f..ee68504812e 100644
--- a/net-mail/mailbox-count/Manifest
+++ b/net-mail/mailbox-count/Manifest
@@ -1 +1 @@
-DIST mailbox-count-0.0.3.tar.gz 21358 BLAKE2B 
f56030876321251637d4d41246ccec767edbc71cbd9547a403a8fab2c4b7fbffbef74205faed5dba6e9f2047a7dd85a82301dae52106b18b19f63daf8d66c478
 SHA512 
24d79cd122c3c34b61f5f0234f8a6e55c04f9f7ff74d1fb589c3aa7af2e5fb2df7c02960b6cf4fd743edc006214bb788ea9059361f5614c2a47543dbbe8790b4
+DIST mailbox-count-0.0.4.tar.gz 21470 BLAKE2B 
e26653b9224250d13da907c3dcf3397728e3bba0e300e2246edc19d63daf99408a97f9ebd4745e56982772f770eebf502c26e59bc4acef442de65414db0791cc
 SHA512 
6a5e65442ccb827d7f89fd63dbfec79d513d126d64df71104e46c713cdd87bd4635f57670feae504e84ad88d57439e314cc22fafc1cdcec8bcec8b2530c69c3d

diff --git a/net-mail/mailbox-count/mailbox-count-0.0.3.ebuild 
b/net-mail/mailbox-count/mailbox-count-0.0.4.ebuild
similarity index 88%
rename from net-mail/mailbox-count/mailbox-count-0.0.3.ebuild
rename to net-mail/mailbox-count/mailbox-count-0.0.4.ebuild
index 1da9929cd88..00d1fe4550c 100644
--- a/net-mail/mailbox-count/mailbox-count-0.0.3.ebuild
+++ b/net-mail/mailbox-count/mailbox-count-0.0.4.ebuild
@@ -22,10 +22,12 @@ RDEPEND="
        >=dev-haskell/hdbc-postgresql-2.3
        >=dev-haskell/hdbc-sqlite3-2.3
        >=dev-haskell/missingh-1.2
-       >=dev-haskell/semigroups-0.18
        >=dev-haskell/tasty-0.8
        >=dev-haskell/tasty-hunit-0.8
-       >=dev-lang/ghc-7.10.1
+       || ( >=dev-lang/ghc-8.0
+                ( >=dev-lang/ghc-7.10.1
+                  <dev-lang/ghc-8.0
+                  <dev-haskell/semigroups-0.18.2 ) )
 "
 DEPEND="${RDEPEND}
        >=dev-haskell/cabal-1.16.0

Reply via email to