diff options
Diffstat (limited to 'dev-haskell/cabal')
-rw-r--r-- | dev-haskell/cabal/Manifest | 6 | ||||
-rw-r--r-- | dev-haskell/cabal/cabal-1.14.0.ebuild | 48 | ||||
-rw-r--r-- | dev-haskell/cabal/cabal-1.16.0.3.ebuild | 54 | ||||
-rw-r--r-- | dev-haskell/cabal/cabal-1.18.1.2.ebuild | 54 | ||||
-rw-r--r-- | dev-haskell/cabal/cabal-1.18.1.3.ebuild | 59 | ||||
-rw-r--r-- | dev-haskell/cabal/cabal-1.20.0.2.ebuild | 62 | ||||
-rw-r--r-- | dev-haskell/cabal/cabal-1.22.4.0.ebuild | 61 | ||||
-rw-r--r-- | dev-haskell/cabal/metadata.xml | 8 |
8 files changed, 352 insertions, 0 deletions
diff --git a/dev-haskell/cabal/Manifest b/dev-haskell/cabal/Manifest new file mode 100644 index 000000000000..87daf144721c --- /dev/null +++ b/dev-haskell/cabal/Manifest @@ -0,0 +1,6 @@ +DIST Cabal-1.14.0.tar.gz 276517 SHA256 72540a9db8b329121b7815ef207098f4b394f76d11d154d36baf54054327abe4 SHA512 6e31f44cfafd44e1e3987ed0b116a52e12495228cb1de89e9f4ded8dbc06a0d1537bf647c4576c606d623b7d58d10367d243258b500b8c8329db6c48afd9eee3 WHIRLPOOL 22225d5923bc454e2fa24bcc9fe845b07c41c56ea67f45a0815597f0dffc4d60027117d38bdd1eccd4e61cd24d682bd8b3f4026cfaf62481712234fc9cea5321 +DIST Cabal-1.16.0.3.tar.gz 284665 SHA256 ef27629d540e46c77cabac08c008583abee4e4a04ed5a5ecb1a84725dbc39f86 SHA512 7dd365c44b5ea489fcc990e0deca8ffcfdd6b867a35b85b422fc0fe9e3c70739df393cacf425575e5e4977729ef875eb0737aaa13a0f20cfaff9d22b39027a85 WHIRLPOOL 84fbe4c41c14377685c89a93b79e03920d19e65c3c8c51a4ef590bfb8ad331e1ae85d224c1cd820e90262a579131c823510a2e62f4566d452af8e67d5cf26be2 +DIST Cabal-1.18.1.2.tar.gz 323545 SHA256 594ef792c085f00f06728dad0a02dd63450b49b5ac394484be6c6a0a484b6f5d SHA512 a91abbdb86bcb7a47e871e9b9a2cb4720b41f2cf6998416cc557460ff821e9b711cf8c346bf16c7b07c180815cb901f7b27e5cda3701f3ace554613ceb27e3c6 WHIRLPOOL cfc3872b944ce5209ebc0429e5561ba3fd5ddecf1256aa47e8d4968727bd3498a6dd23f6417161e7a570259728e6f66098d045d7d7b4c7e87f721c5b2edf0f73 +DIST Cabal-1.18.1.3.tar.gz 705715 SHA256 25c436290dd9d05b588b6b002f0357302a9b0bf8c2630b8b069c300d803335d4 SHA512 3c6f2d3be36384140007ca1146edcca5461bf0e93cde8d2b32bd9d69f74df51975bfbc91ec7cce92d9c78929f91f9e7e8b595488bc1c328dbed313a6fcd76708 WHIRLPOOL 4679e7e0f6b9f1a887f3bbc9bdd5eccfac0bed8d62fd13cb516a51b7e8d1efe2d654c78fd38207a9678152629f60ff2528080a6fb857e7a05dd349f7c3f5f417 +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 diff --git a/dev-haskell/cabal/cabal-1.14.0.ebuild b/dev-haskell/cabal/cabal-1.14.0.ebuild new file mode 100644 index 000000000000..1bdf7c3ad40f --- /dev/null +++ b/dev-haskell/cabal/cabal-1.14.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# ebuild generated by hackport 0.2.12 + +EAPI="4" + +CABAL_FEATURES="bootstrap lib profile" +inherit haskell-cabal eutils versionator + +MY_PN="Cabal" +MY_PV=$(get_version_component_range '1-3') +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" +KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="doc" + +RESTRICT="test" # avoid circular deps + +DEPEND=">=dev-lang/ghc-6.10.1 + <dev-lang/ghc-7.6.0" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +CABAL_CORE_LIB_GHC_PV="7.4.0.20111219 7.4.0.20120126 7.4.1 7.4.2" + +src_configure() { + if ! cabal-is-dummy-lib; then + einfo "Bootstrapping Cabal..." + $(ghc-getghc) -i -i. -i"${WORKDIR}/${FP_P}" -cpp --make Setup.hs \ + -o setup || die "compiling Setup.hs failed" + cabal-configure + fi +} + +src_compile() { + if ! cabal-is-dummy-lib; then + cabal-build + fi +} diff --git a/dev-haskell/cabal/cabal-1.16.0.3.ebuild b/dev-haskell/cabal/cabal-1.16.0.3.ebuild new file mode 100644 index 000000000000..5f501b9fd479 --- /dev/null +++ b/dev-haskell/cabal/cabal-1.16.0.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.3.9999 + +CABAL_FEATURES="bootstrap lib profile test-suite" +inherit haskell-cabal eutils versionator + +MY_PN="Cabal" +MY_PV=$(get_version_component_range '1-4') +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="" + +RDEPEND=">=dev-lang/ghc-6.10.4:=" +DEPEND="${RDEPEND} + test? ( dev-haskell/extensible-exceptions + dev-haskell/hunit + >=dev-haskell/quickcheck-2.1.0.1 + dev-haskell/test-framework + dev-haskell/test-framework-hunit + dev-haskell/test-framework-quickcheck2 + )" + +RESTRICT="test" # Fails own tests + +RDEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_PN}-${MY_PV}" + +src_configure() { + if ! cabal-is-dummy-lib; then + 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 + fi +} + +src_compile() { + if ! cabal-is-dummy-lib; then + cabal-build + fi +} diff --git a/dev-haskell/cabal/cabal-1.18.1.2.ebuild b/dev-haskell/cabal/cabal-1.18.1.2.ebuild new file mode 100644 index 000000000000..2bd62636efb2 --- /dev/null +++ b/dev-haskell/cabal/cabal-1.18.1.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +CABAL_FEATURES="bootstrap lib profile test-suite" +inherit haskell-cabal versionator + +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="" + +RDEPEND=">=dev-lang/ghc-6.12.1:=" +DEPEND="${RDEPEND} + test? ( dev-haskell/extensible-exceptions + dev-haskell/hunit + >=dev-haskell/quickcheck-2.1.0.1 + 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 +} diff --git a/dev-haskell/cabal/cabal-1.18.1.3.ebuild b/dev-haskell/cabal/cabal-1.18.1.3.ebuild new file mode 100644 index 000000000000..8a75cdc242e3 --- /dev/null +++ b/dev-haskell/cabal/cabal-1.18.1.3.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.3.6.9999 + +CABAL_FEATURES="lib profile test-suite" +CABAL_FEATURES+=" bootstrap" # does not beed 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="" + +RDEPEND=">=dev-lang/ghc-6.12.1:=" +DEPEND="${RDEPEND} + test? ( dev-haskell/extensible-exceptions + dev-haskell/hunit + >=dev-haskell/quickcheck-2.1.0.1 + 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}" + +CABAL_CORE_LIB_GHC_PV="7.8.2014* 7.8.0.2014* 7.8.1 7.8.2 7.8.3 7.8.3.20141119" + +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 +} diff --git a/dev-haskell/cabal/cabal-1.20.0.2.ebuild b/dev-haskell/cabal/cabal-1.20.0.2.ebuild new file mode 100644 index 000000000000..446adfcefe0c --- /dev/null +++ b/dev-haskell/cabal/cabal-1.20.0.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.9999 + +CABAL_FEATURES="lib profile test-suite" +CABAL_FEATURES+=" bootstrap" # does not beed 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="" + +RDEPEND=">=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + test? ( dev-haskell/extensible-exceptions + dev-haskell/hunit + >=dev-haskell/quickcheck-2.1.0.1:2 <dev-haskell/quickcheck-2.8: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 + + cabal_chdeps \ + 'QuickCheck < 2.7' 'QuickCheck < 2.8' \ + 'QuickCheck >= 2.1.0.1 && < 2.7' 'QuickCheck >= 2.1.0.1 && < 2.8' +} + +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 +} diff --git a/dev-haskell/cabal/cabal-1.22.4.0.ebuild b/dev-haskell/cabal/cabal-1.22.4.0.ebuild new file mode 100644 index 000000000000..f41075624c5c --- /dev/null +++ b/dev-haskell/cabal/cabal-1.22.4.0.ebuild @@ -0,0 +1,61 @@ +# 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.8: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}" + +CABAL_CORE_LIB_GHC_PV="PM:7.10.2_rc2 PM:7.10.2" + +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 +} diff --git a/dev-haskell/cabal/metadata.xml b/dev-haskell/cabal/metadata.xml new file mode 100644 index 000000000000..dde98cf80b95 --- /dev/null +++ b/dev-haskell/cabal/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>haskell</herd> + <maintainer> + <email>haskell@gentoo.org</email> + </maintainer> +</pkgmetadata> |