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: Thu, 29 Apr 2021 17:59:42
Message-Id: 1619719160.5b58acbae96addcc46b3f7640fb51076cf7bef74.polynomial-c@gentoo
1 commit: 5b58acbae96addcc46b3f7640fb51076cf7bef74
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 29 17:58:48 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 29 17:59:20 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b58acba
7
8 app-editors/nano: Removed old
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 app-editors/nano/Manifest | 2 -
13 app-editors/nano/nano-5.5.ebuild | 89 ----------------------------------------
14 app-editors/nano/nano-5.6.ebuild | 89 ----------------------------------------
15 3 files changed, 180 deletions(-)
16
17 diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest
18 index 84687f49ba5..b7972680b95 100644
19 --- a/app-editors/nano/Manifest
20 +++ b/app-editors/nano/Manifest
21 @@ -1,5 +1,3 @@
22 DIST nano-5.3.tar.gz 2874796 BLAKE2B d266018f2508153369e10c6f9cf4c53eaeafdf0efe88da6de19efd76ef13fedebe4b9339ae594b751a12cf18a8c4dcd57466ceedfabf61406f63b69c75fceff1 SHA512 019b58779f5a7d9a9472b415715876d0daac313a02b794900339469ee0b5a27ce202e397c00ad6396b7e26a7c303e52c28d981fff85cf774c79a5a8a9835836d
23 -DIST nano-5.5.tar.gz 2943973 BLAKE2B cecc4b3bb74c6ca35a249052cc58df618b6a0445781813d1b06164afb3d119bedf49bdb0a04c327d4db968eeb5b0f1087b84184b83d4b92548c3146a4400389d SHA512 968eac59db2889ba1cb75bc83a30fd0c0ae370a05c668da0f3a20768158f3be0962034737924ea49f06e696e68625bc6841f41aae86aebbe8ba7c00b2627c056
24 DIST nano-5.6.1.tar.gz 2957693 BLAKE2B dbd1a63b6e0997a30a2ef40ad3248a7f53e2613d4662d5b9fc585bd0e2dfe78f8e8c71354e1a5bbf043ca99e0a69742df7846656d1f0706af79bcbfc53b6d1a6 SHA512 e27ca4411472409bd6ff8d812405e4d8aa869c1348c0a6adbb1c538fb5bdd112b322ef6d8a13df0b43c472d925b94111ac676d03f360d79181dee335a4fd09cf
25 -DIST nano-5.6.tar.gz 2956090 BLAKE2B 753c49e67403577ac272438b2a577f29978f621cb1823f3ccc4fb5df229b805c72a7123d5e5632cb9e1d4b50c7cf90675d748e7e88709703be44126e11231974 SHA512 fff8a558b435b9f372f19306e63c3bad34a60b4b1979ddf2a5724f96ca69fd7fd5850e841f714fad2e382ffc8e5c3f5085f6a6e965ff30f44bf12b8ac865fe6b
26 DIST nano-5.7.tar.gz 2989413 BLAKE2B 604f3140bd963661bb7d13933b5bac867bcfd90635287dc8f160e4bda094641c20f2fe2157fe1b5eda28842f78c4e651a354ed6edcafe67b4f2bf6c9eda0051c SHA512 f6d580918c488b15a5f8f77b4b52ea3e86535c251fe32dd978bae014bcadd543a5696f7741018ffd05b6271c1defe6a67687577f3cfe059ed2b4d3e422b2a694
27
28 diff --git a/app-editors/nano/nano-5.5.ebuild b/app-editors/nano/nano-5.5.ebuild
29 deleted file mode 100644
30 index aaa4c882984..00000000000
31 --- a/app-editors/nano/nano-5.5.ebuild
32 +++ /dev/null
33 @@ -1,89 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -inherit flag-o-matic
40 -if [[ ${PV} == "9999" ]] ; then
41 - EGIT_REPO_URI="https://git.savannah.gnu.org/git/nano.git"
42 - inherit git-r3 autotools
43 -else
44 - MY_P="${PN}-${PV/_}"
45 - SRC_URI="https://www.nano-editor.org/dist/v${PV:0:1}/${MY_P}.tar.gz"
46 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
47 -fi
48 -
49 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
50 -HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide"
51 -
52 -LICENSE="GPL-3"
53 -SLOT="0"
54 -IUSE="debug justify magic minimal ncurses nls +spell +split-usr static unicode"
55 -
56 -LIB_DEPEND=">=sys-libs/ncurses-5.9-r1:0=[unicode?]
57 - sys-libs/ncurses:0=[static-libs(+)]
58 - magic? ( sys-apps/file[static-libs(+)] )
59 - nls? ( virtual/libintl )"
60 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
61 -DEPEND="${RDEPEND}
62 - static? ( ${LIB_DEPEND} )"
63 -BDEPEND="
64 - nls? ( sys-devel/gettext )
65 - virtual/pkgconfig
66 -"
67 -
68 -REQUIRED_USE="
69 - magic? ( !minimal )
70 -"
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 - )
95 - econf "${myconf[@]}"
96 -}
97 -
98 -src_install() {
99 - default
100 - # don't use "${ED}" here or things break (#654534)
101 - rm -r "${D}"/trash || die
102 -
103 - dodoc doc/sample.nanorc
104 - docinto html
105 - dodoc doc/faq.html
106 - insinto /etc
107 - newins doc/sample.nanorc nanorc
108 - if ! use minimal ; then
109 - # Enable colorization by default.
110 - sed -i \
111 - -e '/^# include /s:# *::' \
112 - "${ED}"/etc/nanorc || die
113 -
114 - # Since nano-5.0 these are no longer being "enabled" by default
115 - # (bug #736848)
116 - local rcdir="/usr/share/nano"
117 - mv "${ED}"${rcdir}/extra/* "${ED}"/${rcdir}/ || die
118 - rmdir "${ED}"${rcdir}/extra || die
119 - fi
120 -
121 - use split-usr && dosym ../../bin/nano /usr/bin/nano
122 -}
123
124 diff --git a/app-editors/nano/nano-5.6.ebuild b/app-editors/nano/nano-5.6.ebuild
125 deleted file mode 100644
126 index aaa4c882984..00000000000
127 --- a/app-editors/nano/nano-5.6.ebuild
128 +++ /dev/null
129 @@ -1,89 +0,0 @@
130 -# Copyright 1999-2021 Gentoo Authors
131 -# Distributed under the terms of the GNU General Public License v2
132 -
133 -EAPI=7
134 -
135 -inherit flag-o-matic
136 -if [[ ${PV} == "9999" ]] ; then
137 - EGIT_REPO_URI="https://git.savannah.gnu.org/git/nano.git"
138 - inherit git-r3 autotools
139 -else
140 - MY_P="${PN}-${PV/_}"
141 - SRC_URI="https://www.nano-editor.org/dist/v${PV:0:1}/${MY_P}.tar.gz"
142 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
143 -fi
144 -
145 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
146 -HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide"
147 -
148 -LICENSE="GPL-3"
149 -SLOT="0"
150 -IUSE="debug justify magic minimal ncurses nls +spell +split-usr static unicode"
151 -
152 -LIB_DEPEND=">=sys-libs/ncurses-5.9-r1:0=[unicode?]
153 - sys-libs/ncurses:0=[static-libs(+)]
154 - magic? ( sys-apps/file[static-libs(+)] )
155 - nls? ( virtual/libintl )"
156 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
157 -DEPEND="${RDEPEND}
158 - static? ( ${LIB_DEPEND} )"
159 -BDEPEND="
160 - nls? ( sys-devel/gettext )
161 - virtual/pkgconfig
162 -"
163 -
164 -REQUIRED_USE="
165 - magic? ( !minimal )
166 -"
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 - )
191 - econf "${myconf[@]}"
192 -}
193 -
194 -src_install() {
195 - default
196 - # don't use "${ED}" here or things break (#654534)
197 - rm -r "${D}"/trash || die
198 -
199 - dodoc doc/sample.nanorc
200 - docinto html
201 - dodoc doc/faq.html
202 - insinto /etc
203 - newins doc/sample.nanorc nanorc
204 - if ! use minimal ; then
205 - # Enable colorization by default.
206 - sed -i \
207 - -e '/^# include /s:# *::' \
208 - "${ED}"/etc/nanorc || die
209 -
210 - # Since nano-5.0 these are no longer being "enabled" by default
211 - # (bug #736848)
212 - local rcdir="/usr/share/nano"
213 - mv "${ED}"${rcdir}/extra/* "${ED}"/${rcdir}/ || die
214 - rmdir "${ED}"${rcdir}/extra || die
215 - fi
216 -
217 - use split-usr && dosym ../../bin/nano /usr/bin/nano
218 -}