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, 03 Jan 2018 15:20:00
Message-Id: 1514992784.dc51b5fd0bbff9f5c4f082a4e7131fcc3f10cc6f.polynomial-c@gentoo
1 commit: dc51b5fd0bbff9f5c4f082a4e7131fcc3f10cc6f
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 3 15:19:20 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 3 15:19:44 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc51b5fd
7
8 app-editors/nano: Removed old.
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 app-editors/nano/Manifest | 1 -
13 app-editors/nano/nano-2.9.0.ebuild | 83 --------------------------------------
14 2 files changed, 84 deletions(-)
15
16 diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest
17 index 2e8c60812e2..559e402ff26 100644
18 --- a/app-editors/nano/Manifest
19 +++ b/app-editors/nano/Manifest
20 @@ -1,5 +1,4 @@
21 DIST nano-2.7.5.tar.gz 2031723 BLAKE2B 30cd6418c438d6a908d7bf0f64151f6fa3c9aa41f0c2657a1146c1702fa9ed517349f784af7aa18c8a1cb3f93d5819ed31d153d1dad3dde5232306dc6dad8cb0 SHA512 a5332a361c4d0d9d0a77ebb11cdcffa976bee4981d5665b2732a9e6d7a2997566d9345332f2e6e5cb74f0a81be4413f54ca8f719962ab10b32d7ec1c9271973c
22 DIST nano-2.8.7.tar.gz 2822417 BLAKE2B 2559497b9aee4d4c3cfc86e8af6a54bc0af58588c7bd1142a0e97c6ce50aed66c3852745b83a457263659e97592f0775dcc94c44d818e20440b6524202bfe49a SHA512 511b57f8fe82872827829bca91f7a8666a6ee75924cf2c853332ddd0467abf281c6d3cbaa5dd208c579cbace5bef23d36bd7b62be116aa2175262ed1d15aaf79
23 -DIST nano-2.9.0.tar.gz 2815519 BLAKE2B e3e5d1b79f069fb3063366f09a7443cddc43edc19664832933210cb62c32d4364e98c4ec1e921498e75a2a34783ccc4b78e4eb05d46f969e82e629e965e4f62f SHA512 21b958ef508e8108f3b0db15087869dbfa7006ed2c63357f058aaa1db170edad8cc7401326042b0d9296166c19fa59b4143a2926492878017071edaea6a6fc2e
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
27 diff --git a/app-editors/nano/nano-2.9.0.ebuild b/app-editors/nano/nano-2.9.0.ebuild
28 deleted file mode 100644
29 index c818fcb3401..00000000000
30 --- a/app-editors/nano/nano-2.9.0.ebuild
31 +++ /dev/null
32 @@ -1,83 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
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 ~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"
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 - rm -rf "${D}"/trash
100 -
101 - dodoc doc/sample.nanorc
102 - docinto html
103 - dodoc doc/faq.html
104 - insinto /etc
105 - newins doc/sample.nanorc 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 -}