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.3.3.ebuild ChangeLog
Date: Fri, 30 May 2014 14:29:26
Message-Id: 20140530142923.79CD92004E@flycatcher.gentoo.org
1 vapier 14/05/30 14:29:23
2
3 Modified: ChangeLog
4 Added: nano-2.3.3.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
9
10 Revision Changes Path
11 1.307 app-editors/nano/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/ChangeLog?rev=1.307&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/ChangeLog?rev=1.307&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/ChangeLog?r1=1.306&r2=1.307
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v
20 retrieving revision 1.306
21 retrieving revision 1.307
22 diff -u -r1.306 -r1.307
23 --- ChangeLog 16 Mar 2014 02:16:28 -0000 1.306
24 +++ ChangeLog 30 May 2014 14:29:23 -0000 1.307
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-editors/nano
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.306 2014/03/16 02:16:28 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.307 2014/05/30 14:29:23 vapier Exp $
30 +
31 +*nano-2.3.3 (30 May 2014)
32 +
33 + 30 May 2014; Mike Frysinger <vapier@g.o> +nano-2.3.3.ebuild:
34 + Version bump.
35
36 16 Mar 2014; Mike Frysinger <vapier@g.o>
37 files/nano-2.3.1-gentoo-nanorc.patch:
38
39
40
41 1.1 app-editors/nano/nano-2.3.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/nano-2.3.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/nano-2.3.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: nano-2.3.3.ebuild
47 ===================================================================
48 # Copyright 1999-2014 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.3.3.ebuild,v 1.1 2014/05/30 14:29:23 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 $(use_enable !minimal color) \
92 $(use_enable !minimal multibuffer) \
93 $(use_enable !minimal nanorc) \
94 --disable-wrapping-as-root \
95 $(use_enable spell speller) \
96 $(use_enable justify) \
97 $(use_enable debug) \
98 $(use_enable nls) \
99 $(use_enable unicode utf8) \
100 $(use_enable minimal tiny) \
101 $(usex ncurses --without-slang $(use_with slang)) \
102 "${myconf[@]}"
103 }
104
105 src_install() {
106 default
107 rm -rf "${ED}"/usr/share/nano/man-html
108
109 dodoc doc/nanorc.sample
110 dohtml doc/faq.html
111 insinto /etc
112 newins doc/nanorc.sample nanorc
113 if ! use minimal ; then
114 # Enable colorization by default.
115 sed -i \
116 -e '/^# include /s:# *::' \
117 "${ED}"/etc/nanorc || die
118 fi
119
120 dodir /usr/bin
121 dosym /bin/nano /usr/bin/nano
122 }