summaryrefslogtreecommitdiff
path: root/dev-haskell/haskell-src-meta
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/haskell-src-meta
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-haskell/haskell-src-meta')
-rw-r--r--dev-haskell/haskell-src-meta/Manifest10
-rw-r--r--dev-haskell/haskell-src-meta/files/haskell-src-meta-0.6.0.8-ghc-7.10.patch70
-rw-r--r--dev-haskell/haskell-src-meta/haskell-src-meta-0.6.0.10.ebuild27
-rw-r--r--dev-haskell/haskell-src-meta/haskell-src-meta-0.6.0.14-r1.ebuild27
-rw-r--r--dev-haskell/haskell-src-meta/haskell-src-meta-0.6.0.8-r1.ebuild35
-rw-r--r--dev-haskell/haskell-src-meta/metadata.xml12
6 files changed, 181 insertions, 0 deletions
diff --git a/dev-haskell/haskell-src-meta/Manifest b/dev-haskell/haskell-src-meta/Manifest
new file mode 100644
index 000000000000..975f3da1478c
--- /dev/null
+++ b/dev-haskell/haskell-src-meta/Manifest
@@ -0,0 +1,10 @@
+AUX haskell-src-meta-0.6.0.8-ghc-7.10.patch 2741 SHA256 84d1730cc15ae9252d83834919a927b0647910cb675b2b1d9991a74676e9b0d8 SHA512 8acc57e9318068bf4f94c1fc4608badbe5058a833e609c3bbc7abeffd51380da87bf44e308ad38ec6e5481235db7bb11210f7dcb8c4dc1e579f4c2d3d0fd09b8 WHIRLPOOL b2cd23892744d7aa0a8a408701dd413e76f5a6339f8e3307364d37348b643c1810020281e9d797064bea28a2fa2d5ecf0da592806fe2e9d01e6fcad5251abef9
+DIST haskell-src-meta-0.6.0.10.tar.gz 19432 SHA256 c15f7e3bd196d80e1458ee1925b5f194feaabfb050eb680ca68efc156bf48c3a SHA512 efd6e06dc856c05b815a8a36f3411f3d5c171ad5cd84be75baaef1d7a784f3f32d81e9de175fb2ab2455ab6f3a80c2f743e4a277964816d6e8198bc4bf67ab4d WHIRLPOOL 8ba230cedd597aa65a964a031f134ad36a3411e1ca1f8c64a181022faa75e218fc4c5eebda589dc028eafcc555582717ed5732221e36b01a56493ac8b1caf78a
+DIST haskell-src-meta-0.6.0.14.tar.gz 20079 SHA256 769124392398695667c800225cd908cb455dadf54a9317870bd9384e0eeb20c9 SHA512 d043ece8f28a47572f59cfc36a9d7b2c505a3d5c2ef24f0e90496c5d57b88791417234777e146a0e75c0fba10775ba41e627a00519c2e9718bf173d95e2a201f WHIRLPOOL 47264a8f8d3dfc696a6eec4cdd377d51977883e8a1972db9327d470883c80980d8183793c5f5987172feae11bb734c79ec7f96e00d02c8ad5550f07ea25a4d94
+DIST haskell-src-meta-0.6.0.8.tar.gz 19449 SHA256 d3f69a05701d85880472c9d30efb3056fc8733f5f31e1795280aaf9f2c1262bb SHA512 590e66c837bd64db9bb8d09a698f52fb8b7c3ab07523c0e7fadcbb17bf33ee0fa523ec34012db7622681b4055164288df60083992ddbfb7553087373efbdb751 WHIRLPOOL 436fde45e32fea88107a4462ad2392d7caffdee705a8537d54d1bbff3e1e9c0a3f3d526a84361b704be933fdf0633e25eb1581228084afbb40774308f4062138
+EBUILD haskell-src-meta-0.6.0.10.ebuild 820 SHA256 7e503d2758d641ab395626aa68c2cd91dc0dd3b9e5fa8cf9b9096385215a9f21 SHA512 796d30fcc6051868a0fc00520c2fd291ebbafa45f53445a1989f42fffb4e870d92ada1c173ddb5d90105394806efc85629b87ef3141445422ea1027f1643bf11 WHIRLPOOL db54be6f8e6938af3204bc8fbf5a9b8b98acb77beb1b72f641fed7e08836eacd01788c7efa0dd9c94252562ab88d4fec4988ddc90977a76790a541af399ec8c7
+EBUILD haskell-src-meta-0.6.0.14-r1.ebuild 816 SHA256 e8980fed8ca97a5cacce1eab1085bbed36d54e8c2a596d1ace6f47f295272025 SHA512 97f4a03d9fec091432a3cef50fdc3475325a1a866f3f261258383552ca7240310c71347761dc29c41ceb1acb04b062748a074da8ad2bf443526261c59f28636e WHIRLPOOL e11df597322953d2795354e01fe19f3b292b017f24db6d14daea0dae2d4ff3f9fd220f657393c88c93b87b832814c433699189813d5c840652aa37cc83ed659c
+EBUILD haskell-src-meta-0.6.0.8-r1.ebuild 933 SHA256 83cf4d6a44dbb876ef21ebdf34a22cee32f47a40f97f45d245998c84919469db SHA512 0d6720a8a619b643ac3e1d8fa806f35c7d5847d5f55c0c209e4d9eb94b787931cafb6fce5f9b57a8f9479e37d0c31051c053cae60a8f40215a07852cfc1bd472 WHIRLPOOL 1cf0ab866acc1bc53d6d38988f0214bae56ccaef659f990833479b1d9c7889b01fa9bfaab1ef72e548c05f0e0c8d88af5ecb98086cfa859c89517b62699433cd
+MISC ChangeLog 3707 SHA256 a38d9f351fd1b436c02eb14741764d762a60472f22d39fc24fd9f5804e194cff SHA512 9361d898975f0eac2c650ffadd9307f9138c9254a08e3b839c532e23d84330abac745711eece755287a0e3d80f9839f0b4a3fa09d3b645824056b8da43190234 WHIRLPOOL eb604e8278d90ab05a99a05a5b82bc55b1bae27cbbe0ff1cea5340a7da9eed8ec448a8744a397763adf6feeacd1a68bb9004b6dc2e74f7bec4af3b4f401e6363
+MISC ChangeLog-2015 940 SHA256 1ee5e4a5d0cd5e17116d0bf88f9e8fc63388b7ba90088843b13bd366b92b2d4e SHA512 8699ef98dc5e7a79e49444b32dfeca59a26a3d7c1f29fa120b779b66c14a9d17a8aaf5c8c8dcd810713e240bb8c2661d13a3d608d649d12603936d282d2b7a08 WHIRLPOOL 941caa0d8ee7d9e6f23eec6819a9ef59d18e3b00b7884063104633d95007b932b15e01eb9aefcbeb084608b87c7e32bc6a2c0d0e082217a3febcc4268b9827ce
+MISC metadata.xml 407 SHA256 746c71fb9a6ee15d3a748d7d0a3a4751f4e6f07d3452e2e82267d1364392fdfa SHA512 25b2811713d5574b1787c699c9d24beb1c694b8a397f1bfda992d0f3e6f53d3ec3a26e46beccf1d60d1df574d2c8ba85b58075d40216d3bd224904415f57410a WHIRLPOOL b3963e441573c3b852420786f19e5e4197d363f3035d1dc771a78e3c450c4fae7f3b4cda3e056a586aa3632c41118e68d1050260b054b4f24d68213e4f3524dd
diff --git a/dev-haskell/haskell-src-meta/files/haskell-src-meta-0.6.0.8-ghc-7.10.patch b/dev-haskell/haskell-src-meta/files/haskell-src-meta-0.6.0.8-ghc-7.10.patch
new file mode 100644
index 000000000000..e023b53d3401
--- /dev/null
+++ b/dev-haskell/haskell-src-meta/files/haskell-src-meta-0.6.0.8-ghc-7.10.patch
@@ -0,0 +1,70 @@
+commit 24e6f45408083745080ff2f3710f58209041113c
+Author: Luite Stegeman <stegeman@gmail.com>
+Date: Sun Dec 28 21:33:22 2014 +0100
+
+ updates for GHC 7.10 and Template Haskell 2.10
+
+diff --git a/haskell-src-meta.cabal b/haskell-src-meta.cabal
+index de6a022..42d9619 100644
+--- a/haskell-src-meta.cabal
++++ b/haskell-src-meta.cabal
+@@ -18,14 +18,14 @@ description: The translation from haskell-src-exts abstract syntax
+ extra-source-files: ChangeLog README examples/*.hs
+
+ library
+- build-depends: base >= 4.2 && < 4.8,
++ build-depends: base >= 4.2 && < 4.9,
+ haskell-src-exts == 1.16.*,
+ pretty >= 1.0 && < 1.2,
+ syb >= 0.1 && < 0.5,
+ th-orphans >= 0.5 && < 0.9
+
+ if impl(ghc >= 7.4)
+- Build-depends: template-haskell >= 2.7 && < 2.10
++ Build-depends: template-haskell >= 2.7 && < 2.11
+ else
+ Build-depends: template-haskell >= 2.4 && < 2.7,
+ uniplate >= 1.3 && < 1.7
+diff --git a/src/Language/Haskell/Meta/Syntax/Translate.hs b/src/Language/Haskell/Meta/Syntax/Translate.hs
+index 189d32e..36a08f1 100644
+--- a/src/Language/Haskell/Meta/Syntax/Translate.hs
++++ b/src/Language/Haskell/Meta/Syntax/Translate.hs
+@@ -384,9 +384,15 @@ a .->. b = AppT (AppT ArrowT a) b
+ toCxt :: Hs.Context -> Cxt
+ toCxt = fmap toPred
+ where
++#if MIN_VERSION_template_haskell(2,10,0)
++ toPred (Hs.ClassA n ts) = foldl' AppT (ConT (toName n)) (fmap toType ts)
++ toPred (Hs.InfixA t1 n t2) = foldl' AppT (ConT (toName n)) (fmap toType [t1,t2])
++ toPred (Hs.EqualP t1 t2) = foldl' AppT EqualityT (fmap toType [t1,t2])
++#else
+ toPred (Hs.ClassA n ts) = ClassP (toName n) (fmap toType ts)
+ toPred (Hs.InfixA t1 n t2) = ClassP (toName n) (fmap toType [t1, t2])
+ toPred (Hs.EqualP t1 t2) = EqualP (toType t1) (toType t2)
++#endif
+ toPred a@Hs.IParam{} = noTH "toCxt" a
+
+ foldAppT :: Type -> [Type] -> Type
+diff --git a/src/Language/Haskell/Meta/Utils.hs b/src/Language/Haskell/Meta/Utils.hs
+index 36f7e96..d194f3e 100644
+--- a/src/Language/Haskell/Meta/Utils.hs
++++ b/src/Language/Haskell/Meta/Utils.hs
+@@ -166,6 +166,9 @@ renameT env new (ForallT ns cxt t) =
+ unVarT (VarT n) = PlainTV n
+ renamePreds = renameThings renamePred
+
++#if MIN_VERSION_template_haskell(2,10,0)
++ renamePred = renameT
++#else
+ renamePred env new (ClassP n ts) = let
+ (ts', env', new') = renameTs env new [] ts
+ in (ClassP (normaliseName n) ts', env', new')
+@@ -174,7 +177,7 @@ renameT env new (ForallT ns cxt t) =
+ (t1', env1, new1) = renameT env new t1
+ (t2', env2, new2) = renameT env1 new1 t2
+ in (EqualP t1' t2', env2, new2)
+-
++#endif
+
+ -- | Remove qualification, etc.
+ normaliseName :: Name -> Name
diff --git a/dev-haskell/haskell-src-meta/haskell-src-meta-0.6.0.10.ebuild b/dev-haskell/haskell-src-meta/haskell-src-meta-0.6.0.10.ebuild
new file mode 100644
index 000000000000..3673def57289
--- /dev/null
+++ b/dev-haskell/haskell-src-meta/haskell-src-meta-0.6.0.10.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.5.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Parse source to template-haskell abstract syntax"
+HOMEPAGE="http://hackage.haskell.org/package/haskell-src-meta"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/haskell-src-exts-1.16:=[profile?] <dev-haskell/haskell-src-exts-1.17:=[profile?]
+ >=dev-haskell/syb-0.1:=[profile?] <dev-haskell/syb-0.6:=[profile?]
+ >=dev-haskell/th-orphans-0.9.1:=[profile?] <dev-haskell/th-orphans-0.13:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
diff --git a/dev-haskell/haskell-src-meta/haskell-src-meta-0.6.0.14-r1.ebuild b/dev-haskell/haskell-src-meta/haskell-src-meta-0.6.0.14-r1.ebuild
new file mode 100644
index 000000000000..56a48d6c8de6
--- /dev/null
+++ b/dev-haskell/haskell-src-meta/haskell-src-meta-0.6.0.14-r1.ebuild
@@ -0,0 +1,27 @@
+# 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
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Parse source to template-haskell abstract syntax"
+HOMEPAGE="http://hackage.haskell.org/package/haskell-src-meta"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/haskell-src-exts-1.16:=[profile?] <dev-haskell/haskell-src-exts-1.18:=[profile?]
+ >=dev-haskell/syb-0.1:=[profile?] <dev-haskell/syb-0.7:=[profile?]
+ >=dev-haskell/th-orphans-0.9.1:=[profile?] <dev-haskell/th-orphans-0.14:=[profile?]
+ >=dev-lang/ghc-7.8.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
diff --git a/dev-haskell/haskell-src-meta/haskell-src-meta-0.6.0.8-r1.ebuild b/dev-haskell/haskell-src-meta/haskell-src-meta-0.6.0.8-r1.ebuild
new file mode 100644
index 000000000000..24b5528cf8bb
--- /dev/null
+++ b/dev-haskell/haskell-src-meta/haskell-src-meta-0.6.0.8-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.3
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit base haskell-cabal
+
+DESCRIPTION="Parse source to template-haskell abstract syntax"
+HOMEPAGE="http://hackage.haskell.org/package/haskell-src-meta"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/haskell-src-exts-1.16:=[profile?] <dev-haskell/haskell-src-exts-1.17:=[profile?]
+ >=dev-haskell/syb-0.1:=[profile?] <dev-haskell/syb-0.5:=[profile?]
+ >=dev-haskell/th-orphans-0.5:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
+
+PATCHES=("${FILESDIR}/${PN}-0.6.0.8-ghc-7.10.patch")
+
+src_prepare() {
+ base_src_prepare
+ cabal_chdeps \
+ 'th-orphans >= 0.5 && < 0.9' 'th-orphans >= 0.5'
+}
diff --git a/dev-haskell/haskell-src-meta/metadata.xml b/dev-haskell/haskell-src-meta/metadata.xml
new file mode 100644
index 000000000000..5707ebf94594
--- /dev/null
+++ b/dev-haskell/haskell-src-meta/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+ The translation from haskell-src-exts abstract syntax
+ to template-haskell abstract syntax isn't 100% complete yet.
+ </longdescription>
+</pkgmetadata>