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.6.ebuild ChangeLog
Date: Tue, 29 Jul 2014 15:24:18
Message-Id: 20140729152414.D0D202004E@flycatcher.gentoo.org
1 vapier 14/07/29 15:24:14
2
3 Modified: ChangeLog
4 Added: nano-2.3.6.ebuild
5 Log:
6 Version bump #518492 by Lars Wendler.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
9
10 Revision Changes Path
11 1.311 app-editors/nano/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/ChangeLog?rev=1.311&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/ChangeLog?rev=1.311&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/ChangeLog?r1=1.310&r2=1.311
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v
20 retrieving revision 1.310
21 retrieving revision 1.311
22 diff -u -r1.310 -r1.311
23 --- ChangeLog 16 Jun 2014 06:45:56 -0000 1.310
24 +++ ChangeLog 29 Jul 2014 15:24:14 -0000 1.311
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.310 2014/06/16 06:45:56 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.311 2014/07/29 15:24:14 vapier Exp $
30 +
31 +*nano-2.3.6 (29 Jul 2014)
32 +
33 + 29 Jul 2014; Mike Frysinger <vapier@g.o> +nano-2.3.6.ebuild:
34 + Version bump #518492 by Lars Wendler.
35
36 *nano-2.3.4 (16 Jun 2014)
37
38
39
40
41 1.1 app-editors/nano/nano-2.3.6.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/nano-2.3.6.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/nano-2.3.6.ebuild?rev=1.1&content-type=text/plain
45
46 Index: nano-2.3.6.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.6.ebuild,v 1.1 2014/07/29 15:24:14 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 }