1 |
naota 15/06/30 01:29:20 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: newt-0.52.18.ebuild |
5 |
Log: |
6 |
dev-libs/newt: version bump to 0.52.18; Clean up unused patches. |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key F8551514) |
9 |
|
10 |
Revision Changes Path |
11 |
1.104 dev-libs/newt/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/ChangeLog?rev=1.104&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/ChangeLog?rev=1.104&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/ChangeLog?r1=1.103&r2=1.104 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v |
20 |
retrieving revision 1.103 |
21 |
retrieving revision 1.104 |
22 |
diff -u -r1.103 -r1.104 |
23 |
--- ChangeLog 30 Jun 2015 01:03:49 -0000 1.103 |
24 |
+++ ChangeLog 30 Jun 2015 01:29:20 -0000 1.104 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for dev-libs/newt |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.103 2015/06/30 01:03:49 naota Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.104 2015/06/30 01:29:20 naota Exp $ |
30 |
+ |
31 |
+*newt-0.52.18 (30 Jun 2015) |
32 |
+ |
33 |
+ 30 Jun 2015; Naohiro Aota <naota@g.o> +newt-0.52.18.ebuild, |
34 |
+ -files/newt-0.52.12-install.patch, -files/newt-0.52.12-tcl.patch, |
35 |
+ -files/newt-0.52.12-whiptail.patch, -files/newt-0.52.13-python.patch, |
36 |
+ -files/newt-0.52.14-snack.patch: |
37 |
+ dev-libs/newt: version bump to 0.52.18; Clean up unused patches. |
38 |
|
39 |
30 Jun 2015; Naohiro Aota <naota@g.o> |
40 |
+files/newt-0.52.15-makefile.patch, newt-0.52.15.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 dev-libs/newt/newt-0.52.18.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/newt-0.52.18.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/newt/newt-0.52.18.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: newt-0.52.18.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2015 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.18.ebuild,v 1.1 2015/06/30 01:29:20 naota Exp $ |
54 |
|
55 |
EAPI="5" |
56 |
|
57 |
PYTHON_COMPAT=( python2_7 ) |
58 |
|
59 |
inherit python-r1 eutils multilib autotools toolchain-funcs |
60 |
|
61 |
DESCRIPTION="Redhat's Newt windowing toolkit development files" |
62 |
HOMEPAGE="https://fedorahosted.org/newt/" |
63 |
SRC_URI="https://fedorahosted.org/releases/n/e/newt/${P}.tar.gz" |
64 |
|
65 |
LICENSE="LGPL-2" |
66 |
SLOT="0" |
67 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
68 |
IUSE="gpm tcl nls" |
69 |
|
70 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
71 |
|
72 |
RDEPEND="${PYTHON_DEPS} |
73 |
>=dev-libs/popt-1.6 |
74 |
=sys-libs/slang-2* |
75 |
elibc_uclibc? ( sys-libs/ncurses ) |
76 |
gpm? ( sys-libs/gpm ) |
77 |
tcl? ( >=dev-lang/tcl-8.5:0 ) |
78 |
" |
79 |
DEPEND="${RDEPEND}" |
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|$(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 |
-e "s| ar | $(tc-getAR) |g" \ |
94 |
|| die "sed Makefile.in" |
95 |
|
96 |
local langs="" |
97 |
if [ -n "${LINGUAS}" ]; then |
98 |
for lang in ${LINGUAS}; do |
99 |
test -r po/${lang}.po && langs="${langs} ${lang}.po" |
100 |
done |
101 |
sed -i po/Makefile \ |
102 |
-e "/^CATALOGS = /cCATALOGS = ${langs}" \ |
103 |
|| die "sed po/Makefile" |
104 |
fi |
105 |
|
106 |
epatch "${FILESDIR}"/${PN}-0.52.13-gold.patch \ |
107 |
"${FILESDIR}"/${PN}-0.52.14-tcl.patch \ |
108 |
"${FILESDIR}"/${PN}-0.52.15-makefile.patch |
109 |
eautoreconf |
110 |
} |
111 |
|
112 |
src_configure() { |
113 |
econf \ |
114 |
PYTHONVERS="${PYTHON}" \ |
115 |
$(use_with gpm gpm-support) \ |
116 |
$(use_with tcl) \ |
117 |
$(use_enable nls) |
118 |
} |
119 |
|
120 |
src_compile() { |
121 |
building() { |
122 |
emake PYTHONVERS="${EPYTHON}" |
123 |
} |
124 |
python_foreach_impl building |
125 |
} |
126 |
|
127 |
src_install() { |
128 |
installit() { |
129 |
emake \ |
130 |
DESTDIR="${D}" \ |
131 |
PYTHONVERS="${EPYTHON}" \ |
132 |
install |
133 |
python_optimize |
134 |
} |
135 |
python_foreach_impl installit |
136 |
dodoc peanuts.py popcorn.py tutorial.sgml |
137 |
doman whiptail.1 |
138 |
} |