summaryrefslogtreecommitdiff
path: root/dev-haskell/constraints
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/constraints')
-rw-r--r--dev-haskell/constraints/Manifest8
-rw-r--r--dev-haskell/constraints/constraints-0.4.1.3.ebuild29
-rw-r--r--dev-haskell/constraints/constraints-0.8.ebuild29
-rw-r--r--dev-haskell/constraints/files/constraints-0.4.1.3-ghc-8.patch17
-rw-r--r--dev-haskell/constraints/metadata.xml14
5 files changed, 97 insertions, 0 deletions
diff --git a/dev-haskell/constraints/Manifest b/dev-haskell/constraints/Manifest
new file mode 100644
index 000000000000..3b6780d20e58
--- /dev/null
+++ b/dev-haskell/constraints/Manifest
@@ -0,0 +1,8 @@
+AUX constraints-0.4.1.3-ghc-8.patch 569 SHA256 03d72755dfc1b75db57de5b3c03e553588dd75fa938c559329d223331a45434a SHA512 72d9a60d78b679d5beabf4d299a1c8aa2c7c1c260fe7c9a4337b7c3f597f3a71450af2823a148c6cffcb17bc1a68d6a5789ab2626da775d0493e179cda2877c9 WHIRLPOOL a18ec617ab39f4a3ec6c5e8930aecb72f3b86dfb85d3172d799c09783662edae62d2edc9e85a4a78c8b1875b6852480d387b9ec94b8154034ebeffff1e0963f6
+DIST constraints-0.4.1.3.tar.gz 7311 SHA256 dd4353b66c85980363050566a13d17ad0216f072a06f207cb8d36530ded67af0 SHA512 0478c69be6a719b83d536aef7733d7383f5400a234829f49146597f89339d3aee46455f3f5001dfc213e07c116276699bf970a657051f3dddb8ab2d9f9593836 WHIRLPOOL b780fa13817bf75ec0e7ec8e9df484a7447332b7dd61c2566ed7119256249a81757de80b1836648de00aca3e77d2a04580c35d51cc40405ad0f1a2611e13bad1
+DIST constraints-0.8.tar.gz 12348 SHA256 4cd08765345a151f21a0a4c5ef0a85661f4e53ffe807a623d5502d9ed3ae1588 SHA512 8cd6f16e70657f95f6d9b0824f85e5991d7da85852a1664abf8b99f95ab85456ecda09f3e59577019284358c09b198d298d01ff152acb3086121521ee302e665 WHIRLPOOL 2d51af561daf6f38a36b356fa2b8dd6fbf594343b4e0cccdb114c4f3d7d253547728535788d6c59c3de39e3e7175eaa84ab2b8358cbdc955b1784980503d0411
+EBUILD constraints-0.4.1.3.ebuild 666 SHA256 e7c1de19d5a9941c4120070a2d96c7e7eab7e0813d8114b0ae3ddd74f03539f9 SHA512 3c6af99a2f41fdf747da3943a37e25b8accc75e239af52093baf7999edb22d59bae7f6702b37919c93dddb7a8be5bd6e370007f35109974e09f325d7afbb343c WHIRLPOOL 11fb168bcee68b347d4c38e898cc3d0823200e071f72bcf0aeff71491962845dbe2dbb35da733164f9210e5cdaed7b3f38d8c5934c776646992fd6d8a80f0395
+EBUILD constraints-0.8.ebuild 942 SHA256 2e36d3020571b910994d879ac64b8a1aa72158d0ce15268f6c27e2a575a95242 SHA512 99050ac7ea6cfe47a7fbe283b8da129162f9f7a1978c3cda4eb21ece6267c5b93b5e48395587126305e21ab0e4fc6f1055c0d9adc918b2d12f9dae030a020cf1 WHIRLPOOL c81afb85edc634ba7e3390f7c05e3cfcdf9f090586a928fd4a65d75d89ba32a87ec4cb29c1cd1681c34d30f9917ef949b8e67012c594038d81c95ea58e0b981f
+MISC ChangeLog 2747 SHA256 86b6655f44130cc13acf5823450b3c613cccd9d21589f47b23ae599925ac38f9 SHA512 b8842ff246eccdeb78d8b5197ec60e4739b7c3d84fb19b74c3972170137f8d31aa502fe45578350af12302801e620d6e4b393009ff64f71c73d56b23f820a614 WHIRLPOOL 3f3b1da1b0f23727defa65726ad5c38ec00350b099e18c8b3b5ceea2bd63b98afc04219f9d43e6dfeca35fd49c88582bb6faaf84fb873ea1802cb5ce13db0d87
+MISC ChangeLog-2015 468 SHA256 9756c446d7033308b44037cd4dc916b965f421dc934d70369d6562b4547fe084 SHA512 9c3ed269a24237901b7c448beb7bed367e66065b4a6919767f3065dd39af0d1fd08a5bf1feb4b0c0bb256be67f9a0f2ed124fe3180085eb9c34a3097bbfbefde WHIRLPOOL 2391b863147009079e006be89802b4111d59fc3af3bb102fa21a1294915d9fc19c4425fc7332d11dfc25a070ad80b3a2f00150846a1cb3d5bdee76386f14aad1
+MISC metadata.xml 397 SHA256 a0d36b5c84dc8849ccc8498b324e08b1f1ebced6ab358af0c86c69209bc6bd61 SHA512 f641ba38e2f1e81b5b5552524b77d30607c80096088b48f02b06f68e313a76dcbaffd2972957ff83f14aa4221ac7008f538a962bc9e427832f97067a89fcba9f WHIRLPOOL 9e7bb4e58d7e1ee3f12d0ed5cfd90158cb60ff1f72572bb8f870565583bd0e05f013cfc1be8ae0ea726725daf1c51b6ff117fbd009dfb5ff982013ba39be7864
diff --git a/dev-haskell/constraints/constraints-0.4.1.3.ebuild b/dev-haskell/constraints/constraints-0.4.1.3.ebuild
new file mode 100644
index 000000000000..19bdfc6fab51
--- /dev/null
+++ b/dev-haskell/constraints/constraints-0.4.1.3.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Constraint manipulation"
+HOMEPAGE="https://github.com/ekmett/constraints/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/newtype-0.2:=[profile?] <dev-haskell/newtype-0.3:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-ghc-8.patch
+}
diff --git a/dev-haskell/constraints/constraints-0.8.ebuild b/dev-haskell/constraints/constraints-0.8.ebuild
new file mode 100644
index 000000000000..4d9b084f91dd
--- /dev/null
+++ b/dev-haskell/constraints/constraints-0.8.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.7.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Constraint manipulation"
+HOMEPAGE="https://github.com/ekmett/constraints/"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/binary-0.7.3:=[profile?] <dev-haskell/binary-0.9:=[profile?]
+ >=dev-haskell/hashable-1.2:=[profile?] <dev-haskell/hashable-1.3:=[profile?]
+ >=dev-haskell/mtl-2:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
+ >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.6:=[profile?]
+ >=dev-haskell/transformers-compat-0.4:=[profile?] <dev-haskell/transformers-compat-1:=[profile?]
+ >=dev-lang/ghc-7.8.2:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.18.1.3
+"
diff --git a/dev-haskell/constraints/files/constraints-0.4.1.3-ghc-8.patch b/dev-haskell/constraints/files/constraints-0.4.1.3-ghc-8.patch
new file mode 100644
index 000000000000..1b2f8169c45d
--- /dev/null
+++ b/dev-haskell/constraints/files/constraints-0.4.1.3-ghc-8.patch
@@ -0,0 +1,17 @@
+diff --git a/Data/Constraint.hs b/Data/Constraint.hs
+index 84d67c0..a104f51 100644
+--- a/Data/Constraint.hs
++++ b/Data/Constraint.hs
+@@ -79,3 +79,7 @@ import Data.Data
+ #endif
++#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 707
++import GHC.Exts (Constraint)
++#else
+ import GHC.Prim (Constraint)
++#endif
+
+@@ -375,3 +379,3 @@ instance Class () (b :=> a) where cls = Sub Dict
+ instance Class b a => () :=> Class b a where ins = Sub Dict
+-instance (b :=> a) => () :=> b :=> a where ins = Sub Dict
++instance (b :=> a) => () :=> (b :=> a) where ins = Sub Dict
+
diff --git a/dev-haskell/constraints/metadata.xml b/dev-haskell/constraints/metadata.xml
new file mode 100644
index 000000000000..4b4bd0c95bf6
--- /dev/null
+++ b/dev-haskell/constraints/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <longdescription>
+ Constraint manipulation
+ </longdescription>
+ <upstream>
+ <remote-id type="github">ekmett/constraints</remote-id>
+ </upstream>
+</pkgmetadata>