summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-haskell/cabal-install
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-haskell/cabal-install')
-rw-r--r--dev-haskell/cabal-install/Manifest4
-rw-r--r--dev-haskell/cabal-install/cabal-install-1.18.0.2.ebuild54
-rw-r--r--dev-haskell/cabal-install/cabal-install-1.18.0.3-r1.ebuild54
-rw-r--r--dev-haskell/cabal-install/cabal-install-1.18.0.3.ebuild54
-rw-r--r--dev-haskell/cabal-install/cabal-install-1.20.0.3-r2.ebuild60
-rw-r--r--dev-haskell/cabal-install/cabal-install-1.22.6.0.ebuild67
-rw-r--r--dev-haskell/cabal-install/files/cabal-install-0.13.3-nopref.patch20
-rw-r--r--dev-haskell/cabal-install/metadata.xml14
8 files changed, 327 insertions, 0 deletions
diff --git a/dev-haskell/cabal-install/Manifest b/dev-haskell/cabal-install/Manifest
new file mode 100644
index 000000000000..0f3c95704b89
--- /dev/null
+++ b/dev-haskell/cabal-install/Manifest
@@ -0,0 +1,4 @@
+DIST cabal-install-1.18.0.2.tar.gz 253711 SHA256 4ca4064abc042d8ab2e872e8629e334501572568d19e95f466e31a44eef7092a SHA512 680ae8ee03d3c95caa4dfc724b11b9148d03f03addee02b83a10d9a6cb8b75719463598c9a4c461a30f9114daa6c1ec34c90dc22c5db6a851152f743dad3cde8 WHIRLPOOL 5de2a029d24e97a970cad38c9b7ad68abd0282f8d12a5c0963f8f491e5eccfe7792c183036ea03de6a42264c88d206849ac7161b4d2e7cecb2720a679019d461
+DIST cabal-install-1.18.0.3.tar.gz 254044 SHA256 81b85757944b6ee0dd30396bf5851d123894caa57979310d44943b72cdaf0140 SHA512 54c3f9970135447689360b8c185ad5e618461e2fb9dc9089f420f26ccc73d92da927dc8cf32300dd736492bf78e650d92d715b4bf17aeca736499756bc84124c WHIRLPOOL 0c7637b1bde2c3cd68b59ecb9bd2d5c51fa05f4b0d5fa43a4b8931202bb12380e020706bd44a0349dffb718a9b249e1eba493a397c539187feb4623fa304e094
+DIST cabal-install-1.20.0.3.tar.gz 274779 SHA256 d2bd56f3bcae92b7b97325be5216f94544fbcb30e10e24b40bccc149584b0b14 SHA512 a272c7eb1c87a933b30697afa7bf78f95fb0afa203e791448d5e96d5c62105533347b8b777af7a7e6db5703654c319045e089d46d2263a09ed5ada10144ce12f WHIRLPOOL da95f8a386c751c8c83ffa965422ab8fcf047693300f6d7ed39ec046354c8b00753fd3f0936b56eb5a6e854e5176ad2e20282e2bbcc0745f5ef4d462e59f4d0d
+DIST cabal-install-1.22.6.0.tar.gz 302564 SHA256 9d239e385696a7faa49f068aea451882baec6a7df26fbddbd08271c9053cb0b4 SHA512 155227a0bc29f8d6c9ec9846f1dbd956234853b1301fa15ab81aaee654abba8bfbd19cbb608008427b1272bff7aa397830011855b85d0a13deb9ebd1485cab14 WHIRLPOOL ca1bac034fcd502c45aab36218847a1a1b36dd47caf854e5b619e61ae3d67b65cbeeca5f4e46f856095f7131dbe2c1a908de4ee127f8c6a2c4e1806c40a05a1f
diff --git a/dev-haskell/cabal-install/cabal-install-1.18.0.2.ebuild b/dev-haskell/cabal-install/cabal-install-1.18.0.2.ebuild
new file mode 100644
index 000000000000..94db14eb6a1c
--- /dev/null
+++ b/dev-haskell/cabal-install/cabal-install-1.18.0.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
+
+# ebuild generated by hackport 0.3.3.9999
+
+CABAL_FEATURES="bin test-suite"
+inherit bash-completion-r1 eutils haskell-cabal
+
+DESCRIPTION="The command-line interface for Cabal and Hackage"
+HOMEPAGE="http://www.haskell.org/cabal/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+noprefs"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.18.0 <dev-haskell/cabal-1.19
+ >=dev-haskell/http-4000.0.8 <dev-haskell/http-4001
+ >=dev-haskell/mtl-2.0 <dev-haskell/mtl-3
+ >=dev-haskell/network-1 <dev-haskell/network-3
+ >=dev-haskell/random-1 <dev-haskell/random-1.1
+ >=dev-haskell/stm-2.0 <dev-haskell/stm-3
+ >=dev-haskell/zlib-0.5.3 <dev-haskell/zlib-0.6
+ >=dev-lang/ghc-6.12.1
+ test? ( dev-haskell/hunit
+ >=dev-haskell/quickcheck-2.5
+ dev-haskell/test-framework
+ dev-haskell/test-framework-hunit
+ >=dev-haskell/test-framework-quickcheck2-0.3 )
+"
+
+src_prepare() {
+ if use noprefs; then
+ epatch "${FILESDIR}/${PN}"-0.13.3-nopref.patch
+ fi
+
+ # no chance to link to -threaded on ppc64, alpha and others
+ # who use UNREG, not only ARM
+ if ! ghc-supports-threaded-runtime; then
+ cabal_chdeps '-threaded' ' '
+ fi
+}
+
+src_install() {
+ haskell-cabal_src_install
+
+ newbashcomp "${S}/bash-completion/cabal" ${PN}
+}
diff --git a/dev-haskell/cabal-install/cabal-install-1.18.0.3-r1.ebuild b/dev-haskell/cabal-install/cabal-install-1.18.0.3-r1.ebuild
new file mode 100644
index 000000000000..f70bf9ebc35f
--- /dev/null
+++ b/dev-haskell/cabal-install/cabal-install-1.18.0.3-r1.ebuild
@@ -0,0 +1,54 @@
+# 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="bin test-suite"
+inherit bash-completion-r1 eutils haskell-cabal
+
+DESCRIPTION="The command-line interface for Cabal and Hackage"
+HOMEPAGE="http://www.haskell.org/cabal/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
+IUSE="+noprefs"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.18.0 <dev-haskell/cabal-1.19
+ >=dev-haskell/http-4000.0.8 <dev-haskell/http-4001
+ >=dev-haskell/mtl-2.0 <dev-haskell/mtl-3
+ >=dev-haskell/network-1 <dev-haskell/network-3
+ >=dev-haskell/random-1 <dev-haskell/random-1.1
+ >=dev-haskell/stm-2.0 <dev-haskell/stm-3
+ >=dev-haskell/zlib-0.5.3 <dev-haskell/zlib-0.6
+ >=dev-lang/ghc-6.12.1
+ test? ( dev-haskell/hunit
+ >=dev-haskell/quickcheck-2.5
+ dev-haskell/test-framework
+ dev-haskell/test-framework-hunit
+ >=dev-haskell/test-framework-quickcheck2-0.3 )
+"
+
+src_prepare() {
+ if use noprefs; then
+ epatch "${FILESDIR}/${PN}"-0.13.3-nopref.patch
+ fi
+
+ # no chance to link to -threaded on ppc64, alpha and others
+ # who use UNREG, not only ARM
+ if ! ghc-supports-threaded-runtime; then
+ cabal_chdeps '-threaded' ' '
+ fi
+}
+
+src_install() {
+ haskell-cabal_src_install
+
+ dobashcomp "${S}/bash-completion/cabal"
+}
diff --git a/dev-haskell/cabal-install/cabal-install-1.18.0.3.ebuild b/dev-haskell/cabal-install/cabal-install-1.18.0.3.ebuild
new file mode 100644
index 000000000000..32898b178d22
--- /dev/null
+++ b/dev-haskell/cabal-install/cabal-install-1.18.0.3.ebuild
@@ -0,0 +1,54 @@
+# 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="bin test-suite"
+inherit bash-completion-r1 eutils haskell-cabal
+
+DESCRIPTION="The command-line interface for Cabal and Hackage"
+HOMEPAGE="http://www.haskell.org/cabal/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+noprefs"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.18.0 <dev-haskell/cabal-1.19
+ >=dev-haskell/http-4000.0.8 <dev-haskell/http-4001
+ >=dev-haskell/mtl-2.0 <dev-haskell/mtl-3
+ >=dev-haskell/network-1 <dev-haskell/network-3
+ >=dev-haskell/random-1 <dev-haskell/random-1.1
+ >=dev-haskell/stm-2.0 <dev-haskell/stm-3
+ >=dev-haskell/zlib-0.5.3 <dev-haskell/zlib-0.6
+ >=dev-lang/ghc-6.12.1
+ test? ( dev-haskell/hunit
+ >=dev-haskell/quickcheck-2.5
+ dev-haskell/test-framework
+ dev-haskell/test-framework-hunit
+ >=dev-haskell/test-framework-quickcheck2-0.3 )
+"
+
+src_prepare() {
+ if use noprefs; then
+ epatch "${FILESDIR}/${PN}"-0.13.3-nopref.patch
+ fi
+
+ # no chance to link to -threaded on ppc64, alpha and others
+ # who use UNREG, not only ARM
+ if ! ghc-supports-threaded-runtime; then
+ cabal_chdeps '-threaded' ' '
+ fi
+}
+
+src_install() {
+ haskell-cabal_src_install
+
+ dobashcomp "${S}/bash-completion/cabal"
+}
diff --git a/dev-haskell/cabal-install/cabal-install-1.20.0.3-r2.ebuild b/dev-haskell/cabal-install/cabal-install-1.20.0.3-r2.ebuild
new file mode 100644
index 000000000000..c10b900a3e82
--- /dev/null
+++ b/dev-haskell/cabal-install/cabal-install-1.20.0.3-r2.ebuild
@@ -0,0 +1,60 @@
+# 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="bin test-suite"
+inherit bash-completion-r1 eutils haskell-cabal
+
+DESCRIPTION="The command-line interface for Cabal and Hackage"
+HOMEPAGE="http://www.haskell.org/cabal/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+noprefs"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.20.0 <dev-haskell/cabal-1.21
+ >=dev-haskell/http-4000.2.5 <dev-haskell/http-4000.3
+ >=dev-haskell/mtl-2.0 <dev-haskell/mtl-3
+ >=dev-haskell/network-2.0 <dev-haskell/network-2.7
+ dev-haskell/network-uri
+ >=dev-haskell/random-1 <dev-haskell/random-1.2
+ >=dev-haskell/stm-2.0 <dev-haskell/stm-3
+ >=dev-haskell/zlib-0.5.3 <dev-haskell/zlib-0.6
+ >=dev-lang/ghc-7.4.1
+ test? ( dev-haskell/hunit
+ >=dev-haskell/quickcheck-2.5
+ dev-haskell/test-framework
+ dev-haskell/test-framework-hunit
+ >=dev-haskell/test-framework-quickcheck2-0.3 )
+"
+
+src_prepare() {
+ if use noprefs; then
+ epatch "${FILESDIR}/${PN}"-0.13.3-nopref.patch
+ fi
+
+ # no chance to link to -threaded on ppc64, alpha and others
+ # who use UNREG, not only ARM
+ if ! ghc-supports-threaded-runtime; then
+ cabal_chdeps '-threaded' ' '
+ fi
+
+ cabal_chdeps \
+ 'network >= 2.0 && < 2.6' 'network >= 2.0 && < 2.7, network-uri' \
+ 'network,' 'network,network-uri,' \
+ 'random >= 1 && < 1.1' 'random >= 1 && < 1.2'
+}
+
+src_install() {
+ haskell-cabal_src_install
+
+ dobashcomp "${S}/bash-completion/cabal"
+}
diff --git a/dev-haskell/cabal-install/cabal-install-1.22.6.0.ebuild b/dev-haskell/cabal-install/cabal-install-1.22.6.0.ebuild
new file mode 100644
index 000000000000..e6ac1c94885b
--- /dev/null
+++ b/dev-haskell/cabal-install/cabal-install-1.22.6.0.ebuild
@@ -0,0 +1,67 @@
+# 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="bin test-suite"
+inherit bash-completion-r1 eutils haskell-cabal
+
+DESCRIPTION="The command-line interface for Cabal and Hackage"
+HOMEPAGE="http://www.haskell.org/cabal/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+network-uri +noprefs"
+
+RESTRICT=test # missing files
+
+RDEPEND=">=dev-haskell/cabal-1.22.2:= <dev-haskell/cabal-1.23:=
+ >=dev-haskell/http-4000.2.5:= <dev-haskell/http-4000.3:=
+ >=dev-haskell/mtl-2.0:= <dev-haskell/mtl-3:=
+ >=dev-haskell/old-time-1:= <dev-haskell/old-time-1.2:=
+ >=dev-haskell/random-1:= <dev-haskell/random-1.2:=
+ >=dev-haskell/stm-2.0:= <dev-haskell/stm-3:=
+ >=dev-haskell/zlib-0.5.3:= <dev-haskell/zlib-0.6:=
+ >=dev-lang/ghc-7.4.1:=
+ network-uri? ( >=dev-haskell/network-2.6:=
+ >=dev-haskell/network-uri-2.6:= )
+ !network-uri? ( >=dev-haskell/network-2.4:= <dev-haskell/network-2.6:= )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+ test? ( dev-haskell/extensible-exceptions
+ dev-haskell/hunit
+ >=dev-haskell/quickcheck-2.5
+ dev-haskell/regex-posix
+ dev-haskell/test-framework
+ dev-haskell/test-framework-hunit
+ >=dev-haskell/test-framework-quickcheck2-0.3
+ !network-uri? ( <dev-haskell/network-uri-2.6 ) )
+"
+
+src_prepare() {
+ if use noprefs; then
+ epatch "${FILESDIR}/${PN}"-0.13.3-nopref.patch
+ fi
+
+ # no chance to link to -threaded on ppc64, alpha and others
+ # who use UNREG, not only ARM
+ if ! ghc-supports-threaded-runtime; then
+ cabal_chdeps '-threaded' ' '
+ fi
+
+ cabal_chdeps \
+ 'QuickCheck >= 2.1.0.1 && < 2.8' 'QuickCheck >= 2.1.0.1'
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag network-uri network-uri)
+
+ dobashcomp "${S}/bash-completion/cabal"
+}
diff --git a/dev-haskell/cabal-install/files/cabal-install-0.13.3-nopref.patch b/dev-haskell/cabal-install/files/cabal-install-0.13.3-nopref.patch
new file mode 100644
index 000000000000..c36582680a56
--- /dev/null
+++ b/dev-haskell/cabal-install/files/cabal-install-0.13.3-nopref.patch
@@ -0,0 +1,20 @@
+diff --git a/Distribution/Client/IndexUtils.hs b/Distribution/Client/IndexUtils.hs
+index 48d8d49..3a38ee1 100644
+--- a/Distribution/Client/IndexUtils.hs
++++ b/Distribution/Client/IndexUtils.hs
+@@ -312,10 +312,15 @@ extractPkg entry = case Tar.entryContent entry of
+
+ extractPrefs :: Tar.Entry -> Maybe [Dependency]
+ extractPrefs entry = case Tar.entryContent entry of
++{-
++ -- get rid of hackage's preferred-versions
++ -- I'd like to have bleeding-edge packages in system and I don't fear of
++ -- broken packages with improper depends
+ Tar.NormalFile content _
+ | takeFileName (Tar.entryPath entry) == "preferred-versions"
+ -> Just . parsePreferredVersions
+ . BS.Char8.unpack $ content
++-}
+ _ -> Nothing
+
+ parsePreferredVersions :: String -> [Dependency]
diff --git a/dev-haskell/cabal-install/metadata.xml b/dev-haskell/cabal-install/metadata.xml
new file mode 100644
index 000000000000..2054a0dec50f
--- /dev/null
+++ b/dev-haskell/cabal-install/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <longdescription>
+ The 'cabal' command-line program simplifies the process of managing
+ Haskell software by automating the fetching, configuration, compilation
+ and installation of Haskell libraries and programs.
+ </longdescription>
+ <use>
+ <flag name="noprefs">Ignore 'preferred-versions' file from hackage's tarball.</flag>
+ <flag name='network-uri'>Get Network.URI from the network-uri package.</flag>
+ </use>
+</pkgmetadata>