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