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: Tue, 30 Jan 2018 10:14:43
Message-Id: 1517307270.522a24ea728049e16f9b156832f5c85add6e4a76.polynomial-c@gentoo
1 commit: 522a24ea728049e16f9b156832f5c85add6e4a76
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 30 09:15:08 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 30 10:14:30 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=522a24ea
7
8 app-editors/nano: Removed old.
9
10 Package-Manager: Portage-2.3.21, Repoman-2.3.6
11
12 app-editors/nano/Manifest | 2 -
13 app-editors/nano/nano-2.7.5.ebuild | 83 --------------------------------------
14 app-editors/nano/nano-2.9.1.ebuild | 83 --------------------------------------
15 3 files changed, 168 deletions(-)
16
17 diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest
18 index bd18410966a..601f4559b1e 100644
19 --- a/app-editors/nano/Manifest
20 +++ b/app-editors/nano/Manifest
21 @@ -1,5 +1,3 @@
22 -DIST nano-2.7.5.tar.gz 2031723 BLAKE2B 30cd6418c438d6a908d7bf0f64151f6fa3c9aa41f0c2657a1146c1702fa9ed517349f784af7aa18c8a1cb3f93d5819ed31d153d1dad3dde5232306dc6dad8cb0 SHA512 a5332a361c4d0d9d0a77ebb11cdcffa976bee4981d5665b2732a9e6d7a2997566d9345332f2e6e5cb74f0a81be4413f54ca8f719962ab10b32d7ec1c9271973c
23 DIST nano-2.8.7.tar.gz 2822417 BLAKE2B 2559497b9aee4d4c3cfc86e8af6a54bc0af58588c7bd1142a0e97c6ce50aed66c3852745b83a457263659e97592f0775dcc94c44d818e20440b6524202bfe49a SHA512 511b57f8fe82872827829bca91f7a8666a6ee75924cf2c853332ddd0467abf281c6d3cbaa5dd208c579cbace5bef23d36bd7b62be116aa2175262ed1d15aaf79
24 -DIST nano-2.9.1.tar.gz 2839465 BLAKE2B e0d443dc3c86446478edad73042c6b4698a86fdfe3727deac858fa99d52bf319e2b3a120ba57bf79f3b78d9d3d7e8f4b5bdee234f6450882fee06647be371191 SHA512 7eeefd4cb5f02f1ac14ca10c536f873a1a85f3a5ccc5d5c40a12770b26dd0d5b0bbb3a0770b394779c8234891d7226e0d06d72465d7687c971bc62606100d0b6
25 DIST nano-2.9.2.tar.gz 2839256 BLAKE2B 6e27ad0ff72a17461d614f2222ef33bf2abaaa0f4576a8e378524b090c702adafa86e78d976cf5b5dcd2ca1da802aeeff9b3f4bc5e81fa31b8164ef2979708d6 SHA512 b45afb593a04029a137f49551242f2dae901482878cca4aac6cba1c0c8af38a83994daadbd025e90f019cfa9d1273784de4491bbadf47104914904af804661d1
26 DIST nano-2.9.3.tar.gz 2874342 BLAKE2B f0983af89037c15747e416df8b156d325994244dce3a1d3339a0a34597d6b25a1888132d28b393cde36c7fd18375036816a9e7f6b26afe8a85ea32b27dee4969 SHA512 cce389a00dc4db899d7f73522e991bee5fa1fd0538a1af08aa75563e29e6cfba38b53acbba1d95e7876f3cac6298b5cada102d700334446419aadfe61ac18d2a
27
28 diff --git a/app-editors/nano/nano-2.7.5.ebuild b/app-editors/nano/nano-2.7.5.ebuild
29 deleted file mode 100644
30 index 1b7c160db48..00000000000
31 --- a/app-editors/nano/nano-2.7.5.ebuild
32 +++ /dev/null
33 @@ -1,83 +0,0 @@
34 -# Copyright 1999-2018 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI="5"
38 -
39 -inherit eutils flag-o-matic
40 -if [[ ${PV} == "9999" ]] ; then
41 - EGIT_REPO_URI="git://git.sv.gnu.org/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:3}/${MY_P}.tar.gz"
46 - KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~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 slang +spell 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 - !ncurses? ( slang? ( sys-libs/slang[static-libs(+)] ) )"
61 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
62 -DEPEND="${RDEPEND}
63 - nls? ( sys-devel/gettext )
64 - virtual/pkgconfig
65 - static? ( ${LIB_DEPEND} )"
66 -
67 -src_prepare() {
68 - if [[ ${PV} == "9999" ]] ; then
69 - eautoreconf
70 - fi
71 - epatch_user
72 -}
73 -
74 -src_configure() {
75 - use static && append-ldflags -static
76 - local myconf=()
77 - case ${CHOST} in
78 - *-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848
79 - esac
80 - econf \
81 - --bindir="${EPREFIX}"/bin \
82 - --htmldir=/trash \
83 - $(use_enable !minimal color) \
84 - $(use_enable !minimal multibuffer) \
85 - $(use_enable !minimal nanorc) \
86 - --disable-wrapping-as-root \
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 - "${myconf[@]}"
96 -}
97 -
98 -src_install() {
99 - default
100 - rm -rf "${D}"/trash
101 -
102 - dodoc doc/sample.nanorc
103 - docinto html
104 - dodoc doc/faq.html
105 - insinto /etc
106 - newins doc/sample.nanorc nanorc
107 - if ! use minimal ; then
108 - # Enable colorization by default.
109 - sed -i \
110 - -e '/^# include /s:# *::' \
111 - "${ED}"/etc/nanorc || die
112 - fi
113 -
114 - dodir /usr/bin
115 - dosym /bin/nano /usr/bin/nano
116 -}
117
118 diff --git a/app-editors/nano/nano-2.9.1.ebuild b/app-editors/nano/nano-2.9.1.ebuild
119 deleted file mode 100644
120 index 74791e40685..00000000000
121 --- a/app-editors/nano/nano-2.9.1.ebuild
122 +++ /dev/null
123 @@ -1,83 +0,0 @@
124 -# Copyright 1999-2018 Gentoo Foundation
125 -# Distributed under the terms of the GNU General Public License v2
126 -
127 -EAPI="6"
128 -
129 -inherit eutils flag-o-matic
130 -if [[ ${PV} == "9999" ]] ; then
131 - EGIT_REPO_URI="git://git.sv.gnu.org/nano.git"
132 - inherit git-r3 autotools
133 -else
134 - MY_P=${PN}-${PV/_}
135 - SRC_URI="https://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
136 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
137 -fi
138 -
139 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
140 -HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide"
141 -
142 -LICENSE="GPL-3"
143 -SLOT="0"
144 -IUSE="debug justify +magic minimal ncurses nls slang +spell static unicode"
145 -
146 -LIB_DEPEND=">=sys-libs/ncurses-5.9-r1:0=[unicode?]
147 - sys-libs/ncurses:0=[static-libs(+)]
148 - magic? ( sys-apps/file[static-libs(+)] )
149 - nls? ( virtual/libintl )
150 - !ncurses? ( slang? ( sys-libs/slang[static-libs(+)] ) )"
151 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
152 -DEPEND="${RDEPEND}
153 - nls? ( sys-devel/gettext )
154 - virtual/pkgconfig
155 - static? ( ${LIB_DEPEND} )"
156 -
157 -src_prepare() {
158 - default
159 - if [[ ${PV} == "9999" ]] ; then
160 - eautoreconf
161 - fi
162 -}
163 -
164 -src_configure() {
165 - use static && append-ldflags -static
166 - local myconf=(
167 - --bindir="${EPREFIX}"/bin
168 - --htmldir=/trash
169 - $(use_enable !minimal color)
170 - $(use_enable !minimal multibuffer)
171 - $(use_enable !minimal nanorc)
172 - --disable-wrapping-as-root
173 - $(use_enable magic libmagic)
174 - $(use_enable spell speller)
175 - $(use_enable justify)
176 - $(use_enable debug)
177 - $(use_enable nls)
178 - $(use_enable unicode utf8)
179 - $(use_enable minimal tiny)
180 - $(usex ncurses --without-slang $(use_with slang))
181 - )
182 - case ${CHOST} in
183 - *-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848
184 - esac
185 - econf "${myconf[@]}"
186 -}
187 -
188 -src_install() {
189 - default
190 - rm -rf "${D}"/trash
191 -
192 - dodoc doc/sample.nanorc
193 - docinto html
194 - dodoc doc/faq.html
195 - insinto /etc
196 - newins doc/sample.nanorc nanorc
197 - if ! use minimal ; then
198 - # Enable colorization by default.
199 - sed -i \
200 - -e '/^# include /s:# *::' \
201 - "${ED%/}"/etc/nanorc || die
202 - fi
203 -
204 - dodir /usr/bin
205 - dosym ../../bin/nano /usr/bin/nano
206 -}