From: | "Naohiro Aota (naota)" <naota@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/newt: ChangeLog newt-0.52.14.ebuild |
Date: | Mon, 28 Nov 2011 02:13:56 |
Message-Id: | 20111128021340.D96DE2004C@flycatcher.gentoo.org |
1 | naota 11/11/28 02:13:40 |
2 | |
3 | Modified: ChangeLog |
4 | Added: newt-0.52.14.ebuild |
5 | Log: |
6 | Version bumped. |
7 | |
8 | (Portage version: 2.2.0_alpha75/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.78 dev-libs/newt/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/ChangeLog?rev=1.78&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/ChangeLog?rev=1.78&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/ChangeLog?r1=1.77&r2=1.78 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v |
20 | retrieving revision 1.77 |
21 | retrieving revision 1.78 |
22 | diff -u -r1.77 -r1.78 |
23 | --- ChangeLog 17 Nov 2011 04:45:44 -0000 1.77 |
24 | +++ ChangeLog 28 Nov 2011 02:13:39 -0000 1.78 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for dev-libs/newt |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.77 2011/11/17 04:45:44 naota Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.78 2011/11/28 02:13:39 naota Exp $ |
30 | + |
31 | +*newt-0.52.14 (28 Nov 2011) |
32 | + |
33 | + 28 Nov 2011; Naohiro Aota <naota@g.o> +newt-0.52.14.ebuild: |
34 | + Version bumped. |
35 | |
36 | *newt-0.52.13 (17 Nov 2011) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 dev-libs/newt/newt-0.52.14.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/newt-0.52.14.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/newt-0.52.14.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: newt-0.52.14.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.14.ebuild,v 1.1 2011/11/28 02:13:40 naota Exp $ |
51 | |
52 | EAPI="3" |
53 | PYTHON_DEPEND="2" |
54 | |
55 | inherit eutils multilib python autotools |
56 | |
57 | DESCRIPTION="Redhat's Newt windowing toolkit development files" |
58 | HOMEPAGE="https://fedorahosted.org/newt/" |
59 | SRC_URI="https://fedorahosted.org/releases/n/e/newt/${P}.tar.gz" |
60 | |
61 | LICENSE="LGPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
64 | IUSE="gpm tcl nls" |
65 | |
66 | RDEPEND="=sys-libs/slang-2* |
67 | >=dev-libs/popt-1.6 |
68 | elibc_uclibc? ( sys-libs/ncurses ) |
69 | gpm? ( sys-libs/gpm ) |
70 | tcl? ( =dev-lang/tcl-8.5* ) |
71 | " |
72 | |
73 | DEPEND="${RDEPEND}" |
74 | |
75 | pkg_setup() { |
76 | python_set_active_version 2 |
77 | python_pkg_setup |
78 | } |
79 | |
80 | src_prepare() { |
81 | # bug 73850 |
82 | if use elibc_uclibc; then |
83 | sed -i -e 's:-lslang:-lslang -lncurses:g' Makefile.in || die |
84 | fi |
85 | |
86 | sed -i Makefile.in \ |
87 | -e 's|-ltcl8.4|-ltcl8.5|g' \ |
88 | -e 's|$(SHCFLAGS) -o|$(LDFLAGS) &|g' \ |
89 | -e 's|-g -o|$(CFLAGS) $(LDFLAGS) -o|g' \ |
90 | -e 's|-shared -o|$(CFLAGS) $(LDFLAGS) &|g' \ |
91 | -e 's|instroot|DESTDIR|g' \ |
92 | -e 's| make | $(MAKE) |g' \ |
93 | || die "sed Makefile.in" |
94 | |
95 | epatch "${FILESDIR}"/${PN}-0.52.13-gold.patch |
96 | eautoreconf |
97 | } |
98 | |
99 | src_configure() { |
100 | econf \ |
101 | $(use_with gpm gpm-support) \ |
102 | $(use_with tcl) \ |
103 | $(use_enable nls) |
104 | } |
105 | |
106 | src_compile() { |
107 | emake PYTHONVERS="$(PYTHON)" || die "emake failed" |
108 | } |
109 | |
110 | src_install () { |
111 | emake \ |
112 | DESTDIR="${D}" \ |
113 | PYTHONVERS="$(PYTHON)" \ |
114 | install || die "make install failed" |
115 | dodoc peanuts.py popcorn.py tutorial.sgml |
116 | doman whiptail.1 |
117 | } |
118 | |
119 | pkg_postinst() { |
120 | python_mod_optimize snack.py |
121 | } |
122 | |
123 | pkg_postrm() { |
124 | python_mod_cleanup snack.py |
125 | } |