Gentoo Archives: gentoo-commits

From: "Federico Ferri (mescalinum)" <mescalinum@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/newt: ChangeLog newt-0.52.10.ebuild
Date: Mon, 27 Oct 2008 21:40:49
Message-Id: E1KuZpO-0007or-4v@stork.gentoo.org
1 mescalinum 08/10/27 21:40:46
2
3 Modified: ChangeLog
4 Added: newt-0.52.10.ebuild
5 Log:
6 bump to 0.52.10, bug #212676
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.45 dev-libs/newt/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/newt/ChangeLog?rev=1.45&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/newt/ChangeLog?rev=1.45&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/newt/ChangeLog?r1=1.44&r2=1.45
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v
19 retrieving revision 1.44
20 retrieving revision 1.45
21 diff -u -r1.44 -r1.45
22 --- ChangeLog 15 Jun 2008 09:48:50 -0000 1.44
23 +++ ChangeLog 27 Oct 2008 21:40:46 -0000 1.45
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-libs/newt
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.44 2008/06/15 09:48:50 drac Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.45 2008/10/27 21:40:46 mescalinum Exp $
29 +
30 +*newt-0.52.10 (27 Oct 2008)
31 +
32 + 27 Oct 2008; Federico Ferri <mescalinum@g.o> +newt-0.52.10.ebuild:
33 + bump to 0.52.10, bug #212676
34
35 15 Jun 2008; Samuli Suominen <drac@g.o> -newt-0.51.6-r1.ebuild,
36 newt-0.52.2.ebuild, newt-0.52.8.ebuild:
37
38
39
40 1.1 dev-libs/newt/newt-0.52.10.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/newt/newt-0.52.10.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/newt/newt-0.52.10.ebuild?rev=1.1&content-type=text/plain
44
45 Index: newt-0.52.10.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.10.ebuild,v 1.1 2008/10/27 21:40:46 mescalinum Exp $
50
51 inherit python toolchain-funcs eutils rpm
52
53 DESCRIPTION="Redhat's Newt windowing toolkit development files"
54 HOMEPAGE="https://fedorahosted.org/newt/"
55 SRC_URI="https://fedorahosted.org/releases/n/e/newt/${P}.tar.gz"
56
57 LICENSE="LGPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
60 IUSE="gpm tcl nls"
61
62 RDEPEND="=sys-libs/slang-2*
63 >=dev-libs/popt-1.6
64 dev-lang/python
65 elibc_uclibc? ( sys-libs/ncurses )
66 gpm? ( sys-libs/gpm )
67 tcl? ( =dev-lang/tcl-8.5* )
68 "
69
70 DEPEND="${RDEPEND}"
71
72 src_unpack() {
73 unpack ${A}
74 #rpm_src_unpack
75 cd "${S}"
76
77 # bug 73850
78 if use elibc_uclibc; then
79 sed -i -e 's:-lslang:-lslang -lncurses:g' "${S}"/Makefile.in
80 fi
81
82 # bug 212676
83 sed -i -e 's:-ltcl8.4:-ltcl8.5:g' "${S}"/Makefile.in
84
85 sed -i -e 's:instroot:DESTDIR:g' "${S}"/Makefile.in || die
86 }
87
88 src_compile() {
89 python_version
90
91 econf \
92 $(use_with gpm gpm-support) \
93 $(use_enable nls)
94
95 # not parallel safe
96 emake -j1 \
97 CC="$(tc-getCC)" \
98 PYTHONVERS="python${PYVER}" \
99 RPM_OPT_FLAGS="${CFLAGS}" \
100 || die "emake failed"
101 }
102
103 src_install () {
104 python_version
105 # the RPM_OPT_FLAGS="ERROR" is there to catch a build error
106 # if it fails, that means something in src_compile() didn't build properly
107 # not parallel safe
108 emake \
109 DESTDIR="${D}" \
110 prefix="/usr" \
111 libdir="/usr/$(get_libdir)" \
112 PYTHONVERS="python${PYVER}" \
113 RPM_OPT_FLAGS="ERROR" \
114 install || die "make install failed"
115 dodoc peanuts.py popcorn.py tutorial.sgml
116 doman whiptail.1
117 }