1 |
commit: b25230c9155672bbc1a7400a5a8515350269dfef |
2 |
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> |
3 |
AuthorDate: Wed Apr 12 00:44:19 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 7 18:29:08 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b25230c9 |
7 |
|
8 |
app-editors/vis: new package, #613820 |
9 |
|
10 |
app-editors/vis/Manifest | 1 + |
11 |
app-editors/vis/metadata.xml | 17 +++++++++++++++++ |
12 |
app-editors/vis/vis-0.3.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ |
13 |
app-editors/vis/vis-9999.ebuild | 40 ++++++++++++++++++++++++++++++++++++++++ |
14 |
4 files changed, 97 insertions(+) |
15 |
|
16 |
diff --git a/app-editors/vis/Manifest b/app-editors/vis/Manifest |
17 |
new file mode 100644 |
18 |
index 00000000000..e097689917e |
19 |
--- /dev/null |
20 |
+++ b/app-editors/vis/Manifest |
21 |
@@ -0,0 +1 @@ |
22 |
+DIST vis-0.3.tar.gz 334216 SHA256 bed8ed32ef4f81bc4fd28e297ea8edc80027ac6923b9d3b5bd955d24899c7077 SHA512 e1ca009bd7569f22dacf7464791f9f4499695d15d6e38e1be491d39e7ebe0530de643be5c1e7647e9beb7969a17efab6545d3e719fe8cf311562e89d636bba62 WHIRLPOOL a0ddd69b88b4131d4b9c2ba5494e255f20cd99f91998e4ad4fcec3e0298e39d9319571201b8ae4c8b4d21da78b99d865d72bfb534024a89863d66b9968e562c8 |
23 |
|
24 |
diff --git a/app-editors/vis/metadata.xml b/app-editors/vis/metadata.xml |
25 |
new file mode 100644 |
26 |
index 00000000000..0226bf9ceda |
27 |
--- /dev/null |
28 |
+++ b/app-editors/vis/metadata.xml |
29 |
@@ -0,0 +1,17 @@ |
30 |
+<?xml version="1.0" encoding="UTF-8"?> |
31 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
32 |
+<pkgmetadata> |
33 |
+<maintainer type="person"> |
34 |
+ <email>contact@×××××××××.me</email> |
35 |
+</maintainer> |
36 |
+<maintainer type="project"> |
37 |
+ <email>proxy-maint@g.o</email> |
38 |
+ <name>Proxy Maintainers</name> |
39 |
+</maintainer> |
40 |
+<longdescription lang="en"> |
41 |
+Vis aims to be a modern, legacy free, simple yet efficient editor combining the strengths of both vi(m) and sam. |
42 |
+</longdescription> |
43 |
+<use> |
44 |
+ <flag name="tre">more memory efficient regex search using <pkg>dev-libs/tre</pkg></flag> |
45 |
+</use> |
46 |
+</pkgmetadata> |
47 |
|
48 |
diff --git a/app-editors/vis/vis-0.3.ebuild b/app-editors/vis/vis-0.3.ebuild |
49 |
new file mode 100644 |
50 |
index 00000000000..e6ef1b66306 |
51 |
--- /dev/null |
52 |
+++ b/app-editors/vis/vis-0.3.ebuild |
53 |
@@ -0,0 +1,39 @@ |
54 |
+# Copyright 1999-2017 Gentoo Foundation |
55 |
+# Distributed under the terms of the GNU General Public License v2 |
56 |
+ |
57 |
+EAPI=5 |
58 |
+ |
59 |
+DESCRIPTION="modern, legacy free, simple yet efficient vim-like editor" |
60 |
+HOMEPAGE="https://github.com/martanne/vis" |
61 |
+SRC_URI="https://github.com/martanne/vis/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
62 |
+LICENSE="ISC" |
63 |
+SLOT="0" |
64 |
+KEYWORDS="~amd64 ~x86" |
65 |
+IUSE="+ncurses selinux tre" |
66 |
+ |
67 |
+#Note: vis is reported to also work with NetBSD curses |
68 |
+#TODO: >=dev-lang/lua-5.2 (needed for syntax highlighting and settings) |
69 |
+DEPEND=" dev-libs/libtermkey |
70 |
+ ncurses? ( sys-libs/ncurses:0= ) |
71 |
+ tre? ( dev-libs/tre:= )" |
72 |
+RDEPEND="${DEPEND}" |
73 |
+ |
74 |
+src_configure() { |
75 |
+ econf \ |
76 |
+ $(use_enable ncurses curses) \ |
77 |
+ $(use_enable selinux) \ |
78 |
+ $(use_enable tre) |
79 |
+} |
80 |
+ |
81 |
+update_symlinks() { |
82 |
+ einfo "Calling eselect vi update --if-unset…" |
83 |
+ eselect vi update --if-unset |
84 |
+} |
85 |
+ |
86 |
+pkg_postrm() { |
87 |
+ update_symlinks |
88 |
+} |
89 |
+ |
90 |
+pkg_postinst() { |
91 |
+ update_symlinks |
92 |
+} |
93 |
|
94 |
diff --git a/app-editors/vis/vis-9999.ebuild b/app-editors/vis/vis-9999.ebuild |
95 |
new file mode 100644 |
96 |
index 00000000000..55adf200601 |
97 |
--- /dev/null |
98 |
+++ b/app-editors/vis/vis-9999.ebuild |
99 |
@@ -0,0 +1,40 @@ |
100 |
+# Copyright 1999-2017 Gentoo Foundation |
101 |
+# Distributed under the terms of the GNU General Public License v2 |
102 |
+ |
103 |
+EAPI=5 |
104 |
+inherit git-r3 |
105 |
+ |
106 |
+DESCRIPTION="modern, legacy free, simple yet efficient vim-like editor" |
107 |
+HOMEPAGE="https://github.com/martanne/vis" |
108 |
+EGIT_REPO_URI="https://github.com/martanne/vis.git" |
109 |
+LICENSE="ISC" |
110 |
+SLOT="0" |
111 |
+KEYWORDS="" |
112 |
+IUSE="+ncurses selinux tre" |
113 |
+ |
114 |
+#Note: vis is reported to also work with NetBSD curses |
115 |
+#TODO: >=dev-lang/lua-5.2 (needed for syntax highlighting and settings) |
116 |
+DEPEND=" dev-libs/libtermkey |
117 |
+ ncurses? ( sys-libs/ncurses:0= ) |
118 |
+ tre? ( dev-libs/tre:= )" |
119 |
+RDEPEND="${DEPEND}" |
120 |
+ |
121 |
+src_configure() { |
122 |
+ econf \ |
123 |
+ $(use_enable ncurses curses) \ |
124 |
+ $(use_enable selinux) \ |
125 |
+ $(use_enable tre) |
126 |
+} |
127 |
+ |
128 |
+update_symlinks() { |
129 |
+ einfo "Calling eselect vi update --if-unset…" |
130 |
+ eselect vi update --if-unset |
131 |
+} |
132 |
+ |
133 |
+pkg_postrm() { |
134 |
+ update_symlinks |
135 |
+} |
136 |
+ |
137 |
+pkg_postinst() { |
138 |
+ update_symlinks |
139 |
+} |