Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-editors/nano: nano-2.4.2.ebuild ChangeLog
Date: Mon, 06 Jul 2015 13:35:00
Message-Id: 20150706133452.2297B753@oystercatcher.gentoo.org
1 vapier 15/07/06 13:34:52
2
3 Modified: ChangeLog
4 Added: nano-2.4.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
9
10 Revision Changes Path
11 1.323 app-editors/nano/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/ChangeLog?rev=1.323&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/ChangeLog?rev=1.323&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/ChangeLog?r1=1.322&r2=1.323
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v
20 retrieving revision 1.322
21 retrieving revision 1.323
22 diff -u -r1.322 -r1.323
23 --- ChangeLog 14 Apr 2015 22:07:18 -0000 1.322
24 +++ ChangeLog 6 Jul 2015 13:34:52 -0000 1.323
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-editors/nano
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.322 2015/04/14 22:07:18 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.323 2015/07/06 13:34:52 vapier Exp $
30 +
31 +*nano-2.4.2 (06 Jul 2015)
32 +
33 + 06 Jul 2015; Mike Frysinger <vapier@g.o> +nano-2.4.2.ebuild:
34 + Version bump.
35
36 *nano-2.4.1 (14 Apr 2015)
37
38
39
40
41 1.1 app-editors/nano/nano-2.4.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/nano-2.4.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/nano-2.4.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: nano-2.4.2.ebuild
47 ===================================================================
48 # Copyright 1999-2015 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-2.4.2.ebuild,v 1.1 2015/07/06 13:34:52 vapier Exp $
51
52 EAPI="4"
53
54 inherit eutils
55 if [[ ${PV} == "9999" ]] ; then
56 ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano"
57 inherit subversion autotools
58 else
59 MY_P=${PN}-${PV/_}
60 SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
61 fi
62
63 DESCRIPTION="GNU GPL'd Pico clone with more functionality"
64 HOMEPAGE="http://www.nano-editor.org/ http://www.gentoo.org/doc/en/nano-basics-guide.xml"
65
66 LICENSE="GPL-3"
67 SLOT="0"
68 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
69 IUSE="debug justify +magic minimal ncurses nls slang +spell unicode"
70
71 RDEPEND=">=sys-libs/ncurses-5.9-r1[unicode?]
72 magic? ( sys-apps/file )
73 nls? ( virtual/libintl )
74 !ncurses? ( slang? ( sys-libs/slang ) )"
75 DEPEND="${RDEPEND}
76 nls? ( sys-devel/gettext )
77 virtual/pkgconfig"
78
79 src_prepare() {
80 epatch_user
81 }
82
83 src_configure() {
84 eval export ac_cv_{header_magic_h,lib_magic_magic_open}=$(usex magic)
85 local myconf=()
86 case ${CHOST} in
87 *-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848
88 esac
89 econf \
90 --bindir="${EPREFIX}"/bin \
91 --htmldir=/trash \
92 $(use_enable !minimal color) \
93 $(use_enable !minimal multibuffer) \
94 $(use_enable !minimal nanorc) \
95 --disable-wrapping-as-root \
96 $(use_enable spell speller) \
97 $(use_enable justify) \
98 $(use_enable debug) \
99 $(use_enable nls) \
100 $(use_enable unicode utf8) \
101 $(use_enable minimal tiny) \
102 $(usex ncurses --without-slang $(use_with slang)) \
103 "${myconf[@]}"
104 }
105
106 src_install() {
107 default
108 rm -rf "${D}"/trash
109
110 dodoc doc/nanorc.sample
111 dohtml doc/faq.html
112 insinto /etc
113 newins doc/nanorc.sample nanorc
114 if ! use minimal ; then
115 # Enable colorization by default.
116 sed -i \
117 -e '/^# include /s:# *::' \
118 "${ED}"/etc/nanorc || die
119 fi
120
121 dodir /usr/bin
122 dosym /bin/nano /usr/bin/nano
123 }