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: Mon, 08 May 2017 13:01:36
Message-Id: 1494248486.5ace15b191e3adc93364e8e86b17edde62ef4107.polynomial-c@gentoo
1 commit: 5ace15b191e3adc93364e8e86b17edde62ef4107
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 8 13:00:15 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon May 8 13:01:26 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ace15b1
7
8 app-editors/nano: Removed old.
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 app-editors/nano/Manifest | 2 -
13 app-editors/nano/nano-2.5.3.ebuild | 82 -------------------------------------
14 app-editors/nano/nano-2.7.4.ebuild | 83 --------------------------------------
15 3 files changed, 167 deletions(-)
16
17 diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest
18 index 747719c67fa..7bc9984ae1c 100644
19 --- a/app-editors/nano/Manifest
20 +++ b/app-editors/nano/Manifest
21 @@ -1,5 +1,3 @@
22 -DIST nano-2.5.3.tar.gz 1967760 SHA256 b2b060129b9feff2d4870d803a441178c96531de9aed144ec0b83bd63ccb12ee SHA512 1d859f0bd88b9d907cfcaa84edc212bcaea4335c203922eb5b7378c2b45d88dffe1f3e4cb499a824d33781485834ef564997c58cf1fd92610d08f6ce8dcb67d5 WHIRLPOOL a2ca1c41d3cb26756cc9aba5b5fa0aeaea220626b98d0abfa1c5c4d4d57c3a5ef688d5edf00a6a00849ee25a67b2bbab93c4d454f6eb5a204b10fa01de3e298f
23 DIST nano-2.6.3.tar.gz 2019354 SHA256 4f4054e12f2181c8e436163e931a0a565612242ff9e566c4d1adeda0f91fd503 SHA512 5079c0da976e3cfef9f3980e37c2501837bc66bb98fadd6fe7f02b061b83c99454678833fd43c74e6796cdc4ee9028ccba7a8a05e0f86e7a6517ba4d4c6bc95e WHIRLPOOL 94520ca9c7a11342133adfd3a1e9e9c77a6c07ab18b1b51bf39918b331abc6bd7ebeb937c2ec8ed3e59b8d0468e40f4e5811e66a8aecd469ad42c595c1b61fe4
24 -DIST nano-2.7.4.tar.gz 2023560 SHA256 23ffc2de52d687739fed6dc2fc94df36aa7da7bb52c8740c523fdd7336fdbc8c SHA512 029fa2ef72a8762f376f1cfc3f4cdcabfcb226868e5c68c5980162333099f23e74e77da2dda66b4e70e2840b9a0e472db821248327b417b3cf5132093eeb80ee WHIRLPOOL 9fb363d52c538165d73828aec6564cf9b79612e2fd489c3edfa4db8049d676cba2c668f4f704df4fc31f9b6cea738c63fc2b2c3e0b0d0cde0b1f72a4226bc391
25 DIST nano-2.7.5.tar.gz 2031723 SHA256 226be22f46359007aa76499623739f4a7d5fa294a2899c70b21bc09b8d81d907 SHA512 a5332a361c4d0d9d0a77ebb11cdcffa976bee4981d5665b2732a9e6d7a2997566d9345332f2e6e5cb74f0a81be4413f54ca8f719962ab10b32d7ec1c9271973c WHIRLPOOL bd28cde96896ad531bb499504bb1438b358b64e7f6080fa24758bee7c222b4d1df0c395d480d0cef54de8e78a7e457db403a9ef2d6a56033e65299b6d7f95634
26 DIST nano-2.8.2.tar.gz 2778849 SHA256 0aa9cd6bd5b372ce9a196a9677af58c1826a9235a14daffe604100a9c259854b SHA512 7f4626de4bf8c2250e494c6682743ad599632023a839acff66685ac045a88789061c0a6fc70eba7c3c57f960e633acf425b033d1cc5fbfa644b422515b810f75 WHIRLPOOL a1bfff134cfff6d9f203d252303822d383b206311a738020f771c0222863b58bff33b646336bfe78941112ea01a39a2e013684e660bac0e98f4f3d1a1d65adbb
27
28 diff --git a/app-editors/nano/nano-2.5.3.ebuild b/app-editors/nano/nano-2.5.3.ebuild
29 deleted file mode 100644
30 index bad5fac1fb3..00000000000
31 --- a/app-editors/nano/nano-2.5.3.ebuild
32 +++ /dev/null
33 @@ -1,82 +0,0 @@
34 -# Copyright 1999-2017 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 - ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano"
42 - inherit subversion autotools
43 -else
44 - MY_P=${PN}-${PV/_}
45 - SRC_URI="http://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 ~sparc-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="http://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/nanorc.sample
103 - dohtml doc/faq.html
104 - insinto /etc
105 - newins doc/nanorc.sample nanorc
106 - if ! use minimal ; then
107 - # Enable colorization by default.
108 - sed -i \
109 - -e '/^# include /s:# *::' \
110 - "${ED}"/etc/nanorc || die
111 - fi
112 -
113 - dodir /usr/bin
114 - dosym /bin/nano /usr/bin/nano
115 -}
116
117 diff --git a/app-editors/nano/nano-2.7.4.ebuild b/app-editors/nano/nano-2.7.4.ebuild
118 deleted file mode 100644
119 index d649a737fcd..00000000000
120 --- a/app-editors/nano/nano-2.7.4.ebuild
121 +++ /dev/null
122 @@ -1,83 +0,0 @@
123 -# Copyright 1999-2017 Gentoo Foundation
124 -# Distributed under the terms of the GNU General Public License v2
125 -
126 -EAPI="5"
127 -
128 -inherit eutils flag-o-matic
129 -if [[ ${PV} == "9999" ]] ; then
130 - EGIT_REPO_URI="git://git.sv.gnu.org/nano.git"
131 - inherit git-r3 autotools
132 -else
133 - MY_P=${PN}-${PV/_}
134 - SRC_URI="https://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
135 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-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"
136 -fi
137 -
138 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
139 -HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide"
140 -
141 -LICENSE="GPL-3"
142 -SLOT="0"
143 -IUSE="debug justify +magic minimal ncurses nls slang +spell static unicode"
144 -
145 -LIB_DEPEND=">=sys-libs/ncurses-5.9-r1:0=[unicode?]
146 - sys-libs/ncurses:0=[static-libs(+)]
147 - magic? ( sys-apps/file[static-libs(+)] )
148 - nls? ( virtual/libintl )
149 - !ncurses? ( slang? ( sys-libs/slang[static-libs(+)] ) )"
150 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
151 -DEPEND="${RDEPEND}
152 - nls? ( sys-devel/gettext )
153 - virtual/pkgconfig
154 - static? ( ${LIB_DEPEND} )"
155 -
156 -src_prepare() {
157 - if [[ ${PV} == "9999" ]] ; then
158 - eautoreconf
159 - fi
160 - epatch_user
161 -}
162 -
163 -src_configure() {
164 - use static && append-ldflags -static
165 - local myconf=()
166 - case ${CHOST} in
167 - *-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848
168 - esac
169 - econf \
170 - --bindir="${EPREFIX}"/bin \
171 - --htmldir=/trash \
172 - $(use_enable !minimal color) \
173 - $(use_enable !minimal multibuffer) \
174 - $(use_enable !minimal nanorc) \
175 - --disable-wrapping-as-root \
176 - $(use_enable magic libmagic) \
177 - $(use_enable spell speller) \
178 - $(use_enable justify) \
179 - $(use_enable debug) \
180 - $(use_enable nls) \
181 - $(use_enable unicode utf8) \
182 - $(use_enable minimal tiny) \
183 - $(usex ncurses --without-slang $(use_with slang)) \
184 - "${myconf[@]}"
185 -}
186 -
187 -src_install() {
188 - default
189 - rm -rf "${D}"/trash
190 -
191 - dodoc doc/sample.nanorc
192 - docinto html
193 - dodoc doc/faq.html
194 - insinto /etc
195 - newins doc/sample.nanorc nanorc
196 - if ! use minimal ; then
197 - # Enable colorization by default.
198 - sed -i \
199 - -e '/^# include /s:# *::' \
200 - "${ED}"/etc/nanorc || die
201 - fi
202 -
203 - dodir /usr/bin
204 - dosym /bin/nano /usr/bin/nano
205 -}