summaryrefslogtreecommitdiff
path: root/dev-haskell/shelly
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-haskell/shelly
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-haskell/shelly')
-rw-r--r--dev-haskell/shelly/Manifest14
-rw-r--r--dev-haskell/shelly/files/shelly-1.5.6-monad-control-1.1.patch95
-rw-r--r--dev-haskell/shelly/files/shelly-1.6.5-ghc-8.patch16
-rw-r--r--dev-haskell/shelly/files/shelly-1.6.8.1-ghc-8.0.2_rc1.patch9
-rw-r--r--dev-haskell/shelly/metadata.xml33
-rw-r--r--dev-haskell/shelly/shelly-1.5.6-r1.ebuild39
-rw-r--r--dev-haskell/shelly/shelly-1.6.5.ebuild45
-rw-r--r--dev-haskell/shelly/shelly-1.6.6.ebuild53
-rw-r--r--dev-haskell/shelly/shelly-1.6.8.1.ebuild55
9 files changed, 359 insertions, 0 deletions
diff --git a/dev-haskell/shelly/Manifest b/dev-haskell/shelly/Manifest
new file mode 100644
index 000000000000..35d35992d885
--- /dev/null
+++ b/dev-haskell/shelly/Manifest
@@ -0,0 +1,14 @@
+AUX shelly-1.5.6-monad-control-1.1.patch 2847 SHA256 2445e1d7288fada39bd4a595f401f0eeca80387b9d6260407cf3c0f5c3d062e6 SHA512 f2a386defa742076f4a0062597113f86706eccfcacfe62483536bbffe410d5c752b8c59c365c89a39f99dbb83c88cf2c3a4f76e4d5132858f254be5cad420e00 WHIRLPOOL 0aaa2fe541a7be429ab1623f8a0ab07595d6c800f613d4ec8c7e18fd98c3629d53f33ad931770a5104fbd1735db9d64fbca0a2e8fb2573a41ffa0bdd5b71f695
+AUX shelly-1.6.5-ghc-8.patch 700 SHA256 3f2b4935dcc4f43676edfeb68f827693aa28f024c6c4cc3ab92bfa1c67f5cec5 SHA512 fcbdb8b61cb471c2d3731c84e334875b3c5b8e4752e679097df99c80e31c15785878d2f73ba3e6247991ee3941896922e07f42aff2fbd33fa5f3eb7c8a8ad7cd WHIRLPOOL acdb3df8adffbb90b55eb767f37bc0f6543fcb4e40dd0631b4b74653723f3e68ac1ad827857e017f9f4a4d231216e8db892b1eaac30c601d7a7b3cb26967eda8
+AUX shelly-1.6.8.1-ghc-8.0.2_rc1.patch 251 SHA256 fe2bc784335b407a99c6c578c5289db001bf943e2aab4cd870a909e72c3f06fa SHA512 46b6992227ee15ab9d02b52e897a7507c2e0cd97b4b2d4b1899d269c132ff0ac4179fe3693f4e538adb174b2ff523eb85c419f54bbe7a95d2154bbdae8720d81 WHIRLPOOL 725aa877f6096f965e20d4010dc058fffb61cfea4f4e6475c3eb9d818490c3ab1a625412c92e4c304275ee7cafcc6307deb1c642e98126a89b06a55ef9d2c46c
+DIST shelly-1.5.6.tar.gz 28264 SHA256 f45f778d21661f616cfc849f7729e5aecef7250687e5b30c12e6d8118706d6ee SHA512 522aa76454211b9f31dc92f052703e3f9f4a103c134da063ff5c4c04e209a1f881dc10c0f8589c557ad179a8dc319951b897b8ff401dd8f9a371f69f1def6022 WHIRLPOOL 25455d9800acb5303910bab4d0d91567b3fafc74d614a2875772a60cc594213d572a92cdb46e06030f5584796e1c7ff91aaf3042c79cbcddd9c9de6a39ecf076
+DIST shelly-1.6.5.tar.gz 97274 SHA256 bdfd09b01f3de8e7e58e98591ab1a42ad5a74308ff29f19acd16d7cc85b71cdc SHA512 6a5b418987392d755e7faf60206a3e9283e98f56a4d9d9f956c0385074ff8909fb6bddceb050b00dbd0f8eda55eeb4897d9afd2f8dd2d510367567336a7a6770 WHIRLPOOL 127f28061a33f979a884b1e110bcb4aabc10e7cf6eae9953e0fbce0bb842e8022574955c7a8ff4a5d411ee088aedcf76c08eff768aa743f6e56f22da0f4606f2
+DIST shelly-1.6.6.tar.gz 97529 SHA256 9c89e1ed25de9ede0ee6d6a4094ff72ca6af5b1a1f67503ea40a87beb796e1c5 SHA512 1b78cb84d126f6bb67db3a3d5e669759e71811e2770831af41a4867d094f89b32c3cf39363cc39c808e71019d6e7eca18d25e854bbf4160bd3388c6769a8665c WHIRLPOOL 7a160e8cb20c88cc6e6304cfc704bd037fa689f4748bf51cde7e5f54f4267cd4b7428922f2da8219efdf084c43dcc66b270054e2b3313cc5a3ea417db2416a04
+DIST shelly-1.6.8.1.tar.gz 97802 SHA256 e5a32f7552779667d1f0164d271e99c9ddcabdf1a7a1503cd6fc8ba0bb4445cd SHA512 76ab37289a9b6c51ecb6d5326161b326a4015ed27f6c61cd889d4dbf8f6417e6629d0059fdf65ec40f4093cb921ea3b4871105ccd77c94f863c2a087e3c2fab6 WHIRLPOOL 8d99a18e1ca38c7ef4b032d5ff2a0552e80f60184b05a43411aafed2b95699d11a73b42915bfbdd5b3d6cfc8ff9c7bcdee65ac06ce1855cac31eb52b7650295f
+EBUILD shelly-1.5.6-r1.ebuild 1265 SHA256 8528c9e2dd7c827f2084a832b20e6e440bae9959ded97082b71c88d5306f23c4 SHA512 7b94d6e9eb605531edc66928829e15bddc41cdbb69bcd04d6dd5cff087b4e074a870e04e7d018cec0866e4ac8a2a44eba693491456069906b3ee68fcfb0d66e7 WHIRLPOOL 0c30005853c2899424ae201f5f9949910ac6b232eced1bdce9a391f35abd87f381895993de52f5476234dcb3e76ffde1477de042391808d88dfc4360fe609634
+EBUILD shelly-1.6.5.ebuild 1389 SHA256 240d636ddedec69035a46f2941f20b9abdfa038e6c17eae253f532d597d71d87 SHA512 00aa6ddffb3f8dd41d3f6c947bdd086c9f235ee5cc824d0cf91f046b63fb388c6e91fdc4ef316d34855b99a5de95e4ea3869b0eb604582d76b007610dee1aefd WHIRLPOOL 8165b830109f2e46b752645412d819f1c6f212bc52468cf543e1d7c6e1e8a7b80a90306e2256553a4aed6f080ecf2f0e23435b96948bf7949776ffffc56de307
+EBUILD shelly-1.6.6.ebuild 1557 SHA256 1b1b54fbcb8636d5e2fe2116dfdbc61cf39f6577f9261525192e26e2555b30eb SHA512 0bfe9ba453d6bb7f598ed94a4fdf70c9f9fb8d7e9d21017736043e8b296bd40b321b393d0791e9398c223aaf4cfab18ae9ac7a1784ffa16a82535f3a676d583d WHIRLPOOL 16a6aba850e92329ea9607e6b2d896bfc511dbca997b88934c8d532c2d7f97d7754d9c44676ced8b798b183136dece6182b99c600b0fde81231f6ce9bdf83025
+EBUILD shelly-1.6.8.1.ebuild 1629 SHA256 56567220f3d4768cca9a6f2fce1846c3c5630bc23453e5aa208d74588df70264 SHA512 29c5804da2a86c983aa79e9fbf7d8728685e30c03494370656aec8a764331d654f868ecda94ebdd0de2ba1ee46356981583afe45e25dce976973e37e959f166a WHIRLPOOL a4ceb4027d12c652373886446a620d950484b805f87dc5b7f3c1aa41b0574298ffc10b385125ba2eecdd6e5e3340b0254669172832b85ebd587acf11e016debb
+MISC ChangeLog 4147 SHA256 0149418ad04668af5ce474900d1241468c12e1ef90269db1e916bf0689b24a86 SHA512 87a373f332fc07a2be8863c61dcbd66286501e62357f54967d6e5b1d6c2956de11f29f198ae8b35f9c1fea01c53bf121be387b1ef04fcb852fcda64c05f63b9b WHIRLPOOL 981d299a8a3e817749949edf4bdf866629f988f893c75a4ce58bdd2aaaa97cb95b5f5580a8d0dbda5799af1b10c9f4f52c61ec033ac2d366321d0e591735336e
+MISC ChangeLog-2015 1217 SHA256 7f06c6343d98b69c0538787282f0ebf505a405aaf4dfd8d93f0fbfa797364f34 SHA512 47d5cbda3f3ed57fc0626b866a3d6a5a28f8e5ba326d3be223adff3907821c6166340c33dcd815c382145ad5f55e875f894db50299ad351ffbaeceb4f5f2796d WHIRLPOOL 8866ce5a80cba27faffb462b9407ba23f484b84554326aee8bd8e9a45045332a69ebc6285f796fdd82ac6b31bbea60fea7c51be843267afdeef299b03bf61d27
+MISC metadata.xml 1068 SHA256 199b9b7d88b0affdc70772992f284531ba31fcc45e63a52d78f297e829e45e6c SHA512 e27e2b45c197ba0f7696ff142d6b6b69df12ed35074d0f9924cf87b043fe9301ad17f1fd2874a904347781825f691ce1feefddfabcccc20a186072992dbb15b4 WHIRLPOOL f617a29397b5435ccb1de4f9bfbdc80fd53bae94d815f3b56cd419c5a481f7376a633f2cc3e6c5380de8baf0d09555f7df0e61832b27e96e6984492fbdd01b10
diff --git a/dev-haskell/shelly/files/shelly-1.5.6-monad-control-1.1.patch b/dev-haskell/shelly/files/shelly-1.5.6-monad-control-1.1.patch
new file mode 100644
index 000000000000..a2ef39376c08
--- /dev/null
+++ b/dev-haskell/shelly/files/shelly-1.5.6-monad-control-1.1.patch
@@ -0,0 +1,95 @@
+commit 33b32439e7ef1ba60cc8d72ae0f0c53b6d01ae90
+Merge: d3aec33 b70a308
+Author: Greg Weber <greg@gregweber.info>
+Date: Mon Dec 22 10:32:40 2014 -0800
+
+ Merge pull request #84 from yesodweb/monad-control-1.0
+
+ monad-control 1.0
+
+commit d3aec338e23a03027c404aaf5a7b5790b3300ec5
+Author: Luite Stegeman <stegeman@gmail.com>
+Date: Mon Dec 22 16:21:01 2014 +0100
+
+ bump time upper bound
+
+diff --git a/shelly.cabal b/shelly.cabal
+index ed0d086..3d3c46d 100644
+--- a/shelly.cabal
++++ b/shelly.cabal
+@@ -39,7 +39,7 @@ Library
+
+ Build-depends:
+ containers >= 0.4.2.0,
+- time >= 1.3 && < 1.5,
++ time >= 1.3 && < 1.6,
+ directory >= 1.1.0.0 && < 1.3.0.0,
+ mtl >= 2,
+ process >= 1.0,
+
+commit c1da49fb0d59a56c9e4140a5cbf0700c9fc1ca5f
+Author: Luite Stegeman <stegeman@gmail.com>
+Date: Mon Dec 22 16:20:18 2014 +0100
+
+ Add Alternative instance for Sh, since it's now a superclass of
+ MonadPlus.
+
+diff --git a/src/Shelly/Pipe.hs b/src/Shelly/Pipe.hs
+index a8d0182..f0a64ec 100644
+--- a/src/Shelly/Pipe.hs
++++ b/src/Shelly/Pipe.hs
+@@ -138,6 +138,10 @@ instance Applicative Sh where
+ pure = return
+ (<*>) = ap
+
++instance Alternative Sh where
++ empty = mzero
++ (<|>) = mplus
++
+ instance MonadPlus Sh where
+ mzero = Sh $ return []
+ mplus a b = Sh $ liftA2 (++) (unSh a) (unSh b)
+
+commit b70a308ad14af0b57bbdd9cf8441bdc30ff65c36
+Author: Michael Snoyman <michael@snoyman.com>
+Date: Mon Dec 22 13:49:54 2014 +0200
+
+ monad-control 1.0
+
+diff --git a/shelly.cabal b/shelly.cabal
+index ed0d086..99a85d3 100644
+--- a/shelly.cabal
++++ b/shelly.cabal
+@@ -46,7 +46,7 @@ Library
+ unix-compat < 0.5,
+ system-filepath >= 0.4.7 && < 0.5,
+ system-fileio < 0.4,
+- monad-control >= 0.3.2 && < 0.4,
++ monad-control >= 0.3.2 && < 1.1,
+ lifted-base,
+ lifted-async,
+ exceptions == 0.6.*,
+diff --git a/src/Shelly/Base.hs b/src/Shelly/Base.hs
+index e05ad43..3d6fe00 100644
+--- a/src/Shelly/Base.hs
++++ b/src/Shelly/Base.hs
+@@ -71,11 +71,19 @@ instance MonadBase IO Sh where
+ liftBase = Sh . ReaderT . const
+
+ instance MonadBaseControl IO Sh where
++#if MIN_VERSION_monad_control(1,0,0)
++ type StM Sh a = StM (ReaderT (IORef State) IO) a
++ liftBaseWith f =
++ Sh $ liftBaseWith $ \runInBase -> f $ \k ->
++ runInBase $ unSh k
++ restoreM = Sh . restoreM
++#else
+ newtype StM Sh a = StMSh (StM (ReaderT (IORef State) IO) a)
+ liftBaseWith f =
+ Sh $ liftBaseWith $ \runInBase -> f $ \k ->
+ liftM StMSh $ runInBase $ unSh k
+ restoreM (StMSh m) = Sh . restoreM $ m
++#endif
+
+ instance Catch.MonadThrow Sh where
+ throwM = liftIO . Catch.throwM
diff --git a/dev-haskell/shelly/files/shelly-1.6.5-ghc-8.patch b/dev-haskell/shelly/files/shelly-1.6.5-ghc-8.patch
new file mode 100644
index 000000000000..75d56220e38c
--- /dev/null
+++ b/dev-haskell/shelly/files/shelly-1.6.5-ghc-8.patch
@@ -0,0 +1,16 @@
+diff --git a/src/Shelly/Lifted.hs b/src/Shelly/Lifted.hs
+index 825201d..cdca61b 100644
+--- a/src/Shelly/Lifted.hs
++++ b/src/Shelly/Lifted.hs
+@@ -2,4 +2,4 @@
+ FlexibleInstances, FlexibleContexts, IncoherentInstances,
+- TypeFamilies, ExistentialQuantification, RankNTypes,
+- ImpredicativeTypes #-}
++ TypeFamilies, ExistentialQuantification, RankNTypes
++ #-}
+ {-# OPTIONS_GHC -fno-warn-orphans #-}
+@@ -299,3 +299,3 @@ instance (MonadShControl m, Monoid w)
+ controlSh :: MonadShControl m => ((forall x. m x -> Sh (ShM m x)) -> Sh (ShM m a)) -> m a
+-controlSh = liftShWith >=> restoreSh
++controlSh r = liftShWith r >>= restoreSh
+ {-# INLINE controlSh #-}
diff --git a/dev-haskell/shelly/files/shelly-1.6.8.1-ghc-8.0.2_rc1.patch b/dev-haskell/shelly/files/shelly-1.6.8.1-ghc-8.0.2_rc1.patch
new file mode 100644
index 000000000000..078f979fd013
--- /dev/null
+++ b/dev-haskell/shelly/files/shelly-1.6.8.1-ghc-8.0.2_rc1.patch
@@ -0,0 +1,9 @@
+diff --git a/src/Shelly/Pipe.hs b/src/Shelly/Pipe.hs
+index 7fe7d98..cc5668d 100644
+--- a/src/Shelly/Pipe.hs
++++ b/src/Shelly/Pipe.hs
+@@ -121,3 +121,3 @@ import Data.Text as T hiding (concat, all, find, cons)
+
+-default (T.Text)
++-- default (T.Text)
+
diff --git a/dev-haskell/shelly/metadata.xml b/dev-haskell/shelly/metadata.xml
new file mode 100644
index 000000000000..061239b47e2b
--- /dev/null
+++ b/dev-haskell/shelly/metadata.xml
@@ -0,0 +1,33 @@
+<?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>
+ Shelly provides convenient systems programming in Haskell,
+ similar in spirit to POSIX shells. Shelly:
+
+ * is aimed at convenience and getting things done rather than
+ being a demonstration of elegance.
+
+ * has detailed and useful error messages
+
+ * maintains its own environment, making it thread-safe.
+
+ * is modern, using Text and system-filepath/system-fileio
+
+ Shelly is originally forked from the Shellish package.
+
+ See the shelly-extra package for additional functionality.
+
+ An overview is available in the README: &lt;https://github.com/yesodweb/Shelly.hs/blob/master/README.md&gt;
+ </longdescription>
+ <upstream>
+ <remote-id type="github">yesodweb/Shelly.hs</remote-id>
+ </upstream>
+ <use>
+ <flag name="lifted">run the tests against Shelly.Lifted</flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-haskell/shelly/shelly-1.5.6-r1.ebuild b/dev-haskell/shelly/shelly-1.5.6-r1.ebuild
new file mode 100644
index 000000000000..ddcff5b9bc5f
--- /dev/null
+++ b/dev-haskell/shelly/shelly-1.5.6-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 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 base haskell-cabal
+
+DESCRIPTION="shell-like (systems) programming in Haskell"
+HOMEPAGE="https://github.com/yesodweb/Shelly.hs"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/async:=[profile?]
+ dev-haskell/enclosed-exceptions:=[profile?]
+ >=dev-haskell/exceptions-0.6:=[profile?] <dev-haskell/exceptions-0.7:=[profile?]
+ dev-haskell/lifted-async:=[profile?]
+ dev-haskell/lifted-base:=[profile?]
+ >=dev-haskell/monad-control-0.3.2:=[profile?] <dev-haskell/monad-control-1.1:=[profile?]
+ >=dev-haskell/mtl-2:=[profile?]
+ <dev-haskell/system-fileio-0.4:=[profile?]
+ >=dev-haskell/system-filepath-0.4.7:=[profile?] <dev-haskell/system-filepath-0.5:=[profile?]
+ dev-haskell/text:=[profile?]
+ dev-haskell/transformers:=[profile?]
+ dev-haskell/transformers-base:=[profile?]
+ <dev-haskell/unix-compat-0.5:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+"
+
+PATCHES=("${FILESDIR}/${PN}-1.5.6-monad-control-1.1.patch")
diff --git a/dev-haskell/shelly/shelly-1.6.5.ebuild b/dev-haskell/shelly/shelly-1.6.5.ebuild
new file mode 100644
index 000000000000..d3d9fd78e085
--- /dev/null
+++ b/dev-haskell/shelly/shelly-1.6.5.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.6.9999
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="shell-like (systems) programming in Haskell"
+HOMEPAGE="https://github.com/yesodweb/Shelly.hs"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="lifted"
+
+RDEPEND="dev-haskell/async:=[profile?]
+ dev-haskell/enclosed-exceptions:=[profile?]
+ >=dev-haskell/exceptions-0.6:=[profile?] <dev-haskell/exceptions-0.9:=[profile?]
+ dev-haskell/lifted-async:=[profile?]
+ dev-haskell/lifted-base:=[profile?]
+ >=dev-haskell/monad-control-0.3.2:=[profile?] <dev-haskell/monad-control-1.1:=[profile?]
+ >=dev-haskell/mtl-2:=[profile?]
+ <dev-haskell/system-fileio-0.4:=[profile?]
+ >=dev-haskell/system-filepath-0.4.7:=[profile?] <dev-haskell/system-filepath-0.5:=[profile?]
+ dev-haskell/text:=[profile?]
+ dev-haskell/transformers:=[profile?]
+ dev-haskell/transformers-base:=[profile?]
+ <dev-haskell/unix-compat-0.5:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( >=dev-haskell/hspec-1.5
+ >=dev-haskell/hunit-1.2
+ >=dev-haskell/text-0.11 )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag lifted lifted)
+}
diff --git a/dev-haskell/shelly/shelly-1.6.6.ebuild b/dev-haskell/shelly/shelly-1.6.6.ebuild
new file mode 100644
index 000000000000..209da0df31f9
--- /dev/null
+++ b/dev-haskell/shelly/shelly-1.6.6.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.4.7.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="shell-like (systems) programming in Haskell"
+HOMEPAGE="https://github.com/yesodweb/Shelly.hs"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="amd64 x86"
+IUSE="lifted"
+
+RDEPEND="dev-haskell/async:=[profile?]
+ dev-haskell/enclosed-exceptions:=[profile?]
+ >=dev-haskell/exceptions-0.6:=[profile?] <dev-haskell/exceptions-0.9:=[profile?]
+ dev-haskell/lifted-async:=[profile?]
+ dev-haskell/lifted-base:=[profile?]
+ >=dev-haskell/monad-control-0.3.2:=[profile?] <dev-haskell/monad-control-1.1:=[profile?]
+ >=dev-haskell/mtl-2:=[profile?]
+ <dev-haskell/system-fileio-0.4:=[profile?]
+ >=dev-haskell/system-filepath-0.4.7:=[profile?] <dev-haskell/system-filepath-0.5:=[profile?]
+ dev-haskell/text:=[profile?]
+ dev-haskell/transformers:=[profile?]
+ dev-haskell/transformers-base:=[profile?]
+ <dev-haskell/unix-compat-0.5:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( >=dev-haskell/hspec-1.5
+ >=dev-haskell/hunit-1.2
+ >=dev-haskell/text-0.11 )
+"
+
+PATCHES=("${FILESDIR}"/${PN}-1.6.5-ghc-8.patch)
+
+src_prepare() {
+ cabal_chdeps \
+ 'time >= 1.3 && < 1.6' 'time >= 1.3'
+ default
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag lifted lifted)
+}
diff --git a/dev-haskell/shelly/shelly-1.6.8.1.ebuild b/dev-haskell/shelly/shelly-1.6.8.1.ebuild
new file mode 100644
index 000000000000..ab7e9c46dcc8
--- /dev/null
+++ b/dev-haskell/shelly/shelly-1.6.8.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.9999
+#hackport: flags: build-examples:examples
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="shell-like (systems) programming in Haskell"
+HOMEPAGE="https://github.com/yesodweb/Shelly.hs"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="amd64 x86"
+IUSE="examples lifted"
+
+RDEPEND="dev-haskell/async:=[profile?]
+ dev-haskell/enclosed-exceptions:=[profile?]
+ >=dev-haskell/exceptions-0.6:=[profile?] <dev-haskell/exceptions-0.9:=[profile?]
+ dev-haskell/lifted-async:=[profile?]
+ dev-haskell/lifted-base:=[profile?]
+ >=dev-haskell/monad-control-0.3.2:=[profile?] <dev-haskell/monad-control-1.1:=[profile?]
+ >=dev-haskell/mtl-2:=[profile?]
+ <dev-haskell/system-fileio-0.4:=[profile?]
+ >=dev-haskell/system-filepath-0.4.7:=[profile?] <dev-haskell/system-filepath-0.5:=[profile?]
+ dev-haskell/text:=[profile?]
+ dev-haskell/transformers-base:=[profile?]
+ <dev-haskell/unix-compat-0.5:=[profile?]
+ >=dev-lang/ghc-7.8.2:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.18.1.3
+ test? ( >=dev-haskell/hspec-1.5
+ >=dev-haskell/hunit-1.2
+ >=dev-haskell/text-0.11 )
+"
+
+PATCHES=("${FILESDIR}"/${P}-ghc-8.0.2_rc1.patch)
+
+src_prepare() {
+ default
+
+ cabal_chdeps \
+ 'directory >= 1.1.0.0 && < 1.3.0.0' 'directory >= 1.1.0.0'
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag examples build-examples) \
+ $(cabal_flag lifted lifted)
+}