summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-03-15 21:56:35 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2016-03-15 22:01:32 +0000
commit29af3b2d676dd10f25af3d4a6a5c914d94e655ba (patch)
tree10acd78770914917803d7a41efdceb20f0f5e623 /dev-haskell
parentdev-haskell/binary: bump up to 0.7.6.1 (diff)
downloadgentoo-29af3b2d676dd10f25af3d4a6a5c914d94e655ba.tar.gz
gentoo-29af3b2d676dd10f25af3d4a6a5c914d94e655ba.tar.bz2
gentoo-29af3b2d676dd10f25af3d4a6a5c914d94e655ba.zip
dev-haskell/cabal: bump up to 1.22.8.0
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/cabal/Manifest1
-rw-r--r--dev-haskell/cabal/cabal-1.22.8.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-haskell/cabal/Manifest b/dev-haskell/cabal/Manifest
index b43cc9981e4b..2eacd77e41e6 100644
--- a/dev-haskell/cabal/Manifest
+++ b/dev-haskell/cabal/Manifest
@@ -6,3 +6,4 @@ DIST Cabal-1.18.1.5.tar.gz 706722 SHA256 2a5f14599e390e4ed6fc78ad05e16792a671bd5
DIST Cabal-1.20.0.2.tar.gz 717941 SHA256 234d2299bcf580f727cd3fa649448ff84b304d1f270e3b6836f8e2211d11bf02 SHA512 6dfe30ebe5859ccd934f76fc32bd4757d89e3bcb02a528bebaa0a63f22c0494eb4a941b2fed2e004671875586fed113860e82413bed99f70be565f4f343ac3d3 WHIRLPOOL 38ccfaded54fb86bedca33dd48742f06763b6b7dc89444dac6846102dec27fe61acefef3b1f0a3e4053751e88f79ab523e89264f070eddc999ca9810b47cce9b
DIST Cabal-1.22.4.0.tar.gz 404549 SHA256 b96a8db268e3501ded01bdb0d178fe334274e92c1497c3249a59ef5cfc55dca6 SHA512 0a25889fd5fe224868210091f429489c24e01334b2ae49444dfdfaaae6e0892a8c3262e4146fefc7f95b165d637b812abd9519394de9a7d801fda9a75a945b31 WHIRLPOOL 996fd9ac055afec29f16c1e91e38ee00193894c3ed7e183a017a2fb04ead50dabf247e2209c17c5ca66c0016fa676cead36b8b0ee884f0353d3b85e08c3a0541
DIST Cabal-1.22.6.0.tar.gz 405017 SHA256 e6a58714bd33ea107b5e99c7f149b48ddd3fbfa72e6105abbab4478bcf4f2433 SHA512 f7a4bfed3a2c10709b4e1fa6abfc612835d1874e976fa732dd0dd8af41c92dcb1ba55482fbbbffd834579cdea4625d00aa11f83fbbf5b6edfeff062b332a27bc WHIRLPOOL dc1c64e771473b42954ecd78dc58434fd3822a3612ab4279697f7abd7b5c3a8be5581473a0af6188fcdd6cf376afae6befe7894c54ed27688c4a9b190e9ea0b8
+DIST Cabal-1.22.8.0.tar.gz 405552 SHA256 2a42a2ddecb6450f87ed3a2b37af81dcc573dfde8f0db16f695c78674a80a34e SHA512 3666e8a66751ea8ae93109c1e33c2909c00c65ddcd77458c41303481e06ebd7230215e12c133cc2fca47ba352c61411ff72ca0994b6d45b5987156bce2fbcdf3 WHIRLPOOL 33b409ac997a1ef18f395a03707ee7dc7c1cfe8cf155f10d7116267e0502c733bf4a0c0b5de9a7075b364855cf3b8151af245b34cfb1f717191fb199328544f3
diff --git a/dev-haskell/cabal/cabal-1.22.8.0.ebuild b/dev-haskell/cabal/cabal-1.22.8.0.ebuild
new file mode 100644
index 000000000000..2018c4615bb5
--- /dev/null
+++ b/dev-haskell/cabal/cabal-1.22.8.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.5.9999
+
+CABAL_FEATURES="lib profile test-suite"
+CABAL_FEATURES+=" bootstrap" # does not need cabal to build itself
+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="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RESTRICT=test
+
+RDEPEND=">=dev-lang/ghc-7.8.1:="
+DEPEND="${RDEPEND}
+ test? ( dev-haskell/extensible-exceptions
+ dev-haskell/hunit
+ >=dev-haskell/quickcheck-2.1.0.1:2 <dev-haskell/quickcheck-2.9:2
+ dev-haskell/regex-posix
+ dev-haskell/test-framework
+ dev-haskell/test-framework-hunit
+ >=dev-haskell/test-framework-quickcheck2-0.2.12 )
+"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_prepare() {
+ if [[ -n ${LIVE_EBUILD} ]]; then
+ CABAL_FILE=${MY_PN}.cabal cabal_chdeps 'version: 1.17.0' "version: ${PV}"
+ fi
+}
+
+src_configure() {
+ cabal-is-dummy-lib && return
+
+ einfo "Bootstrapping Cabal..."
+ $(ghc-getghc) ${HCFLAGS} -i -i. -i"${WORKDIR}/${FP_P}" -cpp --make Setup.hs \
+ -o setup || die "compiling Setup.hs failed"
+ cabal-configure
+}
+
+src_compile() {
+ cabal-is-dummy-lib && return
+
+ cabal-build
+}