net-mail/mailbox-count: new version 0.0.4.
authorMichael Orlitzky <mjo@gentoo.org>
Sun, 2 Feb 2020 17:55:59 +0000 (12:55 -0500)
committerMichael Orlitzky <mjo@gentoo.org>
Sun, 2 Feb 2020 18:02:42 +0000 (13:02 -0500)
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@gentoo.org>
net-mail/mailbox-count/Manifest
net-mail/mailbox-count/mailbox-count-0.0.4.ebuild [moved from net-mail/mailbox-count/mailbox-count-0.0.3.ebuild with 88% similarity]

index 6a336c7338f9d7558c7c911fce9904d630b1cc9f..ee68504812ebdf220b6d89a5c5d1f787aaf25918 100644 (file)
@@ -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
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 1da9929cd88927c89ea9104b443de82a46e2ecd2..00d1fe4550c6dd93899ea2f5a0a72356a6da987a 100644 (file)
@@ -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