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/syb
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/syb')
-rw-r--r--dev-haskell/syb/Manifest9
-rw-r--r--dev-haskell/syb/files/syb-0.3.2-ghc-7.2.patch13
-rw-r--r--dev-haskell/syb/files/syb-0.4.3-ghc-7.10.patch152
-rw-r--r--dev-haskell/syb/metadata.xml12
-rw-r--r--dev-haskell/syb/syb-0.3.2.ebuild27
-rw-r--r--dev-haskell/syb/syb-0.3.6.1.ebuild21
-rw-r--r--dev-haskell/syb/syb-0.3.6.ebuild23
-rw-r--r--dev-haskell/syb/syb-0.3.7.ebuild21
-rw-r--r--dev-haskell/syb/syb-0.4.0.ebuild26
-rw-r--r--dev-haskell/syb/syb-0.4.1.ebuild35
-rw-r--r--dev-haskell/syb/syb-0.4.2.ebuild27
-rw-r--r--dev-haskell/syb/syb-0.4.3.ebuild29
-rw-r--r--dev-haskell/syb/syb-0.4.4.ebuild29
13 files changed, 424 insertions, 0 deletions
diff --git a/dev-haskell/syb/Manifest b/dev-haskell/syb/Manifest
new file mode 100644
index 000000000000..ada7727bbcdb
--- /dev/null
+++ b/dev-haskell/syb/Manifest
@@ -0,0 +1,9 @@
+DIST syb-0.3.2.tar.gz 38397 SHA256 6dbf7deeaf08919478f6b65714c60ded0f78cf0126fd957957e8d9b53fe5fb6b SHA512 4d412054b371202a518840fa2c47752727c6058b7be81fc07e1c2dd6bb8ca79fb8171ba6415740e19a5b5e45c3e2eb04d5b0165a36a97e3aac88e9458d63448f WHIRLPOOL c36dcb9865104b764c90453ba9ecc6b71720093940d54819d97d9dd7f7642f5fe9c9557b87da259318ae9961bffd015564b1a7a170c4540d591d58a8bd9e6eae
+DIST syb-0.3.6.1.tar.gz 38422 SHA256 646cfc8feaa2625bbac94675ee51256de69ebfcf35d760cbfa39aaeda132dff7 SHA512 514dcda360f8efd62321fd75544e60447adcd043f7527dd34772f452694d72c88afa72ef7b756cdb7860d6b1fe9887c8d62b5179edc70900eb6d1f6be792e0d5 WHIRLPOOL 18cd6c2fb0006e11df9885beb24538e21f7df9a1291600268500f89e866a5262d87ac5106d1732831b0b92ccc794f9c2726331e52ece173b87cebe7e5b13ca1e
+DIST syb-0.3.6.tar.gz 38402 SHA256 4568009068efbd6e1670b7ce54f7bafe62e172f2a19f057fa2c905fe082c0bce SHA512 346a786aba6ca531981dff3dd5fbf76721bbbb3a515fc4667b9328f65e5985e8011a6d68399f7700be0a051ebb2871de0d789dc07d0417fc8b6d8bf009d4e8f1 WHIRLPOOL 2317e154178a9d153a2889db93109e1ec9986b90b3905e54d87bacbf4701482df3ba54453f885dfde9682da101e32a3dbf48ad316b4c22bda8bd0112d3b4da67
+DIST syb-0.3.7.tar.gz 39091 SHA256 59f4058a8182a472c0e0e35f8aca836470a5785d3dcd01e3d44bb188c850da73 SHA512 ede12bc5db250430932c65f764388d356d687059158aa94b2da7b9618b4cc610e5f945a691b86fd9dce6e9761eb1ef4207abdf9b2aa3a4c3ac01d57fb18818ff WHIRLPOOL e2cd0015fbe7ddcc8035a563271a91600225caa17ac4fb14fc0c9125f424c130fe5714c17b7de8e6aa1c9b98b4892070be8c5ffc218c4a948ed0e3017f693f0b
+DIST syb-0.4.0.tar.gz 71729 SHA256 f201089aa7e74b6cbca7fc73a259596b2a9628e31a9b54e801844ad68447bff3 SHA512 72e4672bf2aaa68ff9ac32060bd342a0d0e0261313089d7b7a487a65bbff5c2dc15a7a2560b2cfc6618bda5cfc810af7f50ec800d393ee46101ebf5e7911a260 WHIRLPOOL 35423bdabfe0581e64c47d990a2bda3bf94f59048679e2eb826debc54cb2ec48609190a8c5a7f31add7198288ecbcff6bf274bfd58b2604f61d49f4fe2445eff
+DIST syb-0.4.1.tar.gz 38699 SHA256 aa32cb3d9a0cbcfb24ac1c5d567886e8908dd017fd009ffd446bff86732670d2 SHA512 86a0a9af0a63f8cee32ef7b6d7a3ed06993c5adfffc5bf1a81a0ac0824245963162ee22b747fa7a15774a5edf0f1c21564e6c0f221d67a24d58f5faa615bd37f WHIRLPOOL e94a3f9ac84274324743ff4e922c214a5eec7ce5224987b34c308605d1dd1460ecedb207618b865d084ba63342a277a5c8c8d66623e9128fbf24a40428e823cc
+DIST syb-0.4.2.tar.gz 38388 SHA256 142d71c9c655f9cd43d9e17f28232b95bccd1f36b1a77b39113732b69ee07ebf SHA512 3386f0913b0d5cfa43eddc0feec013302ccca45cff707bff1cd2951c95f1106a7e810cdf13a407889073a905d65852563a7b1bcc7fcf263d97db876fc2659e9f WHIRLPOOL 21869372bed9bbcfc0f67393484a22c5d31ee9f86ee8042067db6dfbc6971b10c22ac6fdc2d63ee504fe66dc14dc37b8ec21eafd8a75739167999d6b78ec7cd9
+DIST syb-0.4.3.tar.gz 38860 SHA256 749ff49197c75d3d182f9d5e6043c0ec2325476b7792245630f6578edf490e35 SHA512 d351eb020dba7c257904b81504cacc233b33864bcc54aad48267db313755243206a2dc4a89d473062d5ca4eff09dd57f0610e99f944717a8e3bbd724775fd6b3 WHIRLPOOL 31b64688fd65930331ec7adf7c6e01be063b4adffa48bf6abe41aaed0716ba71629880e7260b12a223e9c9198b558f8a8d8eb34db70f7951c043812400108056
+DIST syb-0.4.4.tar.gz 39215 SHA256 0610677803931a3355aae00fdd13145f80e26d7dee08e1ba5bc9b2edea4c4c87 SHA512 fc916ec2ad4c76c7aa979f2b5040df5088b0a75b1e33e3b2325e2212b59d22db5773fe0803beb1b8b2e0a0a292f5620bcb23201dce8b790b8f4fa2252bd64a33 WHIRLPOOL 62c66bb6a5fb44c62f6f1975edeafb099b1d394e0eb292d6e1fc879f85d70e896435c699196d0cb42b06f62f8269c12ef8498f27cb021c607e15e9927bc3c899
diff --git a/dev-haskell/syb/files/syb-0.3.2-ghc-7.2.patch b/dev-haskell/syb/files/syb-0.3.2-ghc-7.2.patch
new file mode 100644
index 000000000000..07678304309a
--- /dev/null
+++ b/dev-haskell/syb/files/syb-0.3.2-ghc-7.2.patch
@@ -0,0 +1,13 @@
+diff --git a/syb.cabal b/syb.cabal
+index cc3aaa8..1f3a313 100644
+--- a/syb.cabal
++++ b/syb.cabal
+@@ -26,7 +26,7 @@ extra-source-files: tests/*.hs,
+
+ Library {
+ hs-source-dirs: src
+- build-depends: base >= 4.0 && < 4.4
++ build-depends: base >= 4.0 && < 4.5
+ exposed-modules: Data.Generics,
+ Data.Generics.Basics,
+ Data.Generics.Instances,
diff --git a/dev-haskell/syb/files/syb-0.4.3-ghc-7.10.patch b/dev-haskell/syb/files/syb-0.4.3-ghc-7.10.patch
new file mode 100644
index 000000000000..2773bdc5a631
--- /dev/null
+++ b/dev-haskell/syb/files/syb-0.4.3-ghc-7.10.patch
@@ -0,0 +1,152 @@
+--- syb-0.4.3-orig/tests/XML.hs 2014-12-31 19:40:41.000000000 +1100
++++ syb-0.4.3/tests/XML.hs 2015-01-02 12:47:10.082782760 +1100
+@@ -13,6 +13,7 @@
+
+ import Test.HUnit
+
++import Control.Applicative (Alternative(..), Applicative(..))
+ import Control.Monad
+ import Data.Maybe
+ import Data.Generics
+@@ -157,6 +158,17 @@
+ else Just (tail x, head x)
+ )
+
++instance Functor ReadX where
++ fmap = liftM
++
++instance Applicative ReadX where
++ pure = return
++ (<*>) = ap
++
++instance Alternative ReadX where
++ (<|>) = mplus
++ empty = mzero
++
+ -- ReadX is a monad!
+ instance Monad ReadX where
+ return x = ReadX (\y -> Just (y,x))
+--- syb-0.4.3-orig/tests/Perm.hs 2014-12-31 19:40:41.000000000 +1100
++++ syb-0.4.3/tests/Perm.hs 2015-01-02 12:47:02.751422866 +1100
+@@ -11,6 +11,7 @@
+
+ import Test.HUnit
+
++import Control.Applicative (Alternative(..), Applicative(..))
+ import Control.Monad
+ import Data.Generics
+
+@@ -44,6 +45,17 @@
+ else Just (tail x, head x)
+ )
+
++instance Functor ReadT where
++ fmap = liftM
++
++instance Applicative ReadT where
++ pure = return
++ (<*>) = ap
++
++instance Alternative ReadT where
++ (<|>) = mplus
++ empty = mzero
++
+ -- ReadT is a monad!
+ instance Monad ReadT where
+ return x = ReadT (\y -> Just (y,x))
+--- syb-0.4.3-orig/tests/Bits.hs 2014-12-31 19:40:41.000000000 +1100
++++ syb-0.4.3/tests/Bits.hs 2015-01-02 12:46:37.842839944 +1100
+@@ -39,6 +39,7 @@
+ import Data.Generics
+ import Data.Char
+ import Data.Maybe
++import Control.Applicative (Alternative(..), Applicative(..))
+ import Control.Monad
+ import CompanyDatatypes
+
+@@ -129,6 +130,16 @@
+ data ReadB a = ReadB (Bin -> (Maybe a, Bin))
+ unReadB (ReadB f) = f
+
++instance Functor ReadB where
++ fmap = liftM
++
++instance Applicative ReadB where
++ pure = return
++ (<*>) = ap
++
++instance Alternative ReadB where
++ (<|>) = mplus
++ empty = mzero
+
+ -- It's a monad.
+ instance Monad ReadB where
+--- syb-0.4.3-orig/tests/Encode.hs 2014-12-31 19:40:41.000000000 +1100
++++ syb-0.4.3/tests/Encode.hs 2015-01-02 12:51:48.500949407 +1100
+@@ -6,6 +6,8 @@
+
+ module Encode () where
+
++import Control.Applicative (Applicative(..))
++import Control.Monad (ap, liftM)
+ import Data.Generics
+
+ data Bit = Zero | One
+@@ -62,6 +64,11 @@
+ -- Sec. 3.3 cont'd
+
+ data EncM a -- The encoder monad
++instance Functor EncM where
++ fmap = liftM
++instance Applicative EncM where
++ pure = return
++ (<*>) = ap
+ instance Monad EncM
+ where
+ return = undefined
+--- syb-0.4.3-orig/tests/GRead2.hs 2014-12-31 19:40:41.000000000 +1100
++++ syb-0.4.3/tests/GRead2.hs 2015-01-02 12:51:27.524567019 +1100
+@@ -10,6 +10,8 @@
+
+ -}
+
++import Control.Applicative (Applicative(..))
++import Control.Monad (ap, liftM)
+ import Data.Generics
+
+ gread :: Data a => String -> Maybe a
+@@ -18,6 +20,13 @@
+ -- The decoder monad
+ newtype DecM a = D (String -> Maybe (String, a))
+
++instance Functor DecM where
++ fmap = liftM
++
++instance Applicative DecM where
++ pure = return
++ (<*>) = ap
++
+ instance Monad DecM where
+ return a = D (\s -> Just (s,a))
+ (D m) >>= k = D (\s ->
+--- syb-0.4.3-orig/tests/Ext1.hs 2014-12-31 19:40:41.000000000 +1100
++++ syb-0.4.3/tests/Ext1.hs 2015-01-02 10:30:39.396517984 +1100
+@@ -1,4 +1,5 @@
+ {-# OPTIONS -fglasgow-exts #-}
++{-# LANGUAGE CPP #-}
+
+ module Ext1 (tests) where
+
+@@ -11,8 +12,11 @@
+ import Test.HUnit
+
+ import Data.Generics
++#if MIN_VERSION_base(4,8,0)
++import GHC.Base hiding(foldr)
++#else
+ import GHC.Base
+-
++#endif
+
+ -- Unsafe coerce
+ unsafeCoerce :: a -> b
diff --git a/dev-haskell/syb/metadata.xml b/dev-haskell/syb/metadata.xml
new file mode 100644
index 000000000000..4e8ae96747d6
--- /dev/null
+++ b/dev-haskell/syb/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <longdescription>
+ This package contains the generics system described in the
+ "Scrap Your Boilerplate" papers (see http://www.cs.uu.nl/wiki/GenericProgramming/SYB).
+ It defines the 'Data' class of types permitting folding and unfolding
+ of constructor applications, instances of this class for primitive
+ types, and a variety of traversals.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/syb/syb-0.3.2.ebuild b/dev-haskell/syb/syb-0.3.2.ebuild
new file mode 100644
index 000000000000..49ff5e3fa057
--- /dev/null
+++ b/dev-haskell/syb/syb-0.3.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# ebuild generated by hackport 0.2.13
+
+EAPI="3"
+
+# PDEPEND of ghc, so restrict depgraph
+CABAL_FEATURES="lib profile nocabaldep"
+inherit base haskell-cabal
+
+DESCRIPTION="Scrap Your Boilerplate"
+HOMEPAGE="http://www.cs.uu.nl/wiki/GenericProgramming/SYB"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-6.10.1"
+DEPEND="${RDEPEND}"
+
+PATCHES=("${FILESDIR}/${PN}-0.3.2-ghc-7.2.patch")
+
+RESTRICT="test" # FIXME: casespace damaged in upstream
diff --git a/dev-haskell/syb/syb-0.3.6.1.ebuild b/dev-haskell/syb/syb-0.3.6.1.ebuild
new file mode 100644
index 000000000000..9f9777fac2ae
--- /dev/null
+++ b/dev-haskell/syb/syb-0.3.6.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+# PDEPEND of ghc, so restrict depgraph
+CABAL_FEATURES="lib profile haddock hoogle hscolour nocabaldep"
+inherit haskell-cabal
+
+DESCRIPTION="Scrap Your Boilerplate"
+HOMEPAGE="http://www.cs.uu.nl/wiki/GenericProgramming/SYB"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-6.10.1"
+DEPEND="${RDEPEND}"
diff --git a/dev-haskell/syb/syb-0.3.6.ebuild b/dev-haskell/syb/syb-0.3.6.ebuild
new file mode 100644
index 000000000000..4cb3d89c6085
--- /dev/null
+++ b/dev-haskell/syb/syb-0.3.6.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# ebuild generated by hackport 0.2.13
+
+EAPI="3"
+
+# PDEPEND of ghc, so restrict depgraph
+CABAL_FEATURES="lib profile nocabaldep"
+inherit base haskell-cabal
+
+DESCRIPTION="Scrap Your Boilerplate"
+HOMEPAGE="http://www.cs.uu.nl/wiki/GenericProgramming/SYB"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="test"
+
+RDEPEND=">=dev-lang/ghc-6.10.1"
+DEPEND="${RDEPEND}"
diff --git a/dev-haskell/syb/syb-0.3.7.ebuild b/dev-haskell/syb/syb-0.3.7.ebuild
new file mode 100644
index 000000000000..b5fca0915c30
--- /dev/null
+++ b/dev-haskell/syb/syb-0.3.7.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+# PDEPEND of ghc, so restrict depgraph
+CABAL_FEATURES="lib profile haddock hoogle hscolour nocabaldep"
+inherit haskell-cabal
+
+DESCRIPTION="Scrap Your Boilerplate"
+HOMEPAGE="http://www.cs.uu.nl/wiki/GenericProgramming/SYB"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-6.10.1"
+DEPEND="${RDEPEND}"
diff --git a/dev-haskell/syb/syb-0.4.0.ebuild b/dev-haskell/syb/syb-0.4.0.ebuild
new file mode 100644
index 000000000000..bbb05999920f
--- /dev/null
+++ b/dev-haskell/syb/syb-0.4.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Scrap Your Boilerplate"
+HOMEPAGE="http://www.cs.uu.nl/wiki/GenericProgramming/SYB"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( dev-haskell/hunit
+ dev-haskell/mtl
+ )"
diff --git a/dev-haskell/syb/syb-0.4.1.ebuild b/dev-haskell/syb/syb-0.4.1.ebuild
new file mode 100644
index 000000000000..03ed3c014f8a
--- /dev/null
+++ b/dev-haskell/syb/syb-0.4.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2013 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="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Scrap Your Boilerplate"
+HOMEPAGE="http://www.cs.uu.nl/wiki/GenericProgramming/SYB"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-6.10.4:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( dev-haskell/hunit
+ dev-haskell/mtl )
+"
+
+src_prepare() {
+ if has_version ">=dev-lang/ghc-7.7"; then
+ sed -e '/test-suite unit-tests/,$d' \
+ -i "${S}/${PN}.cabal" \
+ || die "Could not remove test suite for ghc 7.7"
+ fi
+}
diff --git a/dev-haskell/syb/syb-0.4.2.ebuild b/dev-haskell/syb/syb-0.4.2.ebuild
new file mode 100644
index 000000000000..890ff7ca41c5
--- /dev/null
+++ b/dev-haskell/syb/syb-0.4.2.ebuild
@@ -0,0 +1,27 @@
+# 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.2.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Scrap Your Boilerplate"
+HOMEPAGE="http://www.cs.uu.nl/wiki/GenericProgramming/SYB"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( dev-haskell/hunit
+ dev-haskell/mtl )
+"
diff --git a/dev-haskell/syb/syb-0.4.3.ebuild b/dev-haskell/syb/syb-0.4.3.ebuild
new file mode 100644
index 000000000000..dd4fd8b6e77e
--- /dev/null
+++ b/dev-haskell/syb/syb-0.4.3.ebuild
@@ -0,0 +1,29 @@
+# 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.4.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit base haskell-cabal
+
+DESCRIPTION="Scrap Your Boilerplate"
+HOMEPAGE="http://www.cs.uu.nl/wiki/GenericProgramming/SYB"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux"
+IUSE=""
+
+RDEPEND=">=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( dev-haskell/hunit
+ dev-haskell/mtl )
+"
+
+PATCHES=("${FILESDIR}/${PN}-0.4.3-ghc-7.10.patch")
diff --git a/dev-haskell/syb/syb-0.4.4.ebuild b/dev-haskell/syb/syb-0.4.4.ebuild
new file mode 100644
index 000000000000..13283ded9335
--- /dev/null
+++ b/dev-haskell/syb/syb-0.4.4.ebuild
@@ -0,0 +1,29 @@
+# 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.4.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Scrap Your Boilerplate"
+HOMEPAGE="http://www.cs.uu.nl/wiki/GenericProgramming/SYB"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux"
+IUSE=""
+
+RESTRICT=test # ghc-7.10 slightly changed namespacing
+
+RDEPEND=">=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( dev-haskell/hunit
+ dev-haskell/mtl )
+"