Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/nano/
Date: Wed, 07 Oct 2020 14:57:55
Message-Id: 1602082668.e4e8d2e9bb0824939b8273dab2afd92b46984e49.polynomial-c@gentoo
1 commit: e4e8d2e9bb0824939b8273dab2afd92b46984e49
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 7 14:51:24 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 7 14:57:48 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4e8d2e9
7
8 app-editors/nano: Removed old
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-editors/nano/Manifest | 2 -
14 app-editors/nano/nano-5.0-r1.ebuild | 89 -------------------------------------
15 app-editors/nano/nano-5.1.ebuild | 89 -------------------------------------
16 3 files changed, 180 deletions(-)
17
18 diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest
19 index ff6921bd88e..be38441a134 100644
20 --- a/app-editors/nano/Manifest
21 +++ b/app-editors/nano/Manifest
22 @@ -1,5 +1,3 @@
23 DIST nano-4.9.3.tar.gz 2999198 BLAKE2B a96f707936934a965a9a41dfe13ac1ebbe1a5e38db714df6d219b2c6539f24924d4c4f0451508718f66259854806032b84dc89850a7fd55d157f28ae23531d0e SHA512 233e6ed103441bd2c85ed21c50547f85dc0838cc750a5e9b16ecfb393e3b7b978e971af4a4164062c7c267c98895ecb696c02cbd2e4c2eb1ceee657fd026c30a
24 -DIST nano-5.0.tar.gz 3034734 BLAKE2B 03ea59c97c0e421ed92f588a2e6991f968b2f341761db66fda077ab827d00b9eb13930f08011f0028010e2005bb912ead723928b482a0532e924f85757a75569 SHA512 7e650676a15a185a9695eb49ae5cf441e3d42ae13817a9d3e64cb347c795840712778ac464fd5c578cc6464132206ee06dba52a06a218bcc865485ce3502a4bb
25 -DIST nano-5.1.tar.gz 2861977 BLAKE2B c826782683d26b4c27ffb82e8c4dabad543fe93f53d942bc6ad57b8acb7959595986216a1936d69b0a63b72da101de2c886995421db93c76ee842313799de78d SHA512 8007f40f27a1235d59f5559b6629a3a5a1a579a2356c8825dfef121f4ba7e6c5196e4cedea441c7e856f9add1e9739b14b4142a0a14dab90841110218149df11
26 DIST nano-5.2.tar.gz 2865091 BLAKE2B 3822b3fd8dede897d698401a06ea0b4b49bf39f48d16c750e273007b1795a8adfc71654eadc08039a5c6999973ff7e70148b4c720b32a8f361424404e3c2ff3f SHA512 4c77bcfdf704a7882e944cb6d4cd571b698447500255e5701d30990def56cec0c396a33c761b8149f3cc4208a8dcd0f39372804d54cbe6bc2db9244f4a2259b3
27 DIST nano-5.3.tar.gz 2874796 BLAKE2B d266018f2508153369e10c6f9cf4c53eaeafdf0efe88da6de19efd76ef13fedebe4b9339ae594b751a12cf18a8c4dcd57466ceedfabf61406f63b69c75fceff1 SHA512 019b58779f5a7d9a9472b415715876d0daac313a02b794900339469ee0b5a27ce202e397c00ad6396b7e26a7c303e52c28d981fff85cf774c79a5a8a9835836d
28
29 diff --git a/app-editors/nano/nano-5.0-r1.ebuild b/app-editors/nano/nano-5.0-r1.ebuild
30 deleted file mode 100644
31 index 86f22534c12..00000000000
32 --- a/app-editors/nano/nano-5.0-r1.ebuild
33 +++ /dev/null
34 @@ -1,89 +0,0 @@
35 -# Copyright 1999-2020 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -inherit flag-o-matic
41 -if [[ ${PV} == "9999" ]] ; then
42 - EGIT_REPO_URI="git://git.sv.gnu.org/nano.git"
43 - inherit git-r3 autotools
44 -else
45 - MY_P="${PN}-${PV/_}"
46 - SRC_URI="https://www.nano-editor.org/dist/v${PV:0:1}/${MY_P}.tar.gz"
47 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
48 -fi
49 -
50 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
51 -HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide"
52 -
53 -LICENSE="GPL-3"
54 -SLOT="0"
55 -IUSE="debug justify +magic minimal ncurses nls slang +spell +split-usr static unicode"
56 -
57 -LIB_DEPEND=">=sys-libs/ncurses-5.9-r1:0=[unicode?]
58 - sys-libs/ncurses:0=[static-libs(+)]
59 - magic? ( sys-apps/file[static-libs(+)] )
60 - nls? ( virtual/libintl )
61 - !ncurses? ( slang? ( sys-libs/slang[static-libs(+)] ) )"
62 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
63 -DEPEND="${RDEPEND}
64 - static? ( ${LIB_DEPEND} )"
65 -BDEPEND="
66 - nls? ( sys-devel/gettext )
67 - virtual/pkgconfig
68 -"
69 -
70 -REQUIRED_USE="!ncurses? ( slang? ( minimal ) )"
71 -
72 -src_prepare() {
73 - default
74 - if [[ ${PV} == "9999" ]] ; then
75 - eautoreconf
76 - fi
77 -}
78 -
79 -src_configure() {
80 - use static && append-ldflags -static
81 - local myconf=(
82 - --bindir="${EPREFIX}"/bin
83 - --htmldir=/trash
84 - $(use_enable !minimal color)
85 - $(use_enable !minimal multibuffer)
86 - $(use_enable !minimal nanorc)
87 - $(use_enable magic libmagic)
88 - $(use_enable spell speller)
89 - $(use_enable justify)
90 - $(use_enable debug)
91 - $(use_enable nls)
92 - $(use_enable unicode utf8)
93 - $(use_enable minimal tiny)
94 - $(usex ncurses --without-slang $(use_with slang))
95 - )
96 - econf "${myconf[@]}"
97 -}
98 -
99 -src_install() {
100 - default
101 - # don't use "${ED}" here or things break (#654534)
102 - rm -r "${D}"/trash || die
103 -
104 - dodoc doc/sample.nanorc
105 - docinto html
106 - dodoc doc/faq.html
107 - insinto /etc
108 - newins doc/sample.nanorc nanorc
109 - if ! use minimal ; then
110 - # Enable colorization by default.
111 - sed -i \
112 - -e '/^# include /s:# *::' \
113 - "${ED}"/etc/nanorc || die
114 -
115 - # Since nano-5.0 these are no longer being "enabled" by default
116 - # (bug #736848)
117 - local rcdir="/usr/share/nano"
118 - mv "${ED}"${rcdir}/extra/* "${ED}"/${rcdir}/ || die
119 - rmdir "${ED}"${rcdir}/extra || die
120 - fi
121 -
122 - use split-usr && dosym ../../bin/nano /usr/bin/nano
123 -}
124
125 diff --git a/app-editors/nano/nano-5.1.ebuild b/app-editors/nano/nano-5.1.ebuild
126 deleted file mode 100644
127 index 86f22534c12..00000000000
128 --- a/app-editors/nano/nano-5.1.ebuild
129 +++ /dev/null
130 @@ -1,89 +0,0 @@
131 -# Copyright 1999-2020 Gentoo Authors
132 -# Distributed under the terms of the GNU General Public License v2
133 -
134 -EAPI=7
135 -
136 -inherit flag-o-matic
137 -if [[ ${PV} == "9999" ]] ; then
138 - EGIT_REPO_URI="git://git.sv.gnu.org/nano.git"
139 - inherit git-r3 autotools
140 -else
141 - MY_P="${PN}-${PV/_}"
142 - SRC_URI="https://www.nano-editor.org/dist/v${PV:0:1}/${MY_P}.tar.gz"
143 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
144 -fi
145 -
146 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
147 -HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide"
148 -
149 -LICENSE="GPL-3"
150 -SLOT="0"
151 -IUSE="debug justify +magic minimal ncurses nls slang +spell +split-usr static unicode"
152 -
153 -LIB_DEPEND=">=sys-libs/ncurses-5.9-r1:0=[unicode?]
154 - sys-libs/ncurses:0=[static-libs(+)]
155 - magic? ( sys-apps/file[static-libs(+)] )
156 - nls? ( virtual/libintl )
157 - !ncurses? ( slang? ( sys-libs/slang[static-libs(+)] ) )"
158 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
159 -DEPEND="${RDEPEND}
160 - static? ( ${LIB_DEPEND} )"
161 -BDEPEND="
162 - nls? ( sys-devel/gettext )
163 - virtual/pkgconfig
164 -"
165 -
166 -REQUIRED_USE="!ncurses? ( slang? ( minimal ) )"
167 -
168 -src_prepare() {
169 - default
170 - if [[ ${PV} == "9999" ]] ; then
171 - eautoreconf
172 - fi
173 -}
174 -
175 -src_configure() {
176 - use static && append-ldflags -static
177 - local myconf=(
178 - --bindir="${EPREFIX}"/bin
179 - --htmldir=/trash
180 - $(use_enable !minimal color)
181 - $(use_enable !minimal multibuffer)
182 - $(use_enable !minimal nanorc)
183 - $(use_enable magic libmagic)
184 - $(use_enable spell speller)
185 - $(use_enable justify)
186 - $(use_enable debug)
187 - $(use_enable nls)
188 - $(use_enable unicode utf8)
189 - $(use_enable minimal tiny)
190 - $(usex ncurses --without-slang $(use_with slang))
191 - )
192 - econf "${myconf[@]}"
193 -}
194 -
195 -src_install() {
196 - default
197 - # don't use "${ED}" here or things break (#654534)
198 - rm -r "${D}"/trash || die
199 -
200 - dodoc doc/sample.nanorc
201 - docinto html
202 - dodoc doc/faq.html
203 - insinto /etc
204 - newins doc/sample.nanorc nanorc
205 - if ! use minimal ; then
206 - # Enable colorization by default.
207 - sed -i \
208 - -e '/^# include /s:# *::' \
209 - "${ED}"/etc/nanorc || die
210 -
211 - # Since nano-5.0 these are no longer being "enabled" by default
212 - # (bug #736848)
213 - local rcdir="/usr/share/nano"
214 - mv "${ED}"${rcdir}/extra/* "${ED}"/${rcdir}/ || die
215 - rmdir "${ED}"${rcdir}/extra || die
216 - fi
217 -
218 - use split-usr && dosym ../../bin/nano /usr/bin/nano
219 -}