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, 17 Apr 2019 13:21:10
Message-Id: 1555507259.86900f7bb31a87239b21399327a448b03708f804.polynomial-c@gentoo
1 commit: 86900f7bb31a87239b21399327a448b03708f804
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 17 13:06:26 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 17 13:20:59 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86900f7b
7
8 app-editors/nano: Removed old.
9
10 Package-Manager: Portage-2.3.63, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-editors/nano/Manifest | 1 -
14 app-editors/nano/nano-2.9.8.ebuild | 83 --------------------------------------
15 2 files changed, 84 deletions(-)
16
17 diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest
18 index dd31e249d93..1fad65d9a73 100644
19 --- a/app-editors/nano/Manifest
20 +++ b/app-editors/nano/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST nano-2.9.8.tar.gz 2905951 BLAKE2B 95b78c43a052be68956f5b9493c418c23a9db40b56f709b17217bce257333b69e78e8f8bec191b21df8aa408ce2d3c7d68bc82cf2f785df9b31929f4f41b4325 SHA512 dcc7b074b585135e34339648fc725f54964488813d49fac50cf88c11d7cfcb8514907dbc2631ce7664ab0241717e8c42833e3c037070c80c8e7bee68fc280a2d
23 DIST nano-3.2.tar.gz 2944045 BLAKE2B 8d29d574ebf543f82608d4df26f551c0b3c77863b2ac8cfd0d3aea45340954abe6221069c9c72beab256c2c8cc4fcd3de27804404d97a98144c69ad26223de09 SHA512 33b3bbc5b5044b4003347e87926046fb5a0e83edfd6de858085526b7eaa9ea7ee26a598da00060a6b62edbd0366c7cb06b5a9878f6f0149a9501e4ada80b88f3
24 DIST nano-4.0.tar.gz 2997716 BLAKE2B b5b7c172119518dc25ad1b77fda4a011225292b36bfeb042ede3191f7b7d576273c9172c9ab32271b4a648d8720c3745496526f0feb871e02d88ae3865cfacd5 SHA512 7548a3cf37aaa5f7ed9e951c18b3d058e8f587bcfbae0e707668f51ab9932aa467b8191117a7d1a76f090124cfe3e0e93ce4e1cccd8aa0bf7fd0d282caede5c1
25 DIST nano-4.1.tar.gz 2918354 BLAKE2B 6f5438b2e4bb9a6de405a7519d1767697df1504e67aae37a75743b658b82d9bf13e0b561177415445827f8a63456afd4f689b1d34b6a3eb53c940972fa01f93d SHA512 982b845197aa2942eb8a49b2ac1bfd8cc65ec9b6b7f60190059367b4f9156b4f0bb5e56a123f0659b23c6c9d1d85733123350a8f04c433ccb32d4c8ef1135d12
26
27 diff --git a/app-editors/nano/nano-2.9.8.ebuild b/app-editors/nano/nano-2.9.8.ebuild
28 deleted file mode 100644
29 index a8742cb8682..00000000000
30 --- a/app-editors/nano/nano-2.9.8.ebuild
31 +++ /dev/null
32 @@ -1,83 +0,0 @@
33 -# Copyright 1999-2018 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="6"
37 -
38 -inherit eutils 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:3}/${MY_P}.tar.gz"
45 - KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~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 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 - nls? ( sys-devel/gettext )
63 - virtual/pkgconfig
64 - static? ( ${LIB_DEPEND} )"
65 -
66 -src_prepare() {
67 - default
68 - if [[ ${PV} == "9999" ]] ; then
69 - eautoreconf
70 - fi
71 -}
72 -
73 -src_configure() {
74 - use static && append-ldflags -static
75 - local myconf=(
76 - --bindir="${EPREFIX}"/bin
77 - --htmldir=/trash
78 - $(use_enable !minimal color)
79 - $(use_enable !minimal multibuffer)
80 - $(use_enable !minimal nanorc)
81 - --disable-wrapping-as-root
82 - $(use_enable magic libmagic)
83 - $(use_enable spell speller)
84 - $(use_enable justify)
85 - $(use_enable debug)
86 - $(use_enable nls)
87 - $(use_enable unicode utf8)
88 - $(use_enable minimal tiny)
89 - $(usex ncurses --without-slang $(use_with slang))
90 - )
91 - case ${CHOST} in
92 - *-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848
93 - esac
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 - fi
113 -
114 - dosym ../../bin/nano /usr/bin/nano
115 -}