1 |
dirtyepic 07/12/24 02:01:57 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wxpython-2.8.7.1.ebuild |
5 |
Log: |
6 |
Version bump. Masked for testing. |
7 |
(Portage version: 2.1.4_rc11) |
8 |
|
9 |
Revision Changes Path |
10 |
1.74 dev-python/wxpython/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/wxpython/ChangeLog?rev=1.74&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/wxpython/ChangeLog?rev=1.74&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/wxpython/ChangeLog?r1=1.73&r2=1.74 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/wxpython/ChangeLog,v |
19 |
retrieving revision 1.73 |
20 |
retrieving revision 1.74 |
21 |
diff -u -r1.73 -r1.74 |
22 |
--- ChangeLog 22 Dec 2007 22:25:15 -0000 1.73 |
23 |
+++ ChangeLog 24 Dec 2007 02:01:57 -0000 1.74 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-python/wxpython |
26 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython/ChangeLog,v 1.73 2007/12/22 22:25:15 nixnut Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython/ChangeLog,v 1.74 2007/12/24 02:01:57 dirtyepic Exp $ |
29 |
+ |
30 |
+*wxpython-2.8.7.1 (24 Dec 2007) |
31 |
+ |
32 |
+ 24 Dec 2007; Ryan Hill <dirtyepic@g.o> |
33 |
+ +files/wxpython-2.8.7-wxversion-scripts.patch, +wxpython-2.8.7.1.ebuild: |
34 |
+ Version bump. Masked for testing. |
35 |
|
36 |
22 Dec 2007; nixnut <nixnut@g.o> wxpython-2.6.4.0-r1.ebuild: |
37 |
Added ~ppc wrt bug 199594 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/wxpython/wxpython-2.8.7.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/wxpython/wxpython-2.8.7.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/wxpython/wxpython-2.8.7.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: wxpython-2.8.7.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2007 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython/wxpython-2.8.7.1.ebuild,v 1.1 2007/12/24 02:01:57 dirtyepic Exp $ |
51 |
|
52 |
WX_GTK_VER="2.8" |
53 |
|
54 |
inherit alternatives eutils multilib python wxwidgets |
55 |
|
56 |
MY_P="${P/wxpython-/wxPython-src-}" |
57 |
DESCRIPTION="A blending of the wxWindows C++ class library with Python" |
58 |
HOMEPAGE="http://www.wxpython.org/" |
59 |
SRC_URI="mirror://sourceforge/wxpython/${MY_P}.tar.bz2" |
60 |
|
61 |
LICENSE="wxWinLL-3" |
62 |
SLOT="2.8" |
63 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc64 ~sparc ~x86" |
64 |
IUSE="opengl" |
65 |
|
66 |
RDEPEND=">=dev-lang/python-2.1 |
67 |
>=x11-libs/wxGTK-${PV} |
68 |
>=x11-libs/gtk+-2.4 |
69 |
>=x11-libs/pango-1.2 |
70 |
>=dev-libs/glib-2.0 |
71 |
media-libs/libpng |
72 |
media-libs/jpeg |
73 |
media-libs/tiff |
74 |
>=sys-libs/zlib-1.1.4 |
75 |
opengl? ( >=dev-python/pyopengl-2.0.0.44 ) |
76 |
!<dev-python/wxpython-2.4.2.4-r1" |
77 |
|
78 |
DEPEND="${RDEPEND} |
79 |
dev-util/pkgconfig" |
80 |
|
81 |
S="${WORKDIR}/${MY_P}/wxPython/" |
82 |
|
83 |
src_unpack() { |
84 |
unpack ${A} |
85 |
cd "${S}" |
86 |
sed -i "s:cflags.append('-O3'):pass:" config.py || die "sed failed" |
87 |
|
88 |
epatch "${FILESDIR}"/${PN}-2.8.7-wxversion-scripts.patch |
89 |
|
90 |
} |
91 |
|
92 |
src_compile() { |
93 |
local mypyconf |
94 |
|
95 |
need-wxwidgets unicode |
96 |
use opengl && check_wxuse opengl |
97 |
|
98 |
mypyconf="${mypyconf} WX_CONFIG=${WX_CONFIG}" |
99 |
use opengl \ |
100 |
&& mypyconf="${mypyconf} BUILD_GLCANVAS=1" \ |
101 |
|| mypyconf="${mypyconf} BUILD_GLCANVAS=0" |
102 |
|
103 |
mypyconf="${mypyconf} WXPORT=gtk2 UNICODE=1" |
104 |
|
105 |
python setup.py ${mypyconf} build || die "setup.py build failed" |
106 |
} |
107 |
|
108 |
src_install() { |
109 |
local mypyconf |
110 |
python_version |
111 |
local site_pkgs=/usr/$(get_libdir)/python${PYVER}/site-packages |
112 |
|
113 |
dodir ${site_pkgs} |
114 |
|
115 |
mypyconf="${mypyconf} WX_CONFIG=${WX_CONFIG}" |
116 |
use opengl \ |
117 |
&& mypyconf="${mypyconf} BUILD_GLCANVAS=1" \ |
118 |
|| mypyconf="${mypyconf} BUILD_GLCANVAS=0" |
119 |
|
120 |
mypyconf="${mypyconf} WXPORT=gtk2 UNICODE=1" |
121 |
|
122 |
python setup.py ${mypyconf} install --prefix=/usr --root="${D}" \ |
123 |
|| die "setup.py install failed" |
124 |
|
125 |
# Collision protection. |
126 |
for file in \ |
127 |
"${D}"/usr/bin/* \ |
128 |
"${D}"/${site_pkgs}/wx{version.*,.pth,addons}; do |
129 |
mv "${file}" "${file}-${SLOT}" |
130 |
done |
131 |
} |
132 |
|
133 |
pkg_postinst() { |
134 |
python_mod_optimize |
135 |
|
136 |
local site_pkgs=/usr/$(get_libdir)/python${PYVER}/site-packages |
137 |
|
138 |
alternatives_auto_makesym \ |
139 |
"${site_pkgs}/wx.pth" "${site_pkgs}/wx.pth-[0-9].[0-9]" |
140 |
alternatives_auto_makesym \ |
141 |
"${site_pkgs}/wxversion.py" "${site_pkgs}/wxversion.py-[0-9].[0-9]" |
142 |
|
143 |
echo |
144 |
elog "Gentoo uses the Multi-version method for SLOT'ing." |
145 |
elog "Developers see this site for instructions on using 2.6 or 2.8" |
146 |
elog "with your apps:" |
147 |
elog "http://wiki.wxpython.org/index.cgi/MultiVersionInstalls" |
148 |
echo |
149 |
} |
150 |
|
151 |
pkg_postrm() { |
152 |
python_mod_cleanup |
153 |
|
154 |
local site_pkgs=/usr/$(get_libdir)/python${PYVER}/site-packages |
155 |
|
156 |
alternatives_auto_makesym \ |
157 |
"${site_pkgs}/wx.pth" "${site_pkgs}/wx.pth-[0-9].[0-9]" |
158 |
alternatives_auto_makesym \ |
159 |
"${site_pkgs}/wxversion.py" "${site_pkgs}/wxversion.py-[0-9].[0-9]" |
160 |
} |
161 |
|
162 |
|
163 |
|
164 |
-- |
165 |
gentoo-commits@g.o mailing list |