summaryrefslogtreecommitdiff
path: root/dev-haskell/constraints
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/constraints
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/constraints')
-rw-r--r--dev-haskell/constraints/Manifest6
-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, 95 insertions, 0 deletions
diff --git a/dev-haskell/constraints/Manifest b/dev-haskell/constraints/Manifest
new file mode 100644
index 000000000000..f10452ee1f92
--- /dev/null
+++ b/dev-haskell/constraints/Manifest
@@ -0,0 +1,6 @@
+AUX constraints-0.4.1.3-ghc-8.patch 569 BLAKE2B 778f426a7fe3db9e97615fb1cfefc387bb2b89f60fdf1f410da35427c3a528bd91420cd953f405f9d2ec370d20936d13b20a6927aed899f0d708866bf5c69b67 SHA512 72d9a60d78b679d5beabf4d299a1c8aa2c7c1c260fe7c9a4337b7c3f597f3a71450af2823a148c6cffcb17bc1a68d6a5789ab2626da775d0493e179cda2877c9
+DIST constraints-0.4.1.3.tar.gz 7311 BLAKE2B 27d2265324dfbb60da85cc7016c90e1b38ef5d906a0506b35b18e4b4b06050f9ae1f30e9e621466614a1d643949ccdf23cce183b44e52dc5fcfe3acc41226cac SHA512 0478c69be6a719b83d536aef7733d7383f5400a234829f49146597f89339d3aee46455f3f5001dfc213e07c116276699bf970a657051f3dddb8ab2d9f9593836
+DIST constraints-0.8.tar.gz 12348 BLAKE2B 63ddba733601898c8e8a7712c406e34417141f1da0adc7ab6ce4d271b2356eb1ad6e9ee5ab0b77c1c7efdaf6e0ba6c5e639c6c55032cd75cd6850719323a61a6 SHA512 8cd6f16e70657f95f6d9b0824f85e5991d7da85852a1664abf8b99f95ab85456ecda09f3e59577019284358c09b198d298d01ff152acb3086121521ee302e665
+EBUILD constraints-0.4.1.3.ebuild 666 BLAKE2B 57e9eb7ad0d6ae37e2fe574285dea756e1b0ba833d8813f0304c472e3ccae05603b41879fd14164d4c7245143cf2d92332cb38239f134660b6157abd7d07b8aa SHA512 3c6af99a2f41fdf747da3943a37e25b8accc75e239af52093baf7999edb22d59bae7f6702b37919c93dddb7a8be5bd6e370007f35109974e09f325d7afbb343c
+EBUILD constraints-0.8.ebuild 942 BLAKE2B ff46dc2dc537fdae7bf215f80cecb4b206019361e254fb8d9fcb18dd3ea8a68691deb529ae37a85ad1f4ed81daeb429e28fd6c15169497a506f0a81d080fe9b4 SHA512 99050ac7ea6cfe47a7fbe283b8da129162f9f7a1978c3cda4eb21ece6267c5b93b5e48395587126305e21ab0e4fc6f1055c0d9adc918b2d12f9dae030a020cf1
+MISC metadata.xml 397 BLAKE2B 1eee1841d0991b047d107068bc8a14fe69dc3e23bed9ef860729a3b9e0b07da6c4e73e4a770482fed90e907a08791657b7a4722fc940f021fb26b4b4b2808d34 SHA512 f641ba38e2f1e81b5b5552524b77d30607c80096088b48f02b06f68e313a76dcbaffd2972957ff83f14aa4221ac7008f538a962bc9e427832f97067a89fcba9f
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>