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.1.6-r1.ebuild
Date: Sun, 05 Oct 2008 20:18:00
Message-Id: E1Kma3B-0005Wb-MF@stork.gentoo.org
1 vapier 08/10/05 20:17:57
2
3 Modified: nano-2.1.6-r1.ebuild
4 Log:
5 update from cvs to svn
6 (Portage version: 2.2_rc8/cvs/Linux 2.6.26.2 x86_64)
7
8 Revision Changes Path
9 1.2 app-editors/nano/nano-2.1.6-r1.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/nano/nano-2.1.6-r1.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/nano/nano-2.1.6-r1.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/nano/nano-2.1.6-r1.ebuild?r1=1.1&r2=1.2
14
15 Index: nano-2.1.6-r1.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/app-editors/nano/nano-2.1.6-r1.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- nano-2.1.6-r1.ebuild 5 Oct 2008 20:13:50 -0000 1.1
22 +++ nano-2.1.6-r1.ebuild 5 Oct 2008 20:17:57 -0000 1.2
23 @@ -1,14 +1,11 @@
24 # Copyright 1999-2008 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-2.1.6-r1.ebuild,v 1.1 2008/10/05 20:13:50 vapier Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-2.1.6-r1.ebuild,v 1.2 2008/10/05 20:17:57 vapier Exp $
28
29 inherit eutils
30 if [[ ${PV} == "9999" ]] ; then
31 - ECVS_SERVER="savannah.gnu.org:/cvsroot/nano"
32 - ECVS_MODULE="nano"
33 - ECVS_AUTH="pserver"
34 - ECVS_USER="anonymous"
35 - inherit cvs
36 + ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano"
37 + inherit subversion
38 else
39 MY_P=${PN}-${PV/_}
40 SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
41 @@ -27,7 +24,11 @@
42 !ncurses? ( slang? ( sys-libs/slang ) )"
43
44 src_unpack() {
45 - unpack ${A}
46 + if [[ ${PV} == "9999" ]] ; then
47 + subversion_src_unpack
48 + else
49 + unpack ${A}
50 + fi
51 cd "${S}"
52 epatch "${FILESDIR}"/${P}-cut-paste-segv.patch
53 if [[ ! -e configure ]] ; then