Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/mailbox-count/
Date: Sun, 02 Feb 2020 18:03:57
Message-Id: 1580666562.1a466575421518436eeca3b53692ae79046b53a1.mjo@gentoo
1 commit: 1a466575421518436eeca3b53692ae79046b53a1
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 2 17:55:59 2020 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 2 18:02:42 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a466575
7
8 net-mail/mailbox-count: new version 0.0.4.
9
10 Another attempt to fix the semigroups mess. The semigroups package is
11 supposed to offer a backwards-compatible API, but deleted their whole
12 source tree in the minor release 0.18.2. And since the build system
13 restricts package visibility to only things you've declared, we need
14 to hack together a double-conditional both in the cabal build system
15 and in the ebuild, to require old-enough semigroups with old-enough
16 ghc, or alternately just a new enough GHC.
17
18 Bug: https://bugs.gentoo.org/707836
19 Package-Manager: Portage-2.3.84, Repoman-2.3.20
20 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
21
22 net-mail/mailbox-count/Manifest | 2 +-
23 .../{mailbox-count-0.0.3.ebuild => mailbox-count-0.0.4.ebuild} | 6 ++++--
24 2 files changed, 5 insertions(+), 3 deletions(-)
25
26 diff --git a/net-mail/mailbox-count/Manifest b/net-mail/mailbox-count/Manifest
27 index 6a336c7338f..ee68504812e 100644
28 --- a/net-mail/mailbox-count/Manifest
29 +++ b/net-mail/mailbox-count/Manifest
30 @@ -1 +1 @@
31 -DIST mailbox-count-0.0.3.tar.gz 21358 BLAKE2B f56030876321251637d4d41246ccec767edbc71cbd9547a403a8fab2c4b7fbffbef74205faed5dba6e9f2047a7dd85a82301dae52106b18b19f63daf8d66c478 SHA512 24d79cd122c3c34b61f5f0234f8a6e55c04f9f7ff74d1fb589c3aa7af2e5fb2df7c02960b6cf4fd743edc006214bb788ea9059361f5614c2a47543dbbe8790b4
32 +DIST mailbox-count-0.0.4.tar.gz 21470 BLAKE2B e26653b9224250d13da907c3dcf3397728e3bba0e300e2246edc19d63daf99408a97f9ebd4745e56982772f770eebf502c26e59bc4acef442de65414db0791cc SHA512 6a5e65442ccb827d7f89fd63dbfec79d513d126d64df71104e46c713cdd87bd4635f57670feae504e84ad88d57439e314cc22fafc1cdcec8bcec8b2530c69c3d
33
34 diff --git a/net-mail/mailbox-count/mailbox-count-0.0.3.ebuild b/net-mail/mailbox-count/mailbox-count-0.0.4.ebuild
35 similarity index 88%
36 rename from net-mail/mailbox-count/mailbox-count-0.0.3.ebuild
37 rename to net-mail/mailbox-count/mailbox-count-0.0.4.ebuild
38 index 1da9929cd88..00d1fe4550c 100644
39 --- a/net-mail/mailbox-count/mailbox-count-0.0.3.ebuild
40 +++ b/net-mail/mailbox-count/mailbox-count-0.0.4.ebuild
41 @@ -22,10 +22,12 @@ RDEPEND="
42 >=dev-haskell/hdbc-postgresql-2.3
43 >=dev-haskell/hdbc-sqlite3-2.3
44 >=dev-haskell/missingh-1.2
45 - >=dev-haskell/semigroups-0.18
46 >=dev-haskell/tasty-0.8
47 >=dev-haskell/tasty-hunit-0.8
48 - >=dev-lang/ghc-7.10.1
49 + || ( >=dev-lang/ghc-8.0
50 + ( >=dev-lang/ghc-7.10.1
51 + <dev-lang/ghc-8.0
52 + <dev-haskell/semigroups-0.18.2 ) )
53 "
54 DEPEND="${RDEPEND}
55 >=dev-haskell/cabal-1.16.0