summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-01-16 17:37:03 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2016-01-16 19:42:39 +0000
commita9232561e73f8ba104edf8deb465f4e4853a3fd3 (patch)
treeff9fc971244ed9503835c70a8b7930451c9535a6 /dev-haskell/cabal
parentdev-haskell/c2hs: bump up to 0.27.1 (diff)
downloadgentoo-a9232561e73f8ba104edf8deb465f4e4853a3fd3.tar.gz
gentoo-a9232561e73f8ba104edf8deb465f4e4853a3fd3.tar.bz2
gentoo-a9232561e73f8ba104edf8deb465f4e4853a3fd3.zip
dev-haskell/cabal: bump up to 1.22.6.0
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-haskell/cabal')
-rw-r--r--dev-haskell/cabal/Manifest1
-rw-r--r--dev-haskell/cabal/cabal-1.22.6.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-haskell/cabal/Manifest b/dev-haskell/cabal/Manifest
index be4e102e86d5..b43cc9981e4b 100644
--- a/dev-haskell/cabal/Manifest
+++ b/dev-haskell/cabal/Manifest
@@ -5,3 +5,4 @@ DIST Cabal-1.18.1.3.tar.gz 705715 SHA256 25c436290dd9d05b588b6b002f0357302a9b0bf
DIST Cabal-1.18.1.5.tar.gz 706722 SHA256 2a5f14599e390e4ed6fc78ad05e16792a671bd5c5b479c6834aa1a000ff45237 SHA512 a5bb21bcb0a95f22572a1d6d4338415bf00eab9b77c2fb4775c81f7554d282fea9160646687bd903197cb5d429f0fcd28b30b577a8915ec92740a91fa13c68ef WHIRLPOOL de3dc78ba6f99107746c75cedbdefd5661dea773cff5362ec73695b1de3ed247f0e034551da5fa39e46084ed81ee6fabbba1907f199a12c4599d66db2f7fb974
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
diff --git a/dev-haskell/cabal/cabal-1.22.6.0.ebuild b/dev-haskell/cabal/cabal-1.22.6.0.ebuild
new file mode 100644
index 000000000000..2018c4615bb5
--- /dev/null
+++ b/dev-haskell/cabal/cabal-1.22.6.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
+}