summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/stack/Manifest1
-rw-r--r--dev-haskell/stack/metadata.xml16
-rw-r--r--dev-haskell/stack/stack-2.3.3.ebuild114
3 files changed, 128 insertions, 3 deletions
diff --git a/dev-haskell/stack/Manifest b/dev-haskell/stack/Manifest
index 0800360bb477..0ae4b4fe57c3 100644
--- a/dev-haskell/stack/Manifest
+++ b/dev-haskell/stack/Manifest
@@ -1 +1,2 @@
DIST stack-2.3.1.tar.gz 570880 BLAKE2B 7bb2304f61ea58b0d76340a3f8a2b252b904a65ea709e5b0d376c79878a67e8e5e7456e6361143d1d687502b00bd0fdc12fdf98fbfd085b452174d2701c16b99 SHA512 b5bab09697d2be10445500911ff0b038adc0e9e27baa2b015de9dd3c7d18dbac8d813c20451ac660c43d3ed2c2f587b4dfffd759653ce9c23b159a936e345aa5
+DIST stack-2.3.3.tar.gz 572406 BLAKE2B 4b88614ede72ea3704e3bfad433a7931860c1c098bb65aeabca46d3abc5364ea132b8a7f0f559f1b07463d4b753b5501081841fa388a5d817389d91371214236 SHA512 cb93e3bcb8f92e01f374806f07f366ca318d66e3b7bd3cfa3fe3b72dce954d2bb371f51e3f79fca8aec19d1d3adef370bb09237bf29340a1bc851a9a103d77a3
diff --git a/dev-haskell/stack/metadata.xml b/dev-haskell/stack/metadata.xml
index d702142876ff..530923816ff9 100644
--- a/dev-haskell/stack/metadata.xml
+++ b/dev-haskell/stack/metadata.xml
@@ -5,10 +5,20 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
+ <use>
+ <flag name="developer-mode">By default, should extra developer information be output?</flag>
+ </use>
<longdescription>
- Please see the README.md for usage information, and
- the wiki on Github for more details. Also, note that
- the API for the library is not currently stable, and may
+ Please see the documentation at &lt;https://docs.haskellstack.org&gt;
+ for usage information.
+
+ If building a &#39;stack&#39; executable for distribution, please download the
+ source code from &lt;https://github.com/commercialhaskell/stack/releases&gt;
+ and build it using Stack itself in order to ensure identical behaviour
+ to official binaries. This package on Hackage is provided for convenience
+ and bootstrapping purposes.
+
+ Note that the API for the library is not currently stable, and may
change significantly, even between minor releases. It is
currently only intended for use by the executable.
</longdescription>
diff --git a/dev-haskell/stack/stack-2.3.3.ebuild b/dev-haskell/stack/stack-2.3.3.ebuild
new file mode 100644
index 000000000000..3b0a49f834fc
--- /dev/null
+++ b/dev-haskell/stack/stack-2.3.3.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.6.9999
+#hackport: flags: -disable-git-info,-hide-dependency-versions,-integration-tests,-static,-supported-build
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="The Haskell Tool Stack"
+HOMEPAGE="https://haskellstack.org"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="developer-mode"
+
+RESTRICT=test # requires network access
+
+RDEPEND=">=dev-haskell/aeson-1.4.6.0:=[profile?]
+ >=dev-haskell/annotated-wl-pprint-0.7.0:=[profile?]
+ >=dev-haskell/ansi-terminal-0.9.1:=[profile?]
+ >=dev-haskell/async-2.2.2:=[profile?]
+ >=dev-haskell/attoparsec-0.13.2.3:=[profile?]
+ >=dev-haskell/base64-bytestring-1.0.0.3:=[profile?]
+ >=dev-haskell/cabal-3.0.0.0:=[profile?]
+ >=dev-haskell/casa-client-0.0.1:=[profile?]
+ >=dev-haskell/casa-types-0.0.1:=[profile?]
+ >=dev-haskell/colour-2.3.5:=[profile?]
+ >=dev-haskell/conduit-1.3.1.2:=[profile?]
+ >=dev-haskell/conduit-extra-1.3.4:=[profile?]
+ >=dev-haskell/cryptonite-0.25:=[profile?]
+ >=dev-haskell/cryptonite-conduit-0.2.2:=[profile?]
+ >=dev-haskell/echo-0.1.3:=[profile?]
+ >=dev-haskell/exceptions-0.10.4:=[profile?]
+ >=dev-haskell/extra-1.6.19:=[profile?]
+ >=dev-haskell/file-embed-0.0.11.1:=[profile?]
+ >=dev-haskell/filelock-0.1.1.5:=[profile?]
+ >=dev-haskell/fsnotify-0.3.0.1:=[profile?]
+ >=dev-haskell/generic-deriving-1.12.4:=[profile?]
+ >=dev-haskell/githash-0.1.3.3:=[profile?]
+ >=dev-haskell/hackage-security-0.5.3.0:=[profile?]
+ >=dev-haskell/hashable-1.2.7.0:=[profile?]
+ >=dev-haskell/hi-file-parser-0.1.0.0:=[profile?]
+ >=dev-haskell/hpack-0.33.0:=[profile?]
+ >=dev-haskell/http-client-0.6.4:=[profile?]
+ >=dev-haskell/http-client-tls-0.3.5.3:=[profile?]
+ >=dev-haskell/http-conduit-2.3.7.3:=[profile?]
+ >=dev-haskell/http-download-0.2.0.0:=[profile?]
+ >=dev-haskell/http-types-0.12.3:=[profile?]
+ >=dev-haskell/memory-0.14.18:=[profile?]
+ >=dev-haskell/microlens-0.4.10:=[profile?]
+ >=dev-haskell/mintty-0.1.2:=[profile?]
+ >=dev-haskell/mono-traversable-1.0.15.1:=[profile?]
+ >=dev-haskell/mtl-2.2.2:=[profile?]
+ >=dev-haskell/mustache-2.3.1:=[profile?]
+ >=dev-haskell/neat-interpolation-0.3.2.6:=[profile?]
+ >=dev-haskell/network-uri-2.6.2.0:=[profile?]
+ >=dev-haskell/open-browser-0.2.1.0:=[profile?]
+ >=dev-haskell/optparse-applicative-0.14.3.0:=[profile?]
+ >=dev-haskell/optparse-simple-0.1.1.2:=[profile?]
+ >=dev-haskell/pantry-0.4:=[profile?] <dev-haskell/pantry-0.5:=[profile?]
+ >=dev-haskell/path-0.6.1:=[profile?]
+ >=dev-haskell/path-io-1.4.2:=[profile?]
+ >=dev-haskell/persistent-2.9.2:=[profile?]
+ >=dev-haskell/persistent-sqlite-2.9.3:=[profile?]
+ >=dev-haskell/persistent-template-2.6.0:=[profile?]
+ >=dev-haskell/primitive-0.6.4.0:=[profile?]
+ >=dev-haskell/project-template-0.2.0.1:=[profile?]
+ >=dev-haskell/regex-applicative-text-0.1.0.1:=[profile?]
+ >=dev-haskell/retry-0.8.1.0:=[profile?]
+ >=dev-haskell/rio-0.1.14.0:=[profile?]
+ >=dev-haskell/rio-prettyprint-0.1.0.0:=[profile?]
+ >=dev-haskell/semigroups-0.18.5:=[profile?]
+ >=dev-haskell/split-0.2.3.3:=[profile?]
+ >=dev-haskell/stm-2.5.0.0:=[profile?]
+ >=dev-haskell/streaming-commons-0.2.1.2:=[profile?]
+ >=dev-haskell/tar-0.5.1.1:=[profile?]
+ >=dev-haskell/temporary-1.3:=[profile?]
+ >=dev-haskell/text-1.2.3.1:=[profile?]
+ >=dev-haskell/text-metrics-0.3.0:=[profile?]
+ >=dev-haskell/th-reify-many-0.1.9:=[profile?]
+ >=dev-haskell/tls-1.4.1:=[profile?]
+ >=dev-haskell/typed-process-0.2.6.0:=[profile?]
+ >=dev-haskell/unicode-transforms-0.3.6:=[profile?]
+ >=dev-haskell/unix-compat-0.5.2:=[profile?]
+ >=dev-haskell/unliftio-0.2.12:=[profile?]
+ >=dev-haskell/unordered-containers-0.2.10.0:=[profile?]
+ >=dev-haskell/vector-0.12.1.2:=[profile?]
+ >=dev-haskell/yaml-0.11.2.0:=[profile?]
+ >=dev-haskell/zip-archive-0.4.1:=[profile?]
+ >=dev-haskell/zlib-0.6.2.1:=[profile?]
+ >=dev-lang/ghc-8.6.5:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-2.4.0.1
+ test? ( >=dev-haskell/hspec-2.7.1
+ >=dev-haskell/quickcheck-2.13.2
+ >=dev-haskell/raw-strings-qq-1.1
+ >=dev-haskell/smallcheck-1.1.5 )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag developer-mode developer-mode) \
+ --flag=-disable-git-info \
+ --flag=-hide-dependency-versions \
+ --flag=-integration-tests \
+ --flag=-static \
+ --flag=-supported-build
+}