diff options
author | Andrew Savchenko <bircoph@gmail.com> | 2010-11-21 21:44:09 +0300 |
---|---|---|
committer | Andrew Savchenko <bircoph@gmail.com> | 2010-11-21 21:44:09 +0300 |
commit | 818079f1749eb053a949d0cbdfe1eb58d77280ee (patch) | |
tree | 55490288cb18253c4f075e8e08f60b967e74bc45 /dev-python | |
parent | mplayer: fix repoman stupidity (diff) | |
download | bircoph-818079f1749eb053a949d0cbdfe1eb58d77280ee.tar.gz bircoph-818079f1749eb053a949d0cbdfe1eb58d77280ee.tar.bz2 bircoph-818079f1749eb053a949d0cbdfe1eb58d77280ee.zip |
virtual/jpeg stuff
libjpeg-turbo requires virtual/jpeg to be used in deps
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/wxpython/ChangeLog | 726 | ||||
-rw-r--r-- | dev-python/wxpython/Manifest | 14 | ||||
-rw-r--r-- | dev-python/wxpython/files/scripts-multiver-2.6.1.0.diff | 147 | ||||
-rw-r--r-- | dev-python/wxpython/files/wxpython-2.8-cache-writable.patch | 20 | ||||
-rw-r--r-- | dev-python/wxpython/files/wxpython-2.8-wxversion-demo.patch | 10 | ||||
-rw-r--r-- | dev-python/wxpython/files/wxpython-2.8.11-drop-editra.patch | 48 | ||||
-rw-r--r-- | dev-python/wxpython/files/wxpython-2.8.9-wxversion-scripts.patch | 191 | ||||
-rw-r--r-- | dev-python/wxpython/metadata.xml | 10 | ||||
-rw-r--r-- | dev-python/wxpython/wxpython-2.6.4.0-r2.ebuild | 139 | ||||
-rw-r--r-- | dev-python/wxpython/wxpython-2.8.11.0.ebuild | 183 |
10 files changed, 1488 insertions, 0 deletions
diff --git a/dev-python/wxpython/ChangeLog b/dev-python/wxpython/ChangeLog new file mode 100644 index 0000000..06dea5a --- /dev/null +++ b/dev-python/wxpython/ChangeLog @@ -0,0 +1,726 @@ +# ChangeLog for dev-python/wxpython +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython/ChangeLog,v 1.137 2010/07/27 03:13:09 dirtyepic Exp $ + + 27 Jul 2010; Ryan Hill <dirtyepic@gentoo.org> wxpython-2.6.4.0-r2.ebuild, + wxpython-2.8.10.1.ebuild: + Depend on wxGTK[X] (bug #327795 by Arttu Valo). + +*wxpython-2.8.11.0 (27 May 2010) + + 27 May 2010; Ryan Hill <dirtyepic@gentoo.org> +wxpython-2.8.11.0.ebuild, + +files/wxpython-2.8.11-drop-editra.patch: + Version bump. + http://wxpython.org/recentchanges.php + + 05 Mar 2010; Ryan Hill <dirtyepic@gentoo.org> wxpython-2.6.4.0-r2.ebuild, + wxpython-2.8.10.1.ebuild: + Port 2.6 ebuild to SUPPORT_PYTHON_ABIS. Use EAPI 2. Add missing setuptools + RDEPEND. Drop use of deprecated python functions. + + 17 Feb 2010; Ryan Hill <dirtyepic@gentoo.org> + -files/wxpython-2.8.8-wxversion-scripts.patch, + -wxpython-2.8.9.1-r2.ebuild, -wxpython-2.8.9.1-r3.ebuild, + -wxpython-2.8.9.2.ebuild: + Drop old. + + 25 Jan 2010; Samuli Suominen <ssuominen@gentoo.org> + wxpython-2.8.10.1.ebuild: + Require SLOT="0" of media-libs/jpeg for headers. + + 02 Jan 2010; Brent Baude <ranger@gentoo.org> wxpython-2.8.10.1.ebuild: + Marking wxpython-2.8.10.1 ppc64 for bug 284996 + + 26 Oct 2009; Raúl Porcel <armin76@gentoo.org> wxpython-2.8.10.1.ebuild: + ia64/sh/sparc stable wrt #284996 + + 21 Oct 2009; Markus Meier <maekke@gentoo.org> wxpython-2.8.10.1.ebuild: + arm stable, bug #284996 + + 01 Oct 2009; Tobias Klausmann <klausman@gentoo.org> + wxpython-2.8.10.1.ebuild: + Stable on alpha, bug #284996 + + 27 Sep 2009; nixnut <nixnut@gentoo.org> wxpython-2.8.10.1.ebuild: + ppc stable #284996 + + 22 Sep 2009; Markus Meier <maekke@gentoo.org> wxpython-2.8.10.1.ebuild: + amd64/x86 stable, bug #284996 + + 18 Sep 2009; Jeroen Roovers <jer@gentoo.org> wxpython-2.8.10.1.ebuild: + Stable for HPPA (bug #284996). + + 06 Sep 2009; Christian Ruppert <idl0r@gentoo.org> + -files/wxpython-2.8.7-wxversion-scripts.patch, + -files/wxpython-2.8.8.1-musthaveapp.patch, -files/wxpy-config.py: + Remove unused patches. + + 30 Aug 2009; Ryan Hill <dirtyepic@gentoo.org> wxpython-2.8.10.1.ebuild: + Revert usage of += operators. They're a bash-3.1 feature and PMS is stuck + at bash-3.0. + + 29 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + wxpython-2.8.10.1.ebuild: + Set SUPPORT_PYTHON_ABIS. Add missing dependency on dev-python/setuptools. + +*wxpython-2.8.10.1 (18 May 2009) + + 18 May 2009; Ryan Hill <dirtyepic@gentoo.org> +wxpython-2.8.10.1.ebuild: + Version bump. + +*wxpython-2.8.9.2 (21 Feb 2009) + + 21 Feb 2009; Ryan Hill <dirtyepic@gentoo.org> + +files/wxpython-2.8.9-wxversion-scripts.patch, + +files/wxpython-2.8-drop-editra.patch, +wxpython-2.8.9.2.ebuild: + Version bump. + Split editra out into its own package: app-editors/editra + Install desktop entries for utilities. + + 15 Feb 2009; Ryan Hill <dirtyepic@gentoo.org> ChangeLog, Manifest: + Fix broken commit. + + 15 Feb 2009; Ryan Hill <dirtyepic@gentoo.org> ChangeLog, Manifest: + Remove old. + + 15 Feb 2009; Brent Baude <ranger@gentoo.org> wxpython-2.8.9.1-r2.ebuild: + Marking wxpython-2.8.9.1-r2 ppc for bug 254696 + + 07 Feb 2009; Raúl Porcel <armin76@gentoo.org> wxpython-2.8.9.1-r2.ebuild, + wxpython-2.8.9.1-r3.ebuild: + arm/ia64/sh/sparc stable wrt #254696 + + 06 Feb 2009; Jeroen Roovers <jer@gentoo.org> wxpython-2.8.9.1-r3.ebuild: + Stable for HPPA (bug #254696). + + 28 Jan 2009; Brent Baude <ranger@gentoo.org> wxpython-2.8.9.1-r2.ebuild: + Marking wxpython-2.8.9.1-r2 ppc64 for bug 254696 + + 24 Jan 2009; Ryan Hill <dirtyepic@gentoo.org> -wxpython-2.6.4.0.ebuild: + Remove ancient ebuild. + + 24 Jan 2009; Alexis Ballier <aballier@gentoo.org> + wxpython-2.6.4.0-r2.ebuild: + keyword ~x86-fbsd + + 22 Jan 2009; Raúl Porcel <armin76@gentoo.org> wxpython-2.6.4.0-r2.ebuild, + wxpython-2.8.9.1-r3.ebuild: + Readd ~arm/~sh + + 19 Jan 2009; Alexis Ballier <aballier@gentoo.org> + wxpython-2.8.9.1-r3.ebuild: + keyword ~x86-fbsd, bug #254696 + + 18 Jan 2009; Markus Meier <maekke@gentoo.org> wxpython-2.8.9.1-r2.ebuild: + amd64/x86 stable, bug #254696 + + 18 Jan 2009; Tobias Klausmann <klausman@gentoo.org> + wxpython-2.8.9.1-r2.ebuild: + Stable on alpha, bug #254696 + +*wxpython-2.8.9.1-r3 (18 Jan 2009) + + 18 Jan 2009; Ryan Hill <dirtyepic@gentoo.org> + +files/wxpython-2.8-cache-writable.patch, + +files/wxpython-2.8-wxversion-demo.patch, metadata.xml, + wxpython-2.6.4.0.ebuild, -wxpython-2.6.4.0-r1.ebuild, + -wxpython-2.8.7.1.ebuild, +wxpython-2.8.9.1-r3.ebuild: + Integrate dev-python/wxpython-docs into wxpython ebuild for bug #230305. + Remove old and drop all keywords except arm, sh, and x86-fbsd on the + 2.6.4.0 ebuild. + +*wxpython-2.8.9.1-r2 (26 Nov 2008) + + 26 Nov 2008; Ryan Hill <dirtyepic@gentoo.org> -wxpython-2.8.9.1-r1.ebuild, + +wxpython-2.8.9.1-r2.ebuild: + Fix build options not getting passed to src_compile due to mypyconf being + declared locally in src_configure. + + 27 Oct 2008; Jeroen Roovers <jer@gentoo.org> wxpython-2.8.8.1.ebuild: + Stable for HPPA (bug #242088). + +*wxpython-2.8.9.1-r1 (18 Oct 2008) + + 18 Oct 2008; Ryan Hill <dirtyepic@gentoo.org> wxpython-2.8.9.1.ebuild, + +wxpython-2.8.9.1-r1.ebuild: + Revert to EAPI 1 for stable candidate and add -r1 using EAPI 2. + + 18 Oct 2008; Raúl Porcel <armin76@gentoo.org> wxpython-2.8.8.1.ebuild: + alpha/ia64/sparc stable wrt #242088 + + 16 Oct 2008; Markus Meier <maekke@gentoo.org> wxpython-2.8.8.1.ebuild: + amd64/x86 stable, bug #242088 + + 15 Oct 2008; Markus Rothe <corsair@gentoo.org> wxpython-2.8.8.1.ebuild: + Stable on ppc64; bug #242088 + + 15 Oct 2008; Ferris McCormick <fmccor@gentoo.org> wxpython-2.8.8.1.ebuild: + Sparc stable, part of Bug #242088. + + 15 Oct 2008; Brent Baude <ranger@gentoo.org> wxpython-2.8.8.1.ebuild: + Marking wxpython-2.8.8.1 ppc for bug 242088 + +*wxpython-2.8.9.1 (14 Oct 2008) + + 14 Oct 2008; Ryan Hill <dirtyepic@gentoo.org> +wxpython-2.8.9.1.ebuild: + Version bump. EAPI 2. New cairo USE flag. + + 04 Oct 2008; Brent Baude <ranger@gentoo.org> wxpython-2.6.4.0-r2.ebuild: + stable ppc64, bug 238437 + + 02 Oct 2008; Ryan Hill <dirtyepic@gentoo.org> wxpython-2.8.8.1.ebuild: + Remove old comment. + + 30 Sep 2008; Raúl Porcel <armin76@gentoo.org> wxpython-2.6.4.0-r2.ebuild: + alpha/ia64 stable wrt #238437 + + 28 Sep 2008; Markus Meier <maekke@gentoo.org> wxpython-2.6.4.0-r2.ebuild: + amd64/x86 stable, bug #238437 + + 27 Sep 2008; nixnut <nixnut@gentoo.org> wxpython-2.6.4.0-r2.ebuild: + Stable on ppc wrt bug 238437 + + 23 Sep 2008; Ferris McCormick <fmccor@gentoo.org> + wxpython-2.6.4.0-r2.ebuild: + Sparc stable --- Bug #238437 --- it's been around over 6 weeks now. + + 23 Sep 2008; Jeroen Roovers <jer@gentoo.org> wxpython-2.6.4.0-r2.ebuild: + Stable for HPPA (bug #238437). + +*wxpython-2.6.4.0-r2 (28 Jul 2008) + + 28 Jul 2008; Ryan Hill <dirtyepic@gentoo.org> wxpython-2.6.4.0-r1.ebuild, + +wxpython-2.6.4.0-r2.ebuild, wxpython-2.8.7.1.ebuild: + Revision bump. + + 28 Jul 2008; Ryan Hill <dirtyepic@gentoo.org> wxpython-2.6.4.0.ebuild, + wxpython-2.6.4.0-r1.ebuild, wxpython-2.8.7.1.ebuild, + wxpython-2.8.8.1.ebuild: + Work around aliasing bug in GCC 4.1 by building with -fno-strict-aliasing. + Manifested as 'TypeError: wx.Window, wx.Sizer, wx.Size, or (w,h) expected + for item' errors in various apps. + + Bug #233154, reported by Henrik Sankala. + +*wxpython-2.8.8.1 (25 Jul 2008) + + 25 Jul 2008; Ryan Hill <dirtyepic@gentoo.org> + +files/wxpython-2.8.8.1-musthaveapp.patch, + +files/wxpython-2.8.8-wxversion-scripts.patch, +wxpython-2.8.8.1.ebuild: + Version bump. + + 29 May 2008; Ali Polatel <hawking@gentoo.org> wxpython-2.6.4.0-r1.ebuild, + wxpython-2.8.7.1.ebuild: + Fix python_mod_optimize usage. + + 21 Mar 2008; Ryan Hill <dirtyepic@gentoo.org> wxpython-2.6.4.0-r1.ebuild, + wxpython-2.8.7.1.ebuild: + Move wxaddons module into version-specific directories to fix bug #213819. + + 17 Mar 2008; Peter Volkov <pva@gentoo.org> wxpython-2.6.4.0-r1.ebuild, + wxpython-2.8.7.1.ebuild: + amd64 stable, bug #207648. + + 16 Mar 2008; Ryan Hill <dirtyepic@gentoo.org> wxpython-2.6.4.0-r1.ebuild, + wxpython-2.8.7.1.ebuild: + Fix modules getting installed into lib rather than lib64 on multilib + systems w/ python-2.4. + + 29 Jan 2008; nixnut <nixnut@gentoo.org> wxpython-2.6.4.0-r1.ebuild, + wxpython-2.8.7.1.ebuild: + Stable on ppc wrt bug 207648 + + 28 Jan 2008; Jeroen Roovers <jer@gentoo.org> wxpython-2.6.4.0-r1.ebuild, + wxpython-2.8.7.1.ebuild: + Stable for HPPA (bug #207648). + + 28 Jan 2008; Raúl Porcel <armin76@gentoo.org> metadata.xml: + Replace wxwindows with wxwidgets in metadata + + 27 Jan 2008; Raúl Porcel <armin76@gentoo.org> wxpython-2.6.4.0-r1.ebuild, + wxpython-2.8.7.1.ebuild: + alpha/ia64/sparc stable wrt #207648 + + 27 Jan 2008; Brent Baude <ranger@gentoo.org> wxpython-2.6.4.0-r1.ebuild, + wxpython-2.8.7.1.ebuild: + Marking wxpython-2.6.4.0-r1 and wxpython-2.8.7.1 ppc64 stable per bug 207648 + + 27 Jan 2008; Christian Faulhammer <opfer@gentoo.org> + wxpython-2.8.7.1.ebuild: + stable x86, bug 207648 + + 27 Jan 2008; Christian Faulhammer <opfer@gentoo.org> + wxpython-2.6.4.0-r1.ebuild: + stable x86, bug 207648 + + 10 Jan 2008; Ryan Hill <dirtyepic@gentoo.org> -wxpython-2.6.3.3.ebuild: + Remove old. + + 25 Dec 2007; Ryan Hill <dirtyepic@gentoo.org> wxpython-2.6.4.0.ebuild: + Make sure we set WX_GTK_VER before calling check_wxuse. Bug #203298 by Fabio + Rossi. + + 24 Dec 2007; Ryan Hill <dirtyepic@gentoo.org> wxpython-2.8.7.1.ebuild: + Re-add dropped ppc keyword, touch up deps. + +*wxpython-2.8.7.1 (24 Dec 2007) + + 24 Dec 2007; Ryan Hill <dirtyepic@gentoo.org> + +files/wxpython-2.8.7-wxversion-scripts.patch, +wxpython-2.8.7.1.ebuild: + Version bump. Masked for testing. + + 22 Dec 2007; nixnut <nixnut@gentoo.org> wxpython-2.6.4.0-r1.ebuild: + Added ~ppc wrt bug 199594 + + 22 Dec 2007; Ryan Hill <dirtyepic@gentoo.org> wxpython-2.6.3.3.ebuild, + wxpython-2.6.4.0.ebuild, wxpython-2.6.4.0-r1.ebuild: + Lock DEPEND to wxGTK-2.6 for bug #202998. + + 13 Dec 2007; Ryan Hill <dirtyepic@gentoo.org> wxpython-2.6.4.0-r1.ebuild: + Drop arm, ppc, sh, and x86-fbsd keywords for bug #199594. + + 04 Dec 2007; Ryan Hill <dirtyepic@gentoo.org> wxpython-2.6.4.0-r1.ebuild: + Remove EA_ADD_OPTS=0 from configuration, leftover from testing. + +*wxpython-2.6.4.0-r1 (25 Nov 2007) + + 25 Nov 2007; Ryan Hill <dirtyepic@gentoo.org> +wxpython-2.6.4.0-r1.ebuild: + Add 2.6.4.0-r1, masked for testing. + + 04 Nov 2007; Christoph Mende <angelos@gentoo.org> wxpython-2.6.4.0.ebuild: + Stable on amd64 wrt bug #197186 + + 30 Oct 2007; Jeroen Roovers <jer@gentoo.org> wxpython-2.6.4.0.ebuild: + Stable for HPPA (bug #197186). + + 29 Oct 2007; Raúl Porcel <armin76@gentoo.org> wxpython-2.6.4.0.ebuild: + alpha/ia64/sparc stable wrt #197358 + + 28 Oct 2007; Markus Rothe <corsair@gentoo.org> wxpython-2.6.4.0.ebuild: + Stable on ppc64; bug #197186 + + 28 Oct 2007; Markus Meier <maekke@gentoo.org> wxpython-2.6.4.0.ebuild: + x86 stable, bug #197186 + + 27 Oct 2007; nixnut <nixnut@gentoo.org> wxpython-2.6.4.0.ebuild: + Stable on ppc wrt bug 197186 + + 22 Sep 2007; Ryan Hill <dirtyepic@gentoo.org> wxpython-2.6.3.3.ebuild, + wxpython-2.6.4.0.ebuild: + Adjust deps. + + 19 Sep 2007; Ryan Hill <dirtyepic@gentoo.org> wxpython-2.6.3.3.ebuild, + wxpython-2.6.4.0.ebuild: + Lock deps further to wxGTK-${PV} for wxpython. + + 19 Sep 2007; Ryan Hill <dirtyepic@gentoo.org> wxpython-2.6.3.3.ebuild, + wxpython-2.6.4.0.ebuild: + lock wxGTK depend to 2.6 + +*wxpython-2.6.4.0 (01 Sep 2007) + + 01 Sep 2007; Ryan Hill <dirtyepic@gentoo.org> +wxpython-2.6.4.0.ebuild: + Version bump. No major groundbreakery. Masked due to dep on + =x11-libs/wxGTK-2.6.4.0. + + 07 May 2007; Bryan Østergaard <kloeri@gentoo.org> + wxpython-2.6.3.3.ebuild: + Add missing category to built_with_use call. Bug reported by kimrhh on irc. + + 01 May 2007; Mart Raudsepp <leio@gentoo.org> + -files/scripts-multiver-2.6.0.0.diff, -files/wxversion.py, + -wxpython-2.6.1.0.ebuild: + Remove old version and stale patches + + 01 May 2007; Torsten Veller <tove@gentoo.org> Manifest: + Recreated old Manifest. Fix #176649. + + 30 Apr 2007; Jose Luis Rivero <yoswink@gentoo.org> + wxpython-2.6.3.3.ebuild: + Stable on alpha although there is a known bug in wxDirDialog. See #136924 + for details. + + 29 Apr 2007; Ryan Hill <dirtyepic@gentoo.org> + -files/wxpython-2.4.2.4-64bit.patch, -wxpython-2.4.2.4-r3.ebuild, + -wxpython-2.4.2.4-r4.ebuild: + Remove wxpython-2.4 from the tree. Bug #146073. + + 07 Apr 2007; Ryan Hill <dirtyepic@gentoo.org> wxpython-2.6.3.3.ebuild: + When USE="opengl" make sure wxGTK was built with opengl support. + + 10 Feb 2007; Simon Stelling <blubb@gentoo.org> wxpython-2.6.3.3.ebuild: + stable on amd64; bug 136924 + +*wxpython-2.4.2.4-r4 (03 Feb 2007) + + 03 Feb 2007; Simon Stelling <blubb@gentoo.org> + +files/wxpython-2.4.2.4-64bit.patch, +wxpython-2.4.2.4-r4.ebuild: + fix 64bit issues; bug 117885 + + 23 Jan 2007; Jeroen Roovers <jer@gentoo.org> wxpython-2.6.3.3.ebuild: + Stable for HPPA (bug #136924). + + 16 Jan 2007; Joseph Jezak <josejx@gentoo.org> wxpython-2.6.3.3.ebuild: + Marked ppc stable for bug #136924. + + 15 Jan 2007; Raúl Porcel <armin76@gentoo.org> wxpython-2.6.3.3.ebuild: + x86 stable, wrt bug 136924 + + 15 Jan 2007; Gustavo Zacarias <gustavoz@gentoo.org> + wxpython-2.6.3.3.ebuild: + Stable on sparc wrt #136924 + + 14 Jan 2007; Markus Rothe <corsair@gentoo.org> wxpython-2.6.3.3.ebuild: + Stable on ppc64; bug #136924 + + 05 Jan 2007; Ryan Hill <dirtyepic@gentoo.org> wxpython-2.4.2.4-r3.ebuild, + wxpython-2.6.1.0.ebuild, wxpython-2.6.3.3.ebuild: + einfo -> elog + +*wxpython-2.6.3.3 (29 Dec 2006) + + 29 Dec 2006; Tiziano Müller <dev-zero@gentoo.org> + -wxpython-2.6.3.2.ebuild, +wxpython-2.6.3.3.ebuild: + Version bump (bug #156805), fixes bugs #154505, #148399, #158050 + + 15 Oct 2006; Mart Raudsepp <leio@gentoo.org> -wxpython-2.4.2.4.ebuild, + -wxpython-2.6.0.0-r1.ebuild: + Drop old versions + + 06 Sep 2006; Javier Villavicencio <the_paya@gentoo.org> + wxpython-2.6.3.2.ebuild: + Add ~x86-fbsd keyword. + + 27 Aug 2006; Mart Raudsepp <leio@gentoo.org> metadata.xml: + Change primary herd to wxwindows. + + 03 Aug 2006; Mart Raudsepp <leio@gentoo.org> wxpython-2.6.3.2.ebuild: + Change wxGTK depend to avoid dependency problems after a version bump. + + 14 Apr 2006; Mark Loeser <halcy0n@gentoo.org> wxpython-2.6.3.2.ebuild: + Fix dependencies so that wxpython and wxGTK versions always match; bug #129937 + +*wxpython-2.6.3.2 (13 Apr 2006) + + 13 Apr 2006; Mark Loeser <halcy0n@gentoo.org> +wxpython-2.6.3.2.ebuild: + Bump to new upstream version 2.6.3.2; bug #121856 + + 18 Dec 2005; Markus Rothe <corsair@gentoo.org> wxpython-2.6.1.0.ebuild: + Stable on ppc64 + + 29 Nov 2005; Luis Medinas <metalgod@gentoo.org> + wxpython-2.4.2.4-r3.ebuild: + Stable on amd64. Fixes bug #113893. + + 29 Nov 2005; Luis Medinas <metalgod@gentoo.org> wxpython-2.6.1.0.ebuild: + Stable on amd64. + + 25 Nov 2005; Tom Gall <tgall@gentoo.org> + wxpython-2.6.1.0.ebuild: + added ~ppc64 + + 11 Nov 2005; Michael Hanselmann <hansmi@gentoo.org> + wxpython-2.6.1.0.ebuild: + Stable on ppc. + + 17 Oct 2005; Gustavo Zacarias <gustavoz@gentoo.org> + wxpython-2.6.1.0.ebuild: + Stable on sparc + + 17 Oct 2005; Aron Griffis <agriffis@gentoo.org> wxpython-2.6.1.0.ebuild: + Mark 2.6.1.0 stable on alpha + + 15 Oct 2005; Rob Cakebread <pythonhead@gentoo.org> + wxpython-2.6.1.0.ebuild: + Stable x86. Fixed wxGTK dep + +*wxpython-2.4.2.4-r3 (11 Oct 2005) + + 11 Oct 2005; Rob Cakebread <pythonhead@gentoo.org> + +wxpython-2.4.2.4-r3.ebuild: + Fixes bug #108643 + + 10 Sep 2005; Aron Griffis <agriffis@gentoo.org> + wxpython-2.4.2.4-r2.ebuild: + Mark 2.4.2.4-r2 stable on alpha + + 07 Sep 2005; Simon Stelling <blubb@gentoo.org> wxpython-2.4.2.4.ebuild, + wxpython-2.4.2.4-r2.ebuild, wxpython-2.6.0.0-r1.ebuild, + wxpython-2.6.1.0.ebuild: + make multilib-strict aware; bug 103535 + +*wxpython-2.6.1.0 (12 Jul 2005) + + 12 Jul 2005; Rob Cakebread <pythonhead@gentoo.org> + +files/scripts-multiver-2.6.1.0.diff, +wxpython-2.6.1.0.ebuild: + Version bump. + + 17 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> + wxpython-2.4.2.4-r2.ebuild: + Stable on ppc. + + 06 Jun 2005; Markus Rothe <corsair@gentoo.org> wxpython-2.4.2.4-r2.ebuild: + Stable on ppc64 + + 22 May 2005; Jason Wever <weeve@gentoo.org> wxpython-2.4.2.4-r2.ebuild: + Stable on SPARC. + + 22 May 2005; Rene Nussbaumer <killerfox@gentoo.org> + wxpython-2.4.2.4-r2.ebuild: + Stable on hppa + + 18 May 2005; Rob Cakebread <pythonhead@gentoo.org> + wxpython-2.4.2.4-r2.ebuild: + Marked stable x86 + +*wxpython-2.6.0.0-r1 (11 May 2005) + + 11 May 2005; Rob Cakebread <pythonhead@gentoo.org> + -wxpython-2.6.0.0.ebuild, +wxpython-2.6.0.0-r1.ebuild: + Changed to non-monolithic build. bug# 91574, removed monolithic ebuild + +*wxpython-2.6.0.0 (02 May 2005) +*wxpython-2.4.2.4-r2 (02 May 2005) + + 02 May 2005; Rob Cakebread <pythonhead@gentoo.org> + +files/scripts-multiver-2.6.0.0.diff, files/wxpy-config.py, + +wxpython-2.4.2.4-r2.ebuild, -wxpython-2.5.3.1.ebuild, + +wxpython-2.6.0.0.ebuild: + Version bump. Now using SLOTs. + + 25 Jan 2005; Rob Cakebread <pythonhead@gentoo.org> + wxpython-2.4.2.4.ebuild: + Moved to SLOT 2.4 + + 31 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> : + Change encoding to UTF-8 for GLEP 31 compliance + + 11 Dec 2004; Rob Cakebread <pythonhead@gentoo.org> + wxpython-2.5.3.1.ebuild: + Put headers in a better place. Closes #74019 + + 13 Nov 2004; Rob Cakebread <pythonhead@gentoo.org> + wxpython-2.5.3.1.ebuild: + Fixed site_pkgs location + + 13 Nov 2004; Rob Cakebread <pythonhead@gentoo.org> + wxpython-2.4.2.4.ebuild: + Pegged deps on wxGTK at 2.4* + + 13 Nov 2004; Rob Cakebread <pythonhead@gentoo.org> + wxpython-2.4.2.4-r1.ebuild, wxpython-2.5.3.1.ebuild: + wxpy-config.py wasn't being copied. bug# 71043 + +*wxpython-2.4.2.4-r1 (12 Nov 2004) + + 12 Nov 2004; Rob Cakebread <pythonhead@gentoo.org> +files/wxpy-config.py, + +files/wxversion.py, +wxpython-2.4.2.4-r1.ebuild, + +wxpython-2.5.3.1.ebuild: + Version bump, retrofitted with SLOTs, bug# 47810 + + 05 Sep 2004; Sven Wegener <swegener@gentoo.org> : + Fixed ChangeLog header. + + 18 Aug 2004; Tom Gall <tgall@gentoo.org> wxpython-2.4.2.4.ebuild: + stable on ppc64, bug #58420 + + 06 Aug 2004; Rob Cakebread <pythonhead@gentoo.org> -wxpython-2.4.0.7.ebuild, + -wxpython-2.4.1.2.ebuild, wxpython-2.4.2.4.ebuild: + Removed obsolete versions, changed 2.4.2.4 to use new wxwidgets eclass + + 02 Aug 2004; Rob Cakebread <pythonhead@gentoo.org> + +files/controsl2.py.patch: + Added missing controls2.py.patch + + 02 Aug 2004; Ferris McCormick <fmccor@gentoo.org> wxpython-2.4.2.4.ebuild: + Stable for sparc. This version runs fine, and the previous stable + version (2.4.1.2) no longer builds because its patch file is missing. + This version runs both +gtk2, -gtk2. Also, it (and wxGTK) build with + gcc-3.3.3, hardened gcc-3.3.4-r1 as of the date of this entry, and run. + + 20 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> wxpython-2.4.0.7.ebuild, + wxpython-2.4.1.2.ebuild, wxpython-2.4.2.4.ebuild: + dev-python/PyOpenGL is now dev-python/pyopengl - adjust dependencies + accordingly. + + 05 Jul 2004; Rob Cakebread <pythonhead@gentoo.org> wxpython-2.4.2.4.ebuild: + Clarified USE='gtk2' messages. Bug# 56153 + + 03 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> wxpython-2.4.0.7.ebuild, + wxpython-2.4.1.2.ebuild, wxpython-2.4.2.4.ebuild: + Fix error messages. + +*wxpython-2.4.2.4 (03 Jul 2004) + + 03 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> +wxpython-2.4.0.7.ebuild, + +wxpython-2.4.1.2.ebuild, +wxpython-2.4.2.4.ebuild: + Follow naming policy, rename wxPython to wxpython. + + 30 Jun 2004; Guy Martin <gmsoft@gentoo.org> wxPython-2.4.2.4.ebuild: + Marked stable on hppa. + + 22 Jun 2004; Rob Cakebread <pythonhead@gentoo.org> wxPython-2.4.2.4.ebuild: + Marked stable on x86 + + 03 Jun 2004; Aron Griffis <agriffis@gentoo.org> wxPython-2.4.0.7.ebuild, + wxPython-2.4.1.2.ebuild, wxPython-2.4.2.4.ebuild: + Fix use invocation + + 25 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> + wxPython-2.4.0.7.ebuild: + don't use deprecated ? : use syntax + + 17 Feb 2004; Aron Griffis <agriffis@gentoo.org> wxPython-2.4.0.7.ebuild, + wxPython-2.4.1.2.ebuild, wxPython-2.4.2.4.ebuild: + stable on alpha and ia64 + + 17 Jan 2004; Bartosch Pixa <darkspecter@gentoo.org> : + manifest fix + + 16 Jan 2004; Bartosch Pixa <darkspecter@gentoo.org> wxPython-2.4.2.4.ebuild: + set ppc in keywords + + 29 Dec 2003; Guy Martin <gmsoft@gentoo.org> wxPython-2.4.1.2.ebuild: + Marked stable on hppa. + + 25 Dec 2003; Jason Wever <weeve@gentoo.org> wxPython-2.4.1.2.ebuild: + Marked stable on sparc. + + 12 Oct 2003; Alastair Tse <liquidx@gentoo.org> wxPython-2.4.2.4.ebuild: + add unicode support to match wxGTK-2.4.2 thanks to Vaclav Slavik + <vaclav.slavik@matfyz.cz> (#30768) + + 08 Oct 2003; Alastair Tse <liquidx@gentoo.org> wxPython-2.4.1.2.ebuild, + wxPython-2.4.2.4.ebuild: + added debug config wx*-config and stable bumped wxPython-2.4.1.2 + + 08 Oct 2003; Seemant Kulleen <seemant@gentoo.org> wxPython-2.4.1.2.ebuild, + wxPython-2.4.2.4.ebuild: + the dependency is tiff, not libtiff + +*wxPython-2.4.2.4 (08 Oct 2003) + + 08 Oct 2003; Alastair Tse <liquidx@gentoo.org> wxPython-2.4.0.7.ebuild, + wxPython-2.4.1.2.ebuild, wxPython-2.4.2.4.ebuild: + version bump. incorporating license changes thanks to Vaclav Slavik + <vaclav.slavik@matfyz.cz> (#28697) + + 10 Jul 2003; Nick Hadaway <raker@gentoo.org> wxPython-2.4.1.2.ebuild, + files/controls2.py.patch: + Added a tiny patch to fix a typo in controls2.py + +*wxPython-2.4.1.2 (09 Jul 2003) + + 09 Jul 2003; Alastair Tse <liquidx@gentoo.org> wxPython-2.4.1.2.ebuild: + new version. needs wxGTK-2.4.1 + + 08 Jul 2003; Alastair Tse <liquidx@gentoo.org> wxPython-2.4.0.2.ebuild: + removed non-functional patch from wxWindows-2.4.0.2 + + 07 Jul 2003; Alastair Tse <liquidx@gentoo.org> wxPython-2.4.0.7.ebuild: + bump to stable + + 07 May 2003; Alastair Tse <liquidx@gentoo.org> wxPython-2.4.0.6.ebuild, + wxPython-2.4.0.7.ebuild: + Detect non-unicode wxGTK + +*wxPython-2.4.0.7 (27 Apr 2003) + + 27 Apr 2003; Alastair Tse <liquidx@gentoo.org> wxPython-2.4.0.7.ebuild: + version bump + +*wxPython-2.4.0.6 (16 Mar 2003) + + 26 Mar 2003; Alastair Tse <liquidx@gentoo.org> wxPython-2.4.0.6.ebuild: + Fixed typo that disallows wxPython from merging. Fixes #18203. + + 26 Mar 2003; Alastair Tse <liquidx@gentoo.org> wxPython-2.4.0.6.ebuild: + add check to make sure wxGTK is compiled with the right use flags + + 16 Mar 2003; Alastair Tse <liquidx@gentoo.org> wxPython-2.4.0.6.ebuild: + version bump + +*wxPython-2.4.0.2 (01 Feb 2003) + + 01 Feb 2003; Nick Hadaway <raker@gentoo.org> wxPython-2.4.0.2.ebuild : + Version bump. Bug fixes. + +*wxPython-2.4.0.1 (12 Jan 2003) + + 15 Jan 2003; Nick Hadaway <raker@gentoo.org> wxPython-2.4.0.1.ebuild : + Marked stable for x86. + + 13 Jan 2003; Nick Hadaway <raker@gentoo.org> wxPython-2.4.0.1.ebuild : + Added gtk2 support based on code submitted by Jose Fonseca on bug + #13860 + + 12 Jan 2003; Nick Hadaway <raker@gentoo.org> wxPython-2.4.0.1.ebuild, + files/digest-wxPython-2.4.0.1 : + A much needed upgrade. Works with the latest wxGTK release. + As we have had much problems with the 2.3.4 wxGTK series I am hoping + this may actually make into the stable 1.4 release or we need to bump + back to to 2.3.3 series of wxGTK. + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + +*wxPython-2.3.3.1-r2 (30 Oct 2002) + + 30 Oct 2002; Mike Frysinger <vapier@gentoo.org> : + Removed all the crap put into the first 2.3.3.1 ebuild to build wxGTK and + updated the patch to remove glcanvas + +*wxPython-2.3.3.1-r1 (29 Oct 2002) + + 29 Oct 2002; Mike Frysinger <vapier@gentoo.org> : + added some changes per discussion on #9693 + +*wxPython-2.3.3.1 (28 Oct 2002) + + 28 Oct 2002; Mike Frysinger <vapier@gentoo.org> : + This version bump was nasty rough ... + They added configure/make scripts to this package now, so mirrored much of + the configure setup after wxGTK ... + +*wxPython-2.3.2.1-r2 (29 Aug 2002) + + 13 Sep 2002; Nick Hadaway <raker@gentoo.org> wxPython-2.3.2.1-r2.ebuild : + Moved glcanvas patch from -r1 as specifying GLCANVAS=0 doesn't disable + the opengl portion of the build fully. Should fix bug #7777. + + 11 Sep 2002; Nick Hadaway <raker@gentoo.org> wxPython-2.3.2.1-r2.ebuild : + tightened wxGTK dependancy to wxGTK-2.3.2* + + 01 Sep 2002; Nick Hadaway <raker@gentoo.org> wxPython-2.3.2.1-r2.ebuild : + Updated ebuild with missing ${myconf}'s + + 29 Aug 2002; Nick Hadaway <raker@gentoo.org> wxPython-2.3.2.1-r2.ebuild, + file/digest-wxPython-2.3.2.1-r2, files/ledctrl.diff : + GLCANVAS and GIZMOS extensions are now re-enabled and we should have a + full-featured ebuild of wxPython. + +*wxPython-2.3.2.1-r1 (2 Jul 2002) + + 22 Aug 2002; Nick Hadaway <raker@gentoo.org> wxPython-2.3.2.1-r1.ebuild, + files/noglcanvas.diff, files/nogizmos.diff : + Ebuild disables glcancas and gizmos extensions as they currently are + not building correctly. + + 2 Jul 2002; Jon Nelson <jnelson@gentoo.org> wxPython-2.3.2.1-r1: + Make lintool happy + expressly don't build GLCANVAS + +*wxPython-2.3.2.1 (11 Apr 2002) + + 11 Apr 2002; Spider <spider@gentoo.org> + Update all glib dependencies to use glib-1.2* in preparation of + unmasking the glib-2.0.1 packages + +*wxPython-2.3.2.1 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/dev-python/wxpython/Manifest b/dev-python/wxpython/Manifest new file mode 100644 index 0000000..7e839a8 --- /dev/null +++ b/dev-python/wxpython/Manifest @@ -0,0 +1,14 @@ +AUX scripts-multiver-2.6.1.0.diff 3373 RMD160 377cfeba11d5c91106d8ab57c50ed7534d3004b6 SHA1 1191dc7b4dd560dfc0843c44d823c0971dabd70c SHA256 504cb13fe5e13d75274fc965be2d78618fae99693ff6b8c1cf0ff50852cf8084 +AUX wxpython-2.8-cache-writable.patch 538 RMD160 1d627cfae8a819850d6f6807b6547b138e63e5a0 SHA1 e6c4e5732f2a3792bea50a9ff51d233569ca490e SHA256 caf371fdd36ae60b36754f6fa66df3887c3ee2e1dd509f8cc8bc92525942f429 +AUX wxpython-2.8-wxversion-demo.patch 219 RMD160 5ec8b5179fe03493786965849494adb0f697eb23 SHA1 92ccb9e099def1ff9ff842b5bfbbd769c1d06c6e SHA256 19618386cf750f56051541c403153bf1c7e90764199e53818eb0c9557d026f1c +AUX wxpython-2.8.11-drop-editra.patch 2197 RMD160 49364666c2c71f58bc89d63dbce7086cf786ea95 SHA1 9777b6e20a095249eb9a51f99ecefdea709c5066 SHA256 a0774e4c273485711cb3da4d70cf7bf0766a9f189fafdc7bae07186d553f341b +AUX wxpython-2.8.9-wxversion-scripts.patch 7730 RMD160 e93c7b883b1ad22011df069d8d6ad24938ea8b07 SHA1 cf05e834a6e4325f51881f62113922e3aa20f5c4 SHA256 55b1caa38295338dda3cc9ebfa4e43eb3be76959a0ee9b23a7b81085d80d7ba6 +DIST wxPython-demo-2.8.11.0.tar.bz2 3894559 RMD160 74337736081d809e85e212c72a45cfd7bd23c236 SHA1 9e9a148bf8590d69bc652c535c8dc5b860f01043 SHA256 b4463d50bb597b66471e218f94e6e6f94e05689735038348f9689de941cc24d3 +DIST wxPython-docs-2.8.11.0.tar.bz2 2331727 RMD160 da31b1da7e8f4862c404a14de2216216ab53aae4 SHA1 6d42177e72b93f286f55cc298bc7ab29531ffa7f SHA256 1e95cf1033902fd4c7abc1b9d34688179f8b699a0f74455fec541a6ad421590d +DIST wxPython-newdocs-2.8.9.2.tar.bz2 1503913 RMD160 86084386383904972df15aa65ca26d1ad1a28a5d SHA1 eedef5ef87824b28a6fe4d338420cf6249ac1f2f SHA256 890b6b7ca37ba7aaa27f9716ea9992ac75ed8150e83939506e3c47f86e7f37a8 +DIST wxPython-src-2.6.4.0.tar.bz2 19062795 RMD160 fe4d2cd91f83c6a8538f2f70f94d6553985f3958 SHA1 621f529e0a5c3e30d4a750046fd71179567a52f8 SHA256 124281b3f5d699eb0699022a0e00fd5359370b61748a0560b7109005d8fb06ba +DIST wxPython-src-2.8.11.0.tar.bz2 30604503 RMD160 9e93b0acaf85ba1a4be9c324a872037c44a7694a SHA1 18982edc236a1d87e4eef018928358c925aa5b17 SHA256 210c568bdec811b10fbf8274e9659c8e52823d31fdda9010dbba725194f66661 +EBUILD wxpython-2.6.4.0-r2.ebuild 3574 RMD160 dfbd546cf78e72eb289c9ee290a77e9f845308db SHA1 2164633faa0ff8f0fc0dccc4ab1e34bda5b69b2d SHA256 d2800052cbe204ea3248c1092ba77a0acdebecaaccc4082a8a1dd22e6f40ba44 +EBUILD wxpython-2.8.11.0.ebuild 5401 RMD160 523a2b43e4c69cc91ac5b5d318901f48ea312084 SHA1 6a9bc8bafb29358e043ec00a9adedda5e7815ed4 SHA256 2653fbf8437f374e0f4e33e65d1e6d32d2aaf849dbdda822cc8908bbe9cde87b +MISC ChangeLog 25632 RMD160 38d5c87c7b5434206d11fca344de369b07a3171c SHA1 b14920094d1946e6c1bf07660cc890595f7c1186 SHA256 d6a26ce526dc0b39b1e458b339f43ca1960e1c060dcd5fe3149b2916629ca1d6 +MISC metadata.xml 366 RMD160 3241adb1423f2ce702bc75172a071d7c24c335e3 SHA1 363953bc2e7c364bdc92278ce391df6820c8b063 SHA256 d90a8fa164deff1b8cfa28cf401483424addfceeca8cd35539b7f2bbb3280cff diff --git a/dev-python/wxpython/files/scripts-multiver-2.6.1.0.diff b/dev-python/wxpython/files/scripts-multiver-2.6.1.0.diff new file mode 100644 index 0000000..24586a6 --- /dev/null +++ b/dev-python/wxpython/files/scripts-multiver-2.6.1.0.diff @@ -0,0 +1,147 @@ +diff -cr scripts/helpviewer scripts.mine/helpviewer +*** scripts/helpviewer Wed Nov 12 21:03:49 2003 +--- scripts.mine/helpviewer Wed Apr 27 04:07:31 2005 +*************** +*** 1,4 **** +--- 1,7 ---- + #!/usr/bin/env python + ++ import wxversion ++ wxversion.select("2.6") ++ + from wx.tools.helpviewer import main + main() +diff -cr scripts/img2png scripts.mine/img2png +*** scripts/img2png Wed Nov 12 21:03:49 2003 +--- scripts.mine/img2png Wed Apr 27 04:07:04 2005 +*************** +*** 1,5 **** +--- 1,8 ---- + #!/usr/bin/env python + ++ import wxversion ++ wxversion.select("2.6") ++ + from wx.tools.img2png import main + main() + +diff -cr scripts/img2py scripts.mine/img2py +*** scripts/img2py Wed Nov 12 21:03:49 2003 +--- scripts.mine/img2py Wed Apr 27 04:07:36 2005 +*************** +*** 1,5 **** +--- 1,8 ---- + #!/usr/bin/env python + ++ import wxversion ++ wxversion.select("2.6") ++ + import sys + from wx.tools.img2py import main + main(sys.argv[1:]) +diff -cr scripts/img2xpm scripts.mine/img2xpm +*** scripts/img2xpm Wed Nov 12 21:03:49 2003 +--- scripts.mine/img2xpm Wed Apr 27 04:07:14 2005 +*************** +*** 1,5 **** +--- 1,8 ---- + #!/usr/bin/env python + ++ import wxversion ++ wxversion.select("2.6") ++ + from wx.tools.img2xpm import main + main() + +diff -cr scripts/pyalacarte scripts.mine/pyalacarte +*** scripts/pyalacarte Wed Jul 2 23:12:38 2003 +--- scripts.mine/pyalacarte Wed Apr 27 04:07:40 2005 +*************** +*** 1,4 **** +--- 1,7 ---- + #!/usr/bin/env python + ++ import wxversion ++ wxversion.select("2.6") ++ + from wx.py.PyAlaCarte import main + main() +diff -cr scripts/pyalamode scripts.mine/pyalamode +*** scripts/pyalamode Wed Jul 2 23:12:37 2003 +--- scripts.mine/pyalamode Wed Apr 27 04:07:21 2005 +*************** +*** 1,4 **** +--- 1,7 ---- + #!/usr/bin/env python + ++ import wxversion ++ wxversion.select("2.6") ++ + from wx.py.PyAlaMode import main + main() +diff -cr scripts/pycrust scripts.mine/pycrust +*** scripts/pycrust Wed Jul 2 23:12:37 2003 +--- scripts.mine/pycrust Wed Apr 27 04:07:43 2005 +*************** +*** 1,4 **** +--- 1,7 ---- + #!/usr/bin/env python + ++ import wxversion ++ wxversion.select("2.6") ++ + from wx.py.PyCrust import main + main() +diff -cr scripts/pyshell scripts.mine/pyshell +*** scripts/pyshell Wed Jul 2 23:12:37 2003 +--- scripts.mine/pyshell Wed Apr 27 04:07:25 2005 +*************** +*** 1,4 **** +--- 1,7 ---- + #!/usr/bin/env python + ++ import wxversion ++ wxversion.select("2.6") ++ + from wx.py.PyShell import main + main() +diff -cr scripts/pywrap scripts.mine/pywrap +*** scripts/pywrap Wed Jul 2 23:12:37 2003 +--- scripts.mine/pywrap Wed Apr 27 04:07:46 2005 +*************** +*** 1,4 **** +--- 1,7 ---- + #!/usr/bin/env python + ++ import wxversion ++ wxversion.select("2.6") ++ + from wx.py.PyWrap import main + main() +diff -cr scripts/pywxrc scripts.mine/pywxrc +*** scripts/pywxrc Mon Oct 4 20:03:33 2004 +--- scripts.mine/pywxrc Wed Apr 27 04:07:28 2005 +*************** +*** 1,5 **** +--- 1,8 ---- + #!/usr/bin/env python + ++ import wxversion ++ wxversion.select("2.6") ++ + from wx.tools.pywxrc import main + main() + +diff -cr scripts/xrced scripts.mine/xrced +*** scripts/xrced Wed Nov 12 21:03:49 2003 +--- scripts.mine/xrced Wed Apr 27 04:07:49 2005 +*************** +*** 1,4 **** +--- 1,7 ---- + #!/usr/bin/env python + ++ import wxversion ++ wxversion.select("2.6") ++ + from wx.tools.XRCed.xrced import main + main() diff --git a/dev-python/wxpython/files/wxpython-2.8-cache-writable.patch b/dev-python/wxpython/files/wxpython-2.8-cache-writable.patch new file mode 100644 index 0000000..57f26b3 --- /dev/null +++ b/dev-python/wxpython/files/wxpython-2.8-cache-writable.patch @@ -0,0 +1,20 @@ +Use /tmp for cache files since the user won't have +write permissions on ${DOCDIR}. + +diff -Naurp docs-orig/viewdocs.py docs/viewdocs.py +--- docs-orig/viewdocs.py 2008-09-28 15:59:16.000000000 -0600 ++++ docs/viewdocs.py 2009-01-18 00:16:27.000000000 -0600 +@@ -16,11 +16,11 @@ if not basePath: + + + # test for write access +-if os.access(basePath, os.W_OK): ++if os.access('/tmp', os.W_OK): + + # setup the args + args = ['', +- '--cache='+basePath, ++ '--cache=/tmp', + os.path.join(basePath, 'wx.zip'), + ] + diff --git a/dev-python/wxpython/files/wxpython-2.8-wxversion-demo.patch b/dev-python/wxpython/files/wxpython-2.8-wxversion-demo.patch new file mode 100644 index 0000000..9782919 --- /dev/null +++ b/dev-python/wxpython/files/wxpython-2.8-wxversion-demo.patch @@ -0,0 +1,10 @@ +--- demo/demo.org 2005-04-28 03:00:13.431583384 +0000 ++++ demo/demo.py 2005-04-28 03:00:31.886777768 +0000 +@@ -1,4 +1,7 @@ + #!/usr/bin/env python + ++import wxversion ++wxversion.select("2.8") ++ + import Main + Main.main() diff --git a/dev-python/wxpython/files/wxpython-2.8.11-drop-editra.patch b/dev-python/wxpython/files/wxpython-2.8.11-drop-editra.patch new file mode 100644 index 0000000..9555bb5 --- /dev/null +++ b/dev-python/wxpython/files/wxpython-2.8.11-drop-editra.patch @@ -0,0 +1,48 @@ +--- a/wxPython/setup.py ++++ b/wxPython/setup.py +@@ -887,13 +887,6 @@ WX_PKGLIST = [ 'wx', + 'wx.tools', + 'wx.tools.XRCed', + 'wx.tools.XRCed.plugins', +- 'wx.tools.Editra', +- 'wx.tools.Editra.src', +- 'wx.tools.Editra.src.autocomp', +- 'wx.tools.Editra.src.eclib', +- 'wx.tools.Editra.src.ebmlib', +- 'wx.tools.Editra.src.extern', +- 'wx.tools.Editra.src.syntax', + ] + + if not EGGing: +@@ -920,7 +913,6 @@ else: + opj('scripts/pywrap'), + opj('scripts/pywxrc'), + opj('scripts/xrced'), +- opj('scripts/editra'), + ] + if os.name == 'nt': + SCRIPTS.append( opj('scripts/genaxmodule') ) +@@ -934,15 +926,6 @@ DATA_FILES += find_data_files('wx/tools/XRCed', '*.txt', '*.xrc', '*.htb') + DATA_FILES += find_data_files('wx/tools/XRCed/plugins', '*.crx') + DATA_FILES += find_data_files('wx/tools/XRCed/plugins/bitmaps', '*.png') + +-DATA_FILES += find_data_files('wx/tools/Editra/docs', '*.txt') +-DATA_FILES += find_data_files('wx/tools/Editra/locale', '*.mo') +-DATA_FILES += find_data_files('wx/tools/Editra/pixmaps', +- '*.png', '*.icns', '*.ico', 'README', 'AUTHORS', 'COPYING') +-DATA_FILES += find_data_files('wx/tools/Editra/plugins', '*.egg') +-DATA_FILES += find_data_files('wx/tools/Editra/src', 'README') +-DATA_FILES += find_data_files('wx/tools/Editra/styles', '*.ess') +-DATA_FILES += find_data_files('wx/tools/Editra/tests/syntax', '*') +-DATA_FILES += find_data_files('wx/tools/Editra', '[A-Z]*', recursive=False) + + + ## import pprint +@@ -993,7 +976,6 @@ if EGGing: + 'pyshell = wx.py.PyShell:main', + 'pywrap = wx.py.PyWrap:main', + 'helpviewer = wx.tools.helpviewer:main', +- 'editra = wx.tools.Editra.launcher:main', + 'xrced = wx.tools.XRCed.xrced:main', + ], + }, diff --git a/dev-python/wxpython/files/wxpython-2.8.9-wxversion-scripts.patch b/dev-python/wxpython/files/wxpython-2.8.9-wxversion-scripts.patch new file mode 100644 index 0000000..6a45678 --- /dev/null +++ b/dev-python/wxpython/files/wxpython-2.8.9-wxversion-scripts.patch @@ -0,0 +1,191 @@ +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/distrib/PyAlaMode.desktop wxPython-src-2.8.9.2/wxPython/distrib/PyAlaMode.desktop +--- wxPython-src-2.8.9.2-orig/wxPython/distrib/PyAlaMode.desktop 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/distrib/PyAlaMode.desktop 2009-02-21 15:04:55.000000000 -0600 +@@ -1,8 +1,8 @@ + [Desktop Entry] +-Name=PyAlaMode ++Name=PyAlaMode (2.8) + Comment=GUI Python Shell with Filling and editor windows +-Exec=pyalamode +-Icon=PyCrust.png ++Exec=pyalamode-2.8 ++Icon=/usr/share/pixmaps/PyCrust.png + Terminal=false + Type=Application + Categories=Application;Development; +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/distrib/PyCrust.desktop wxPython-src-2.8.9.2/wxPython/distrib/PyCrust.desktop +--- wxPython-src-2.8.9.2-orig/wxPython/distrib/PyCrust.desktop 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/distrib/PyCrust.desktop 2009-02-21 15:06:42.000000000 -0600 +@@ -1,8 +1,8 @@ + [Desktop Entry] +-Name=PyCrust ++Name=PyCrust (2.8) + Comment=GUI Python Shell with Filling +-Exec=pycrust +-Icon=PyCrust.png ++Exec=pycrust-2.8 ++Icon=/usr/share/pixmaps/PyCrust.png + Terminal=false + Type=Application + Categories=Application;Development; +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/distrib/PyShell.desktop wxPython-src-2.8.9.2/wxPython/distrib/PyShell.desktop +--- wxPython-src-2.8.9.2-orig/wxPython/distrib/PyShell.desktop 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/distrib/PyShell.desktop 2009-02-21 15:08:19.000000000 -0600 +@@ -1,8 +1,8 @@ + [Desktop Entry] +-Name=PyShell ++Name=PyShell (2.8) + Comment=GUI Python Shell +-Exec=pyshell +-Icon=PyCrust.png ++Exec=pyshell-2.8 ++Icon=/usr/share/pixmaps/PyCrust.png + Terminal=false + Type=Application + Categories=Application;Development; +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/distrib/XRCed.desktop wxPython-src-2.8.9.2/wxPython/distrib/XRCed.desktop +--- wxPython-src-2.8.9.2-orig/wxPython/distrib/XRCed.desktop 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/distrib/XRCed.desktop 2009-02-21 15:09:22.000000000 -0600 +@@ -1,8 +1,8 @@ + [Desktop Entry] +-Name=XRCed ++Name=XRCed (2.8) + Comment=wxPython XRC resource editor +-Exec=xrced +-Icon=XRCed.png ++Exec=xrced-2.8 ++Icon=/usr/share/pixmaps/XRCed.png + Terminal=false + Type=Application + Categories=Application;Development; +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/editra wxPython-src-2.8.9.2/wxPython/scripts/editra +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/editra 2008-02-29 14:32:17.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/editra 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.tools.Editra.launcher import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/genaxmodule wxPython-src-2.8.9.2/wxPython/scripts/genaxmodule +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/genaxmodule 2008-02-29 14:32:17.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/genaxmodule 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.tools.genaxmodule import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/helpviewer wxPython-src-2.8.9.2/wxPython/scripts/helpviewer +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/helpviewer 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/helpviewer 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.tools.helpviewer import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/img2png wxPython-src-2.8.9.2/wxPython/scripts/img2png +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/img2png 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/img2png 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.tools.img2png import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/img2py wxPython-src-2.8.9.2/wxPython/scripts/img2py +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/img2py 2008-02-29 14:32:17.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/img2py 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.tools.img2py import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/img2xpm wxPython-src-2.8.9.2/wxPython/scripts/img2xpm +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/img2xpm 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/img2xpm 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.tools.img2xpm import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/pyalacarte wxPython-src-2.8.9.2/wxPython/scripts/pyalacarte +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/pyalacarte 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/pyalacarte 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.py.PyAlaCarte import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/pyalamode wxPython-src-2.8.9.2/wxPython/scripts/pyalamode +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/pyalamode 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/pyalamode 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.py.PyAlaMode import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/pycrust wxPython-src-2.8.9.2/wxPython/scripts/pycrust +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/pycrust 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/pycrust 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.py.PyCrust import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/pyshell wxPython-src-2.8.9.2/wxPython/scripts/pyshell +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/pyshell 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/pyshell 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.py.PyShell import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/pywrap wxPython-src-2.8.9.2/wxPython/scripts/pywrap +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/pywrap 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/pywrap 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.py.PyWrap import main + main() +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/pywxrc wxPython-src-2.8.9.2/wxPython/scripts/pywxrc +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/pywxrc 2008-02-29 14:32:17.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/pywxrc 2009-02-21 15:09:58.000000000 -0600 +@@ -1,5 +1,7 @@ + #!/usr/bin/env python + ++import wxversion ++wxversion.select("2.8") + from wx.tools.pywxrc import main + main() + +diff -Naurp wxPython-src-2.8.9.2-orig/wxPython/scripts/xrced wxPython-src-2.8.9.2/wxPython/scripts/xrced +--- wxPython-src-2.8.9.2-orig/wxPython/scripts/xrced 2007-07-18 16:33:55.000000000 -0600 ++++ wxPython-src-2.8.9.2/wxPython/scripts/xrced 2009-02-21 15:03:24.000000000 -0600 +@@ -1,4 +1,6 @@ + #!/usr/bin/env python ++import wxversion ++wxversion.select("2.8") + + from wx.tools.XRCed.xrced import main + main() diff --git a/dev-python/wxpython/metadata.xml b/dev-python/wxpython/metadata.xml new file mode 100644 index 0000000..ba15621 --- /dev/null +++ b/dev-python/wxpython/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>wxwidgets</herd> +<herd>python</herd> +<use> + <flag name="examples">Install interactive demo module browser and sample applets.</flag> + <flag name="doc">Install HTML wxWidgets docs and wxpython API reference.</flag> +</use> +</pkgmetadata> diff --git a/dev-python/wxpython/wxpython-2.6.4.0-r2.ebuild b/dev-python/wxpython/wxpython-2.6.4.0-r2.ebuild new file mode 100644 index 0000000..1f46f11 --- /dev/null +++ b/dev-python/wxpython/wxpython-2.6.4.0-r2.ebuild @@ -0,0 +1,139 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython/wxpython-2.6.4.0-r2.ebuild,v 1.14 2010/07/28 13:56:51 arfrever Exp $ + +EAPI="2" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit alternatives eutils fdo-mime python flag-o-matic python wxwidgets + +MY_P="${P/wxpython-/wxPython-src-}" + +DESCRIPTION="A blending of the wxWindows C++ class library with Python" +HOMEPAGE="http://www.wxpython.org/" +SRC_URI="mirror://sourceforge/wxpython/${MY_P}.tar.bz2" + +LICENSE="wxWinLL-3" +SLOT="2.6" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86 ~x86-fbsd" +IUSE="opengl unicode" + +RDEPEND=" + dev-python/setuptools + >=x11-libs/wxGTK-${PV}:2.6[X,opengl?] + >=x11-libs/gtk+-2.0 + >=x11-libs/pango-1.2 + >=dev-libs/glib-2.0 + media-libs/libpng + virtual/jpeg + media-libs/tiff + >=sys-libs/zlib-1.1.4 + opengl? ( >=dev-python/pyopengl-2.0.0.44 )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}/wxPython" + +src_prepare() { + sed -i "s:cflags.append('-O3'):pass:" config.py || die "sed failed" + epatch "${FILESDIR}"/scripts-multiver-2.6.1.0.diff + + python_copy_sources +} + +src_configure() { + WX_GTK_VER="2.6" + + if use unicode; then + need-wxwidgets unicode + else + need-wxwidgets ansi + fi + + append-flags -fno-strict-aliasing + + use opengl \ + && mypyconf="${mypyconf} BUILD_GLCANVAS=1" \ + || mypyconf="${mypyconf} BUILD_GLCANVAS=0" + + use unicode \ + && mypyconf="${mypyconf} UNICODE=1" \ + || mypyconf="${mypyconf} UNICODE=0" + + mypyconf="${mypyconf} WX_CONFIG=${WX_CONFIG} WXPORT=gtk2" +} + +src_compile() { + building() { + "$(PYTHON)" setup.py ${mypyconf} build + } + python_execute_function -s building +} + +src_install() { + installation() { + "$(PYTHON)" setup.py ${mypyconf} install --root="${D}" \ + --install-purelib "$(python_get_sitedir)" + } + python_execute_function -s installation + + # Collision protection. + for file in "${D}"usr/bin/*; do + mv "${file}" "${file}-${SLOT}" + done + + rename_files() { + for file in "${D}$(python_get_sitedir)"/wx{version.*,.pth}; do + mv "${file}" "${file}-${SLOT}" || return 1 + done + + for dir in "${D}$(python_get_sitedir)"/wx-${SLOT}-gtk2-{ansi,unicode}; do + if [[ -d ${dir} ]]; then + cp -R "${D}$(python_get_sitedir)"/wxaddons/ "${dir}" || return 1 + wxaddons_copied=1 + fi + done + + [[ ${wxaddons_copied} ]] && rm -rf "${D}$(python_get_sitedir)"/wxaddons/ + } + python_execute_function -q rename_files +} + +pkg_postinst() { + fdo-mime_desktop_database_update + + create_symlinks() { + alternatives_auto_makesym \ + "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]" + alternatives_auto_makesym \ + "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]" + } + python_execute_function -q create_symlinks + + use unicode && wxchar=unicode || wxchar=ansi + python_mod_optimize wx-${SLOT}-gtk2-${wxchar} wxversion.py + + echo + elog "Gentoo uses the Multi-version method for SLOT'ing." + elog "Developers see this site for instructions on using 2.6 or 2.8" + elog "with your apps:" + elog "http://wiki.wxpython.org/index.cgi/MultiVersionInstalls" + echo +} + +pkg_postrm() { + python_mod_cleanup wx-${SLOT}-gtk2-${wxchar} wxversion.py + fdo-mime_desktop_database_update + + create_symlinks() { + alternatives_auto_makesym \ + "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]" + alternatives_auto_makesym \ + "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]" + } + python_execute_function -q create_symlinks +} diff --git a/dev-python/wxpython/wxpython-2.8.11.0.ebuild b/dev-python/wxpython/wxpython-2.8.11.0.ebuild new file mode 100644 index 0000000..83d09a3 --- /dev/null +++ b/dev-python/wxpython/wxpython-2.8.11.0.ebuild @@ -0,0 +1,183 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/wxpython/wxpython-2.8.11.0.ebuild,v 1.2 2010/07/28 13:56:51 arfrever Exp $ + +EAPI="2" +PYTHON_DEPEND="2" +WX_GTK_VER="2.8" +SUPPORT_PYTHON_ABIS="1" + +inherit alternatives eutils fdo-mime flag-o-matic multilib python wxwidgets + +MY_P="${P/wxpython-/wxPython-src-}" + +DESCRIPTION="A blending of the wxWindows C++ class library with Python" +HOMEPAGE="http://www.wxpython.org/" +SRC_URI="mirror://sourceforge/wxpython/${MY_P}.tar.bz2 + doc? ( mirror://sourceforge/wxpython/wxPython-docs-${PV}.tar.bz2 + mirror://sourceforge/wxpython/wxPython-newdocs-2.8.9.2.tar.bz2 ) + examples? ( mirror://sourceforge/wxpython/wxPython-demo-${PV}.tar.bz2 )" + +LICENSE="wxWinLL-3" +SLOT="2.8" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="cairo doc examples opengl" + +RDEPEND=" + dev-python/setuptools + >=x11-libs/wxGTK-${PV}:2.8[opengl?,tiff,X] + >=x11-libs/gtk+-2.4 + >=x11-libs/pango-1.2 + >=dev-libs/glib-2.0 + media-libs/libpng + virtual/jpeg:0 + media-libs/tiff + cairo? ( >=dev-python/pycairo-1.8.4 ) + opengl? ( >=dev-python/pyopengl-2.0.0.44 )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}/wxPython" +DOC_S="${WORKDIR}/wxPython-${PV}" + +src_prepare() { + sed -i "s:cflags.append('-O3'):pass:" config.py || die "sed failed" + + epatch "${FILESDIR}"/${PN}-2.8.9-wxversion-scripts.patch + # drop editra - we have it as a separate package now + epatch "${FILESDIR}"/${PN}-2.8.11-drop-editra.patch + + if use doc; then + cd "${DOC_S}" + epatch "${FILESDIR}"/${PN}-${SLOT}-cache-writable.patch + fi + + if use examples; then + cd "${DOC_S}" + epatch "${FILESDIR}"/${PN}-${SLOT}-wxversion-demo.patch + fi + + python_copy_sources +} + +src_configure() { + need-wxwidgets unicode + + append-flags -fno-strict-aliasing + + use opengl \ + && mypyconf="${mypyconf} BUILD_GLCANVAS=1" \ + || mypyconf="${mypyconf} BUILD_GLCANVAS=0" + + mypyconf="${mypyconf} WX_CONFIG=${WX_CONFIG}" + mypyconf="${mypyconf} WXPORT=gtk2 UNICODE=1" +} + +src_compile() { + building() { + "$(PYTHON)" setup.py ${mypyconf} build + } + python_execute_function -s building +} + +src_install() { + local mypyconf + + mypyconf="${mypyconf} WX_CONFIG=${WX_CONFIG}" + use opengl \ + && mypyconf="${mypyconf} BUILD_GLCANVAS=1" \ + || mypyconf="${mypyconf} BUILD_GLCANVAS=0" + + mypyconf="${mypyconf} WXPORT=gtk2 UNICODE=1" + + installation() { + "$(PYTHON)" setup.py ${mypyconf} install --root="${D}" --install-purelib $(python_get_sitedir) + } + python_execute_function -s installation + + # Collision protection. + for file in "${D}"/usr/bin/*; do + mv "${file}" "${file}-${SLOT}" + done + rename_files() { + for file in "${D}$(python_get_sitedir)/"wx{version.*,.pth}; do + mv "${file}" "${file}-${SLOT}" || return 1 + done + } + python_execute_function -q rename_files + + dodoc "${S}"/docs/{CHANGES,PyManual,README,wxPackage,wxPythonManual}.txt + + insinto /usr/share/applications + doins "${S}"/distrib/{Py{AlaMode,Crust,Shell},XRCed}.desktop + insinto /usr/share/pixmaps + newins "${S}"/wx/py/PyCrust_32.png PyCrust.png + newins "${S}"/wx/tools/XRCed/XRCed_32.png XRCed.png + + if use doc; then + dodir /usr/share/doc/${PF}/docs + cp -R "${DOC_S}"/docs/* "${D}"usr/share/doc/${PF}/docs/ + # For some reason newer API docs aren't available so use 2.8.9.2's + cp -R "${WORKDIR}"/wxPython-2.8.9.2/docs/* "${D}"usr/share/doc/${PF}/docs/ + fi + + if use examples; then + dodir /usr/share/doc/${PF}/demo + dodir /usr/share/doc/${PF}/samples + cp -R "${DOC_S}"/demo/* "${D}"/usr/share/doc/${PF}/demo/ + cp -R "${DOC_S}"/samples/* "${D}"/usr/share/doc/${PF}/samples/ + fi +} + +pkg_postinst() { + fdo-mime_desktop_database_update + + create_symlinks() { + alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]" + alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]" + } + python_execute_function -q create_symlinks + + python_mod_optimize wx-${SLOT}-gtk2-unicode wxversion.py + + echo + elog "Gentoo uses the Multi-version method for SLOT'ing." + elog "Developers, see this site for instructions on using" + elog "2.6 or 2.8 with your apps:" + elog "http://wiki.wxpython.org/index.cgi/MultiVersionInstalls" + elog + if use doc; then + elog "To access the general wxWidgets documentation, run" + elog "/usr/share/doc/${PF}/docs/viewdocs.py" + elog + elog "wxPython documentation is available by pointing a browser" + elog "at /usr/share/doc/${PF}/docs/api/index.html" + elog + fi + if use examples; then + elog "The demo.py app which contains hundreds of demo modules" + elog "with documentation and source code has been installed at" + elog "/usr/share/doc/${PF}/demo/demo.py" + elog + elog "Many more example apps and modules can be found in" + elog "/usr/share/doc/${PF}/samples/" + fi + echo + ewarn "Editra is no longer packaged with wxpython in Gentoo." + ewarn "You can find it in the tree as app-editors/editra" + echo +} + +pkg_postrm() { + python_mod_cleanup wx-${SLOT}-gtk2-unicode wxversion.py + fdo-mime_desktop_database_update + + create_symlinks() { + alternatives_auto_makesym "$(python_get_sitedir)/wx.pth" "$(python_get_sitedir)/wx.pth-[0-9].[0-9]" + alternatives_auto_makesym "$(python_get_sitedir)/wxversion.py" "$(python_get_sitedir)/wxversion.py-[0-9].[0-9]" + } + python_execute_function -q create_symlinks +} |