Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-vim/vim2hs/
Date: Sun, 05 Nov 2017 23:36:08
Message-Id: 1509924957.3eb669ffb0a423507e71b746614dd5a40f1e545e.monsieurp@gentoo
1 commit: 3eb669ffb0a423507e71b746614dd5a40f1e545e
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 5 23:34:45 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 5 23:35:57 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eb669ff
7
8 app-vim/vim2hs: new package.
9
10 vim2hs is a collection of vimscripts for Haskell development.
11
12 Closes: https://bugs.gentoo.org/476450
13 Package-Manager: Portage-2.3.8, Repoman-2.3.3
14
15 app-vim/vim2hs/Manifest | 1 +
16 app-vim/vim2hs/metadata.xml | 11 +++++++++++
17 app-vim/vim2hs/vim2hs-0.1_p20171106.ebuild | 31 ++++++++++++++++++++++++++++++
18 3 files changed, 43 insertions(+)
19
20 diff --git a/app-vim/vim2hs/Manifest b/app-vim/vim2hs/Manifest
21 new file mode 100644
22 index 00000000000..b02f4f63677
23 --- /dev/null
24 +++ b/app-vim/vim2hs/Manifest
25 @@ -0,0 +1 @@
26 +DIST vim2hs-0.1_p20171106.tar.gz 259627 SHA256 7190ad8b7f205331d6485b584acfdca6c0b45aed4e5242e482110d17871bc728 SHA512 835ea1344f055af06843a327bf7294ae9fe0e735455b3c21d4fba56eab75f19b578ff8cd962f6527efee0e0f89084c9c2cd86d3944e0ac35b89b33a6047df4a0 WHIRLPOOL 40caa6f1fccd6b344e8b808c99387c4ecceec935fce219ba42587e59b9a390fc23e99c8bbbf7e7933a3c95975dc773c0be5363aee6ebaf6e4ac1b3131c891711
27
28 diff --git a/app-vim/vim2hs/metadata.xml b/app-vim/vim2hs/metadata.xml
29 new file mode 100644
30 index 00000000000..cf984477fc4
31 --- /dev/null
32 +++ b/app-vim/vim2hs/metadata.xml
33 @@ -0,0 +1,11 @@
34 +<?xml version="1.0" encoding="UTF-8"?>
35 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
36 +<pkgmetadata>
37 + <maintainer type="project">
38 + <email>vim@g.o</email>
39 + <name>Gentoo Vim Project</name>
40 + </maintainer>
41 + <upstream>
42 + <remote-id type="github">dag/vim2hs</remote-id>
43 + </upstream>
44 +</pkgmetadata>
45
46 diff --git a/app-vim/vim2hs/vim2hs-0.1_p20171106.ebuild b/app-vim/vim2hs/vim2hs-0.1_p20171106.ebuild
47 new file mode 100644
48 index 00000000000..4d8504e4b3a
49 --- /dev/null
50 +++ b/app-vim/vim2hs/vim2hs-0.1_p20171106.ebuild
51 @@ -0,0 +1,31 @@
52 +# Copyright 1999-2017 Gentoo Foundation
53 +# Distributed under the terms of the GNU General Public License v2
54 +
55 +EAPI=6
56 +
57 +inherit vim-plugin
58 +
59 +# Commit Date: 16 Apr 2014
60 +COMMIT="f2afd55704bfe0a2d66e6b270d247e9b8a7b1664"
61 +
62 +DESCRIPTION="vim plugin: collection of vimscripts for Haskell development"
63 +HOMEPAGE="https://github.com/dag/vim2hs"
64 +SRC_URI="https://github.com/dag/vim2hs/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
65 +
66 +LICENSE="MIT"
67 +KEYWORDS="~amd64 ~x86"
68 +
69 +RDEPEND="dev-lang/ghc"
70 +
71 +S="${WORKDIR}/${PN}-${COMMIT}"
72 +
73 +src_compile() { :; }
74 +
75 +src_install() {
76 + # We want a stripped-down version of these.
77 + local f
78 + for f in screenshots/*; do
79 + bzip2 -9 "${f}" || die
80 + done
81 + vim-plugin_src_install
82 +}