From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-emacs/ghc-mod/Manifest | 9 ++ app-emacs/ghc-mod/files/50ghc-mod-gentoo.el | 3 + .../ghc-mod/files/ghc-mod-5.6.0.0-gentoo.patch | 5 ++ app-emacs/ghc-mod/ghc-mod-5.4.0.0.ebuild | 94 +++++++++++++++++++++ app-emacs/ghc-mod/ghc-mod-5.5.0.0-r1.ebuild | 96 ++++++++++++++++++++++ app-emacs/ghc-mod/ghc-mod-5.7.0.0.ebuild | 91 ++++++++++++++++++++ app-emacs/ghc-mod/metadata.xml | 20 +++++ 7 files changed, 318 insertions(+) create mode 100644 app-emacs/ghc-mod/Manifest create mode 100644 app-emacs/ghc-mod/files/50ghc-mod-gentoo.el create mode 100644 app-emacs/ghc-mod/files/ghc-mod-5.6.0.0-gentoo.patch create mode 100644 app-emacs/ghc-mod/ghc-mod-5.4.0.0.ebuild create mode 100644 app-emacs/ghc-mod/ghc-mod-5.5.0.0-r1.ebuild create mode 100644 app-emacs/ghc-mod/ghc-mod-5.7.0.0.ebuild create mode 100644 app-emacs/ghc-mod/metadata.xml (limited to 'app-emacs/ghc-mod') diff --git a/app-emacs/ghc-mod/Manifest b/app-emacs/ghc-mod/Manifest new file mode 100644 index 000000000000..95835b2cd617 --- /dev/null +++ b/app-emacs/ghc-mod/Manifest @@ -0,0 +1,9 @@ +AUX 50ghc-mod-gentoo.el 75 BLAKE2B 8b6c9f3d2a9d3d69700cbdf36a58a3bf07913e7a6369d9a53d39296fd31e2594564fdc20e123093908448acfed9d4d242fed4e93660a6a753ff9b551e6aeeaf0 SHA512 483a8d3e464aa4c3252b38bca4b9291a94080c04407df8f7c8ac110e14eb539c6795ae70ed3d6c217db39fd29a6be7c08b8bc295ef1fd2cd1d2aa7efeba7d0f4 +AUX ghc-mod-5.6.0.0-gentoo.patch 134 BLAKE2B 51f5561d87628191bc070c3f4ce57d19bc0c784df483a24e1e90546014e1b74878514c13049f13efe12c81b59f2311ab1567970a1c792c316de7b44ed8f269a3 SHA512 34fda23f27d1ba0ccad898e9b6d5bbd2f3e2d235e692e910a76c35c894985d0453219b7ab53c4dacb8d3b88f7aea79f5badf92ad8eee90b764e7c1e009135e56 +DIST ghc-mod-5.4.0.0.tar.gz 132546 BLAKE2B 6670df6b271527ee2a69c74b0522b94e78e799b62d260ca744a382312c815e904d516345c6258be0d9aa82f91866126b95cc4682bc1925616078ffef1a559905 SHA512 fabcc5ce2fb9e8790043faae2d42b3714fab96da1409d7f1c4736f332c6b74c76724dce253456fd787526d125cfaa1fe48c4725a0da16aabb35d5edf560f2415 +DIST ghc-mod-5.5.0.0.tar.gz 150774 BLAKE2B 87d2be174200f05da0f38a2947c4404c0b25ce77a03d3b456f8cde769e978bbe6fad6e2c04d1af61e05d61fb941c139c297baaeb4835c02390516a88bebbf539 SHA512 006f292394fc24766a2ae2c778635697a63e1b48ef96052af66dc35d1ef30eb600760cd2a517011a7a2b027a0c725ceb3b5e37cfe157741ba97f19068f1264e8 +DIST ghc-mod-5.7.0.0.tar.gz 146797 BLAKE2B b5d684dbb505001bfc061473cd62d00491bfe8ca5710cb69c72cb2544838a9a3b7d88d414be8123f9edf82cf96773f49439912a98efec843c167334d31caeaf8 SHA512 843cd0546c0a0cdf30dd9cde5e9148dabf391648bae6d7f2852c83a4cd5b8329f30d0cc578ba6afda02e8885b2ed63c7def4885e0dbaac199d311e476a0cc6e3 +EBUILD ghc-mod-5.4.0.0.ebuild 2605 BLAKE2B ae293eb8f1417d88a0659a5d4b2d4899c6f697f42e8090dfc34f69b7f1ee9056c0e58101f5367fa8b0877ef6833e89f4d81bdc7389901661083d647b1afc1ea4 SHA512 7432db717423e013f51521d7faea351f4138d0215f8ff80e0891d996a28ae3991bfd183c7929f09e324d00b490719e383b6434f592ef565125e1a1dbe32e0a8d +EBUILD ghc-mod-5.5.0.0-r1.ebuild 3063 BLAKE2B 0982900342cfad1ebdd568ca17be7a624eb3881b98e762575aa1f88088d59830dad99e025feea0172801c72bf41b883644f02b56861e2edf478cccad85b52319 SHA512 a2e922544860a0de09a9fae0e37fa4ef2b6627478e8c085c9f5287f24bf943c95a00f390fefd97a4f9e50f21da58e38b8b3f9960e36c81031cde70670bf95278 +EBUILD ghc-mod-5.7.0.0.ebuild 3372 BLAKE2B b628625dae8816f22c811cf6c6fab880ce3f1721aca59fcf886a1f4d03875a4663f8b39042e16fca39947b031789453d0c4f18abd5884239db57d28a630ec704 SHA512 071a98379192e9470d9e10de2aec2f6737545de1553d888bdded5bdf125dcd5d66c3eb1ee390cbb6b24618dfb788c52a63c8e3610d2ded2a049c5d446697ac08 +MISC metadata.xml 726 BLAKE2B b31275f576fce5947f0ead75fa4433f170ebab7e8d12ab8365f544d4be4f923829940fdfad6095a2c02da7865a442baba76c5a169b4593eb65b3f76033329015 SHA512 7249be2424dad8767b67a275fcbd81c3435e4c7b274cef3c0ee0c64cc379877506420d2fad335d2f59f3c25c8c5e2ee9719a12581826b141a0df97556d33bc9e diff --git a/app-emacs/ghc-mod/files/50ghc-mod-gentoo.el b/app-emacs/ghc-mod/files/50ghc-mod-gentoo.el new file mode 100644 index 000000000000..402c84de9b12 --- /dev/null +++ b/app-emacs/ghc-mod/files/50ghc-mod-gentoo.el @@ -0,0 +1,3 @@ +;;; ghc-mod site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") diff --git a/app-emacs/ghc-mod/files/ghc-mod-5.6.0.0-gentoo.patch b/app-emacs/ghc-mod/files/ghc-mod-5.6.0.0-gentoo.patch new file mode 100644 index 000000000000..f7e6e1c4c654 --- /dev/null +++ b/app-emacs/ghc-mod/files/ghc-mod-5.6.0.0-gentoo.patch @@ -0,0 +1,5 @@ +--- a/ghc-mod.cabal ++++ b/ghc-mod.cabal +@@ -29,2 +29,0 @@ +-Data-Files: elisp/Makefile +- elisp/*.el diff --git a/app-emacs/ghc-mod/ghc-mod-5.4.0.0.ebuild b/app-emacs/ghc-mod/ghc-mod-5.4.0.0.ebuild new file mode 100644 index 000000000000..3c52fd7d1b66 --- /dev/null +++ b/app-emacs/ghc-mod/ghc-mod-5.4.0.0.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.6 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" +inherit elisp-common haskell-cabal + +DESCRIPTION="Happy Haskell Programming" +HOMEPAGE="http://www.mew.org/~kazu/proj/ghc-mod/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="emacs" + +RESTRICT=test # doctests break on modules collisions: temporary / temporary-rc + +RDEPEND="dev-haskell/async:=[profile?] + >=dev-haskell/cabal-helper-0.6.0.0:=[profile?] =dev-haskell/cereal-0.4:=[profile?] + dev-haskell/convertible:=[profile?] + >=dev-haskell/djinn-ghc-0.0.2.2:=[profile?] + >=dev-haskell/extra-1.4:2=[profile?] =dev-haskell/fclabels-2.0:=[profile?] =dev-haskell/hlint-1.8.61:=[profile?] + >=dev-haskell/monad-control-1:=[profile?] + >=dev-haskell/monad-journal-0.4:=[profile?] + >=dev-haskell/mtl-2.0:=[profile?] + dev-haskell/old-time:=[profile?] + >=dev-haskell/pipes-4.1:=[profile?] =dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.14 + test? ( >=dev-haskell/doctest-0.9.3 + dev-haskell/executable-path + >=dev-haskell/hspec-2.0.0 ) +" +SITEFILE=50${PN}-gentoo.el + +src_prepare() { + epatch "${FILESDIR}"/${PN}-5.6.0.0-gentoo.patch +} + +src_compile() { + haskell-cabal_src_compile + if use emacs ; then + pushd elisp + elisp-compile *.el || die + popd + fi +} + +src_install() { + haskell-cabal_src_install + if use emacs ; then + pushd "${S}" + elisp-install ghc-mod elisp/*.{el,elc} + elisp-site-file-install "${FILESDIR}"/${SITEFILE} + popd + fi +} + +pkg_postinst() { + if use emacs ; then + elisp-site-regen + elog "To configure ghc-mod either add this line to ~/.emacs:" + elog "(autoload 'ghc-init \"ghc\" nil t)" + elog "and either this line:" + elog "(add-hook 'haskell-mode-hook (lambda () (ghc-init)))" + elog "or if you wish to use flymake:" + elog "(add-hook 'haskell-mode-hook (lambda () (ghc-init) (flymake-mode)))" + fi +} + +pkg_postrm() { + if use emacs ; then + elisp-site-regen + fi +} diff --git a/app-emacs/ghc-mod/ghc-mod-5.5.0.0-r1.ebuild b/app-emacs/ghc-mod/ghc-mod-5.5.0.0-r1.ebuild new file mode 100644 index 000000000000..82d7ae03eec4 --- /dev/null +++ b/app-emacs/ghc-mod/ghc-mod-5.5.0.0-r1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# ebuild generated by hackport 0.4.6 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" +inherit elisp-common haskell-cabal + +DESCRIPTION="Happy Haskell Programming" +HOMEPAGE="http://www.mew.org/~kazu/proj/ghc-mod/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="emacs" + +RESTRICT=test # doctests break on modules collisions: temporary / temporary-rc + +RDEPEND=">=dev-haskell/binary-0.5.1.0:=[profile?] =dev-haskell/cabal-helper-0.6.3.0:=[profile?] =dev-haskell/djinn-ghc-0.0.2.2:=[profile?] =dev-haskell/extra-1.4:2=[profile?] =dev-haskell/fclabels-2.0:=[profile?] =dev-haskell/hlint-1.8.61:=[profile?] =dev-haskell/monad-control-1.0:=[profile?] =dev-haskell/monad-journal-0.4:=[profile?] =dev-haskell/mtl-2.0:=[profile?] =dev-haskell/optparse-applicative-0.11.0:=[profile?] =dev-haskell/pipes-4.1:=[profile?] =dev-haskell/safe-0.3.9:=[profile?] =dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.14 + test? ( >=dev-haskell/doctest-0.9.3 + dev-haskell/executable-path + >=dev-haskell/hspec-2.0.0 ) +" +SITEFILE=50${PN}-gentoo.el + +src_prepare() { + epatch "${FILESDIR}"/${PN}-5.6.0.0-gentoo.patch +} + +src_compile() { + haskell-cabal_src_compile + if use emacs ; then + pushd elisp + elisp-compile *.el || die + popd + fi +} + +src_install() { + haskell-cabal_src_install + if use emacs ; then + pushd "${S}" + elisp-install ghc-mod elisp/*.{el,elc} + elisp-site-file-install "${FILESDIR}"/${SITEFILE} + popd + fi +} + +pkg_postinst() { + haskell-cabal_pkg_postinst + if use emacs ; then + elisp-site-regen + elog "To configure ghc-mod either add this line to ~/.emacs:" + elog "(autoload 'ghc-init \"ghc\" nil t)" + elog "and either this line:" + elog "(add-hook 'haskell-mode-hook (lambda () (ghc-init)))" + elog "or if you wish to use flymake:" + elog "(add-hook 'haskell-mode-hook (lambda () (ghc-init) (flymake-mode)))" + fi +} + +pkg_postrm() { + haskell-cabal_pkg_postrm + if use emacs ; then + elisp-site-regen + fi +} diff --git a/app-emacs/ghc-mod/ghc-mod-5.7.0.0.ebuild b/app-emacs/ghc-mod/ghc-mod-5.7.0.0.ebuild new file mode 100644 index 000000000000..5820ecede9f8 --- /dev/null +++ b/app-emacs/ghc-mod/ghc-mod-5.7.0.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ebuild generated by hackport 0.5.1.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit elisp-common haskell-cabal + +DESCRIPTION="Happy Haskell Programming" +HOMEPAGE="http://www.mew.org/~kazu/proj/ghc-mod/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="emacs" + +RESTRICT=test # doctests break on modules collisions: temporary / temporary-rc + +RDEPEND=">=dev-haskell/cabal-helper-0.7.3.0:=[profile?] =dev-haskell/djinn-ghc-0.0.2.2:=[profile?] =dev-haskell/extra-1.4.0:=[profile?] =dev-haskell/fclabels-2.0:=[profile?] =dev-haskell/ghc-paths-0.1.0.9:=[profile?] =dev-haskell/ghc-syb-utils-0.2.3:=[profile?] =dev-haskell/haskell-src-exts-1.16.0.1:=[profile?] =dev-haskell/hlint-1.9.27:=[profile?] =dev-haskell/monad-control-1:=[profile?] =dev-haskell/monad-journal-0.4:=[profile?] =dev-haskell/mtl-2.0:=[profile?] =dev-haskell/optparse-applicative-0.11.0:=[profile?] =dev-haskell/pipes-4.1.0:=[profile?] =dev-haskell/safe-0.3.9:=[profile?] =dev-haskell/semigroups-0.10.0:=[profile?] =dev-haskell/split-0.2.2:=[profile?] =dev-haskell/syb-0.5.1:=[profile?] =dev-haskell/temporary-1.2.0.3:=[profile?] =dev-haskell/text-1.2.1.3:=[profile?] =dev-haskell/transformers-base-0.4.4:=[profile?] =dev-lang/ghc-7.8.2:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.18.1.3 =dev-haskell/doctest-0.9.3 =dev-haskell/hspec-2.0.0 + + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + haskell@gentoo.org + Gentoo Haskell + + + This packages includes Elisp files and a Haskell command, "ghc-mod". + "ghc*.el" enable completion of Haskell symbols on Emacs. Flymake is + also integrated. "ghc-mod" is a backend of "ghc*.el". It lists up + all installed modules or extracts names of functions, classes, and + data declarations. + + + -- cgit v1.2.3