1 |
vapier 13/11/28 23:06:33 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nano-2.3.2-r1.ebuild |
5 |
Log: |
6 |
Update to EAPI=4. Support epatch_user. Enable colorization by default. |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key FB7C4156) |
9 |
|
10 |
Revision Changes Path |
11 |
1.303 app-editors/nano/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/ChangeLog?rev=1.303&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/ChangeLog?rev=1.303&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/ChangeLog?r1=1.302&r2=1.303 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v |
20 |
retrieving revision 1.302 |
21 |
retrieving revision 1.303 |
22 |
diff -u -r1.302 -r1.303 |
23 |
--- ChangeLog 28 Sep 2013 11:13:54 -0000 1.302 |
24 |
+++ ChangeLog 28 Nov 2013 23:06:33 -0000 1.303 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-editors/nano |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.302 2013/09/28 11:13:54 vapier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.303 2013/11/28 23:06:33 vapier Exp $ |
30 |
+ |
31 |
+*nano-2.3.2-r1 (28 Nov 2013) |
32 |
+ |
33 |
+ 28 Nov 2013; Mike Frysinger <vapier@g.o> +nano-2.3.2-r1.ebuild: |
34 |
+ Update to EAPI=4. Support epatch_user. Enable colorization by default. |
35 |
|
36 |
28 Sep 2013; 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.2-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/nano-2.3.2-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/nano/nano-2.3.2-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: nano-2.3.2-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 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.2-r1.ebuild,v 1.1 2013/11/28 23:06:33 vapier Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
|
54 |
inherit eutils autotools |
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 ~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 "${FILESDIR}"/${PN}-2.3.1-ncurses-pkg-config.patch |
81 |
epatch "${FILESDIR}"/${PN}-2.3.2-bind-unbind-docs.patch |
82 |
epatch "${FILESDIR}"/${PN}-2.3.1-{shell,gentoo}-nanorc.patch |
83 |
epatch_user |
84 |
eautoreconf |
85 |
} |
86 |
|
87 |
src_configure() { |
88 |
eval export ac_cv_{header_magic_h,lib_magic_magic_open}=$(usex magic) |
89 |
local myconf=() |
90 |
case ${CHOST} in |
91 |
*-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848 |
92 |
esac |
93 |
econf \ |
94 |
--bindir="${EPREFIX}"/bin \ |
95 |
$(use_enable !minimal color) \ |
96 |
$(use_enable !minimal multibuffer) \ |
97 |
$(use_enable !minimal nanorc) \ |
98 |
--disable-wrapping-as-root \ |
99 |
$(use_enable spell speller) \ |
100 |
$(use_enable justify) \ |
101 |
$(use_enable debug) \ |
102 |
$(use_enable nls) \ |
103 |
$(use_enable unicode utf8) \ |
104 |
$(use_enable minimal tiny) \ |
105 |
$(usex ncurses --without-slang $(use_with slang)) \ |
106 |
"${myconf[@]}" |
107 |
} |
108 |
|
109 |
src_install() { |
110 |
default |
111 |
rm -rf "${ED}"/usr/share/nano/man-html |
112 |
|
113 |
dodoc ChangeLog README doc/nanorc.sample AUTHORS BUGS NEWS TODO |
114 |
dohtml doc/faq.html |
115 |
insinto /etc |
116 |
newins doc/nanorc.sample nanorc |
117 |
if ! use minimal ; then |
118 |
# Enable colorization by default. |
119 |
sed -i \ |
120 |
-e '/^# include /s:# *::' \ |
121 |
"${ED}"/etc/nanorc || die |
122 |
fi |
123 |
|
124 |
dodir /usr/bin |
125 |
dosym /bin/nano /usr/bin/nano |
126 |
} |