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, 02 Dec 2020 16:53:16
Message-Id: 1606927989.b646c80278859a15316f6d78ba010d873e1b004d.polynomial-c@gentoo
1 commit: b646c80278859a15316f6d78ba010d873e1b004d
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 2 16:43:32 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 2 16:53:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b646c802
7
8 app-editors/nano: Removed old
9
10 Package-Manager: Portage-3.0.11, Repoman-3.0.2
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-editors/nano/Manifest | 1 -
14 app-editors/nano/nano-5.2.ebuild | 89 ----------------------------------------
15 2 files changed, 90 deletions(-)
16
17 diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest
18 index e1547160876..9cdab267431 100644
19 --- a/app-editors/nano/Manifest
20 +++ b/app-editors/nano/Manifest
21 @@ -1,4 +1,3 @@
22 DIST nano-4.9.3.tar.gz 2999198 BLAKE2B a96f707936934a965a9a41dfe13ac1ebbe1a5e38db714df6d219b2c6539f24924d4c4f0451508718f66259854806032b84dc89850a7fd55d157f28ae23531d0e SHA512 233e6ed103441bd2c85ed21c50547f85dc0838cc750a5e9b16ecfb393e3b7b978e971af4a4164062c7c267c98895ecb696c02cbd2e4c2eb1ceee657fd026c30a
23 -DIST nano-5.2.tar.gz 2865091 BLAKE2B 3822b3fd8dede897d698401a06ea0b4b49bf39f48d16c750e273007b1795a8adfc71654eadc08039a5c6999973ff7e70148b4c720b32a8f361424404e3c2ff3f SHA512 4c77bcfdf704a7882e944cb6d4cd571b698447500255e5701d30990def56cec0c396a33c761b8149f3cc4208a8dcd0f39372804d54cbe6bc2db9244f4a2259b3
24 DIST nano-5.3.tar.gz 2874796 BLAKE2B d266018f2508153369e10c6f9cf4c53eaeafdf0efe88da6de19efd76ef13fedebe4b9339ae594b751a12cf18a8c4dcd57466ceedfabf61406f63b69c75fceff1 SHA512 019b58779f5a7d9a9472b415715876d0daac313a02b794900339469ee0b5a27ce202e397c00ad6396b7e26a7c303e52c28d981fff85cf774c79a5a8a9835836d
25 DIST nano-5.4.tar.gz 2898561 BLAKE2B 7e5e48f1e85253a7a4a9be2be2b7663e8798655d9e9e2505df1d1752512058734062af953652c1d11dca464ca06d7c90faf2e54cdb65ba01d0f76cfca0282c18 SHA512 711b1a890649e3a2b62c778e6d54813ed98a8261c47a92aa6d7baa690f86d8563813a764f5dffcc6c259fe9b05f8fe76cf48a3178b09666ba55ee035c91cbe28
26
27 diff --git a/app-editors/nano/nano-5.2.ebuild b/app-editors/nano/nano-5.2.ebuild
28 deleted file mode 100644
29 index 86f22534c12..00000000000
30 --- a/app-editors/nano/nano-5.2.ebuild
31 +++ /dev/null
32 @@ -1,89 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit flag-o-matic
39 -if [[ ${PV} == "9999" ]] ; then
40 - EGIT_REPO_URI="git://git.sv.gnu.org/nano.git"
41 - inherit git-r3 autotools
42 -else
43 - MY_P="${PN}-${PV/_}"
44 - SRC_URI="https://www.nano-editor.org/dist/v${PV:0:1}/${MY_P}.tar.gz"
45 - 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"
46 -fi
47 -
48 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
49 -HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide"
50 -
51 -LICENSE="GPL-3"
52 -SLOT="0"
53 -IUSE="debug justify +magic minimal ncurses nls slang +spell +split-usr static unicode"
54 -
55 -LIB_DEPEND=">=sys-libs/ncurses-5.9-r1:0=[unicode?]
56 - sys-libs/ncurses:0=[static-libs(+)]
57 - magic? ( sys-apps/file[static-libs(+)] )
58 - nls? ( virtual/libintl )
59 - !ncurses? ( slang? ( sys-libs/slang[static-libs(+)] ) )"
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="!ncurses? ( slang? ( minimal ) )"
69 -
70 -src_prepare() {
71 - default
72 - if [[ ${PV} == "9999" ]] ; then
73 - eautoreconf
74 - fi
75 -}
76 -
77 -src_configure() {
78 - use static && append-ldflags -static
79 - local myconf=(
80 - --bindir="${EPREFIX}"/bin
81 - --htmldir=/trash
82 - $(use_enable !minimal color)
83 - $(use_enable !minimal multibuffer)
84 - $(use_enable !minimal nanorc)
85 - $(use_enable magic libmagic)
86 - $(use_enable spell speller)
87 - $(use_enable justify)
88 - $(use_enable debug)
89 - $(use_enable nls)
90 - $(use_enable unicode utf8)
91 - $(use_enable minimal tiny)
92 - $(usex ncurses --without-slang $(use_with slang))
93 - )
94 - econf "${myconf[@]}"
95 -}
96 -
97 -src_install() {
98 - default
99 - # don't use "${ED}" here or things break (#654534)
100 - rm -r "${D}"/trash || die
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 -
113 - # Since nano-5.0 these are no longer being "enabled" by default
114 - # (bug #736848)
115 - local rcdir="/usr/share/nano"
116 - mv "${ED}"${rcdir}/extra/* "${ED}"/${rcdir}/ || die
117 - rmdir "${ED}"${rcdir}/extra || die
118 - fi
119 -
120 - use split-usr && dosym ../../bin/nano /usr/bin/nano
121 -}