summaryrefslogtreecommitdiff
path: root/dev-haskell/lens-family-th
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
commit1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch)
treee48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-haskell/lens-family-th
parentd87262dd706fec50cd150aab3e93883b6337466d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/lens-family-th')
-rw-r--r--dev-haskell/lens-family-th/Manifest4
-rw-r--r--dev-haskell/lens-family-th/files/lens-family-th-0.4.1.0-ghc-8.patch40
-rw-r--r--dev-haskell/lens-family-th/lens-family-th-0.4.1.0.ebuild28
-rw-r--r--dev-haskell/lens-family-th/metadata.xml20
4 files changed, 0 insertions, 92 deletions
diff --git a/dev-haskell/lens-family-th/Manifest b/dev-haskell/lens-family-th/Manifest
deleted file mode 100644
index e392c5ff226b..000000000000
--- a/dev-haskell/lens-family-th/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX lens-family-th-0.4.1.0-ghc-8.patch 1528 BLAKE2B f32cbeca8419edfe2172312c785f9b17123551028276e0a141aa8e649846660b22fba64781819062a255a711c12635a9e432d199011d63c12d52086e0828f82a SHA512 752aaae5a9a174a67329a16e999a4e1606da1ed11c1c3244d84b07171cfbcb2384f5015ad6f57b718733878a789c59da7e148ab3be015284c5703f2670708dd8
-DIST lens-family-th-0.4.1.0.tar.gz 4562 BLAKE2B 1affa13291e8e610018761b4174bc45ac8cfcc23bbece8e82844a6660e997c5ab1916762bd65d2befa1aa5b0f19cdce1023111d2d7a6d765ff158aa726de6fdd SHA512 ab4283fcb833c68a838f006a71d30ed129c1d5f8ba030c4cbec6443ebeedc83e09a707a609c3c30c4420675bf5187227ce11f39218a3afb7ee563ad26104b774
-EBUILD lens-family-th-0.4.1.0.ebuild 613 BLAKE2B a4b62cf67bcf78057cca9c634560f017273d6acef2a73729a1f842976e76abf4ca0fb0641a27a6ad981ab2978d496a3479136a81b009c12e477f62dcb86eff40 SHA512 bc5041d546d42df9e1456227812c5fd51b715b45db6ee87bd0e8f47eb127b610c338d6a97d63876d904300fd11996b5a4677ea77f733a8e316327fe545cb4e3e
-MISC metadata.xml 690 BLAKE2B d2cd7aa52cc8d336c744531618a66539841aa72e58678277937dafe5099c1a5ee827335cc65723df473c59ad72d71adbfd3873450f624eea158df7692a4be0f5 SHA512 55dc29a781ac230cf03c0d8f5907ddf60199804f9a37ceea31f361b3ce544b20a06c03b89615fe1076708ad76fe501c3dacf1907ba5f09ba345357ba68a80824
diff --git a/dev-haskell/lens-family-th/files/lens-family-th-0.4.1.0-ghc-8.patch b/dev-haskell/lens-family-th/files/lens-family-th-0.4.1.0-ghc-8.patch
deleted file mode 100644
index 06be29a8131b..000000000000
--- a/dev-haskell/lens-family-th/files/lens-family-th-0.4.1.0-ghc-8.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-diff --git a/Lens/Family/THCore.hs b/Lens/Family/THCore.hs
-index d4f2740..2f53db6 100644
---- a/Lens/Family/THCore.hs
-+++ b/Lens/Family/THCore.hs
-@@ -1 +1,2 @@
-+{-# LANGUAGE CPP #-}
- {-# LANGUAGE TemplateHaskell #-}
-@@ -52,4 +53,9 @@ extractLensTypeInfo datatype = do
- return $ case i of
-+#if MIN_VERSION_template_haskell(2,11,0)
-+ TyConI (DataD _ n ts _ _ _) -> (n, ts)
-+ TyConI (NewtypeD _ n ts _ _ _) -> (n, ts)
-+#else
- TyConI (DataD _ n ts _ _) -> (n, ts)
- TyConI (NewtypeD _ n ts _ _) -> (n, ts)
-+#endif
- _ -> error $ "Can't derive Lens for: " ++ datatypeStr
-@@ -63,2 +69,8 @@ extractConstructorFields datatype = do
- return $ case i of
-+#if MIN_VERSION_template_haskell(2,11,0)
-+ TyConI (DataD _ _ _ _ [RecC _ fs] _) -> fs
-+ TyConI (NewtypeD _ _ _ _ (RecC _ fs) _) -> fs
-+ TyConI (DataD _ _ _ _ [_] _) ->
-+ error $ "Can't derive Lens without record selectors: " ++ datatypeStr
-+#else
- TyConI (DataD _ _ _ [RecC _ fs] _) -> fs
-@@ -67,2 +79,3 @@ extractConstructorFields datatype = do
- error $ "Can't derive Lens without record selectors: " ++ datatypeStr
-+#endif
- TyConI NewtypeD{} ->
-@@ -134,4 +147,9 @@ extractConstructorInfo datatype = do
- return $ case i of
-+#if MIN_VERSION_template_haskell(2,11,0)
-+ TyConI (DataD _ _ _ _ fs _) -> fs
-+ TyConI (NewtypeD _ _ _ _ f _) -> [f]
-+#else
- TyConI (DataD _ _ _ fs _) -> fs
- TyConI (NewtypeD _ _ _ f _) -> [f]
-+#endif
- _ -> error $ "Can't derive traversal for: " ++ datatypeStr
diff --git a/dev-haskell/lens-family-th/lens-family-th-0.4.1.0.ebuild b/dev-haskell/lens-family-th/lens-family-th-0.4.1.0.ebuild
deleted file mode 100644
index 29c2dee5065e..000000000000
--- a/dev-haskell/lens-family-th/lens-family-th-0.4.1.0.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# 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="Generate lens-family style lenses"
-HOMEPAGE="https://github.com/DanBurton/lens-family-th#readme"
-SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=">=dev-lang/ghc-7.4.1:=
-"
-DEPEND="${RDEPEND}
- >=dev-haskell/cabal-1.8
-"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-ghc-8.patch
-}
diff --git a/dev-haskell/lens-family-th/metadata.xml b/dev-haskell/lens-family-th/metadata.xml
deleted file mode 100644
index 1651186a0a1f..000000000000
--- a/dev-haskell/lens-family-th/metadata.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?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>
- Due to a cabal/hackage defect, curly braces cannot be
- adequately displayed here. Please see
- &lt;https://github.com/DanBurton/lens-family-th#readme&gt;
- for a proper description of this package.
-
- (See &lt;https://github.com/haskell/cabal/issues/968&gt;
- for the ticket I created regarding the defect.)
- </longdescription>
- <upstream>
- <remote-id type="github">DanBurton/lens-family-th</remote-id>
- </upstream>
-</pkgmetadata>