From 3fa93e2da6bf628798396460b3030543851d54cb Mon Sep 17 00:00:00 2001 From: Jack Todaro Date: Wed, 29 Jul 2020 10:42:15 +1000 Subject: [PATCH] dev-haskell/cabal: bump up to 3.0.1.0 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jack Todaro Signed-off-by: Sergei Trofimovich --- dev-haskell/cabal/Manifest | 1 + dev-haskell/cabal/cabal-3.0.1.0.ebuild | 45 ++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 dev-haskell/cabal/cabal-3.0.1.0.ebuild diff --git a/dev-haskell/cabal/Manifest b/dev-haskell/cabal/Manifest index d75f72fe0870b..f0f69a3661089 100644 --- a/dev-haskell/cabal/Manifest +++ b/dev-haskell/cabal/Manifest @@ -6,3 +6,4 @@ DIST Cabal-1.22.8.0.tar.gz 405552 BLAKE2B 9484ba4b485f6119a7b9e27565ac26ea403b40 DIST Cabal-1.24.2.0.tar.gz 441440 BLAKE2B b4ce800ab35c0771b9da1947b459bae7cf6236724b6073bff3eb51732b08b71f65596f9f3fb7a09eacea4a1ee88d9bd6350298919f095fb2479770f98539faf5 SHA512 707015930d6bd463290c59ef043a5acea79f22d43920ac249d2391c0b8960a10261a83c8aa1a326b6e95311edb048c9edbdc211dc1b79aee86884061af6c8b36 DIST Cabal-2.0.0.2.tar.gz 1551128 BLAKE2B bc053a31ddd966577b1c4d5b80bd778fe0b5aadef08d3eee1f8613ab2dd9bc3a0371ad1687033a4489bfced3b46926b0cbdea20d53ada4ed1ab615c7e080de39 SHA512 0eac73132dbee80cce8bf6ce95d531526c983e90dde3348edf6ee583e7fe352393dc6806eb7f35cd38729d979dd418267f1884ec49b4c9e7d858d9b17dff900f DIST Cabal-2.4.0.1.tar.gz 4801392 BLAKE2B 489096b7297e217866006f02e7ef41fe362d6495f81ebbb3b3149341bf9ff18d93d102fe836259471ed9ec1c6c591f5564f81a623a7e4106b9e8a4388646d73f SHA512 4b2a1187e1ec011052ab77ef4bc700608eaab3e921554dd9d75bfca058c487a5651ab6cfe2734ee6cc9687d504a008b4912db182166f0f2f52d23fc08230e48c +DIST Cabal-3.0.1.0.tar.gz 758808 BLAKE2B 9a0cf7b055be4d6fa55c4dd44037263df54eff059cd22970383ffa1470317cdaeac8d81a521f8c48cf595fc22e64da031d508f6d2b58f32a613160b3e0cfcd67 SHA512 29a5ae9bad0398ab86c64cba9fb1ae3094d67013151a91c8c25b0e95b08d8fd683d1e85b064f7faf166966f855b261d2f131b727c82476a8514119a8922a6b06 diff --git a/dev-haskell/cabal/cabal-3.0.1.0.ebuild b/dev-haskell/cabal/cabal-3.0.1.0.ebuild new file mode 100644 index 0000000000000..88d667c8f6742 --- /dev/null +++ b/dev-haskell/cabal/cabal-3.0.1.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# ebuild generated by hackport 0.6.9999 +#hackport: flags: -parsec-struct-diff + +CABAL_FEATURES="lib profile" # Drop test-suite: circular depend +CABAL_FEATURES+=" nocabaldep" # in case installed Cabal is broken +inherit haskell-cabal + +MY_PN="Cabal" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A framework for packaging Haskell software" +HOMEPAGE="http://www.haskell.org/cabal/" +SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +# keep in sync with ghc-8.8 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RESTRICT=test # circular deps: cabal -> quickcheck -> cabal + +RDEPEND=">=dev-haskell/fail-4.9:=[profile?] =dev-haskell/mtl-2.1:=[profile?] =dev-haskell/parsec-3.1.13.0:=[profile?] =dev-haskell/semigroups-0.18.3:=[profile?] =dev-haskell/text-1.2.3.0:=[profile?] =dev-lang/ghc-7.8.2:= +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" +PATCHES=("${FILESDIR}"/${PN}-2.0.0.2-no-bootstrap.patch) + +CABAL_CORE_LIB_GHC_PV="PM:8.8.2 PM:8.8.3 PM:8.8.4" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-parsec-struct-diff +}