Skip to content

Commit

Permalink
net-mail/mailbox-count: new version 0.0.3.
Browse files Browse the repository at this point in the history
This new version attempts to support both the ghc-7.10.1 and ghc-8.x
compilers. The newer GHCs require monoid instances to be semigroups,
but the semigroups package wasn't bundled with the GHC until then.
However, requiring a "redundant" semigroups package seems to not hurt,
and should theoretically fix the build with ghc-7.10.1 as well.

Bug: https://bugs.gentoo.org/707836
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Michael Orlitzky <[email protected]>
  • Loading branch information
orlitzky committed Feb 2, 2020
1 parent 59a9a77 commit accea94
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 77 deletions.
2 changes: 1 addition & 1 deletion net-mail/mailbox-count/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DIST mailbox-count-0.0.2.tar.gz 20644 BLAKE2B 036d118f9c23d42e21de06405d2703e97017f35d618a90e77561d604441092b543a8ba03b50dee5a7c2a48c2b8c0d6e87c06c2338853d9c508de7b6ea9d86006 SHA512 98e39927382719295260c64bd5888244000dbbb3fbd7f6405dcffe78a4fc5f1dea7f8236542e58eb0118bb421c19225a8be0560b92c7688c0701418c7221d569
DIST mailbox-count-0.0.3.tar.gz 21358 BLAKE2B f56030876321251637d4d41246ccec767edbc71cbd9547a403a8fab2c4b7fbffbef74205faed5dba6e9f2047a7dd85a82301dae52106b18b19f63daf8d66c478 SHA512 24d79cd122c3c34b61f5f0234f8a6e55c04f9f7ff74d1fb589c3aa7af2e5fb2df7c02960b6cf4fd743edc006214bb788ea9059361f5614c2a47543dbbe8790b4
24 changes: 0 additions & 24 deletions net-mail/mailbox-count/files/mailbox-count-0.0.2-ghc84.patch

This file was deleted.

40 changes: 0 additions & 40 deletions net-mail/mailbox-count/mailbox-count-0.0.2-r2.ebuild

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,34 +1,39 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
EAPI=7

# ebuild generated by hackport 0.4.2

CABAL_FEATURES="bin test-suite"
CABAL_FEATURES="test-suite"
inherit haskell-cabal

DESCRIPTION="Count mailboxes in a SQL database"
HOMEPAGE="http://hackage.haskell.org/package/mailbox-count"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"

LICENSE="GPL-3"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=""
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.16.0
RDEPEND="
>=dev-haskell/cmdargs-0.10
>=dev-haskell/configurator-0.2
>=dev-haskell/hdbc-2.4
>=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.6.1
test? ( >=dev-haskell/doctest-0.9
>=dev-haskell/filemanip-0.3.6 )
>=dev-lang/ghc-7.10.1
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.16.0
test? ( >=dev-haskell/doctest-0.9
>=dev-haskell/filemanip-0.3.6 )"

src_install() {
haskell-cabal_src_install
dodoc "${S}/doc/${PN}rc.example"
doman "${S}/doc/man1/${PN}.1"
}

0 comments on commit accea94

Please sign in to comment.