summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Østergaard <kloeri@gentoo.org>2004-07-03 12:54:37 +0000
committerBryan Østergaard <kloeri@gentoo.org>2004-07-03 12:54:37 +0000
commit5babbddda34b63d6e8ee9c3554cdc89244eeccf3 (patch)
tree87bdf92568477baa29376326b74772d758308c98 /dev-python
parentAdded to ~amd64. (Manifest recommit) (diff)
downloadgentoo-2-5babbddda34b63d6e8ee9c3554cdc89244eeccf3.tar.gz
gentoo-2-5babbddda34b63d6e8ee9c3554cdc89244eeccf3.tar.bz2
gentoo-2-5babbddda34b63d6e8ee9c3554cdc89244eeccf3.zip
Removing wxPython.
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/wxPython/ChangeLog172
-rw-r--r--dev-python/wxPython/Manifest9
-rw-r--r--dev-python/wxPython/files/controls2.py.patch36
-rw-r--r--dev-python/wxPython/files/digest-wxPython-2.4.0.71
-rw-r--r--dev-python/wxPython/files/digest-wxPython-2.4.1.21
-rw-r--r--dev-python/wxPython/files/digest-wxPython-2.4.2.41
-rw-r--r--dev-python/wxPython/metadata.xml6
-rw-r--r--dev-python/wxPython/wxPython-2.4.0.7.ebuild96
-rw-r--r--dev-python/wxPython/wxPython-2.4.1.2.ebuild85
-rw-r--r--dev-python/wxPython/wxPython-2.4.2.4.ebuild101
10 files changed, 0 insertions, 508 deletions
diff --git a/dev-python/wxPython/ChangeLog b/dev-python/wxPython/ChangeLog
deleted file mode 100644
index f54ecf94ef7f..000000000000
--- a/dev-python/wxPython/ChangeLog
+++ /dev/null
@@ -1,172 +0,0 @@
-# ChangeLog for dev-python/wxPython
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/wxPython/ChangeLog,v 1.43 2004/06/30 17:49:07 gmsoft Exp $
-
- 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
deleted file mode 100644
index 41c4a4578fff..000000000000
--- a/dev-python/wxPython/Manifest
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 e4b8b593a689345109fec0a616cf60da ChangeLog 6318
-MD5 3b06f1e87549af51d78bb7bfa33728b5 metadata.xml 182
-MD5 d8caeb5e9e1771f1da5dbc030359e976 wxPython-2.4.0.7.ebuild 2968
-MD5 d7b55b3e47866ca6695facea68d50258 wxPython-2.4.1.2.ebuild 2352
-MD5 342852dafada9393fbca93ce0ce529a4 wxPython-2.4.2.4.ebuild 3331
-MD5 99504d777b11bc0266e7487ee59496dd files/controls2.py.patch 2202
-MD5 88f72c81ee2c594876b3bddc9e14bb72 files/digest-wxPython-2.4.0.7 73
-MD5 ce3003c042f7c8fe4700193e357ad2ad files/digest-wxPython-2.4.1.2 73
-MD5 d1efabd4c6bcd5edd9e61ca070e20ff0 files/digest-wxPython-2.4.2.4 73
diff --git a/dev-python/wxPython/files/controls2.py.patch b/dev-python/wxPython/files/controls2.py.patch
deleted file mode 100644
index 82ce09776a10..000000000000
--- a/dev-python/wxPython/files/controls2.py.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -urN wxPythonSrc-2.4.1.2/wxPython/src/gtk/controls2.py wxPythonSrc-2.4.1.2-modified/wxPython/src/gtk/controls2.py
---- wxPythonSrc-2.4.1.2/wxPython/src/gtk/controls2.py 2003-06-12 18:25:30.000000000 -0500
-+++ wxPythonSrc-2.4.1.2-modified/wxPython/src/gtk/controls2.py 2003-07-10 18:19:51.000000000 -0500
-@@ -642,7 +642,7 @@
- return "<%s.%s instance; proxy of C++ wxListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
-
- def GetColumn(self, *_args, **_kwargs):
-- val = ontrols2c.wxListCtrl_GetColumn(self, *_args, **_kwargs)
-+ val = controls2c.wxListCtrl_GetColumn(self, *_args, **_kwargs)
- if val is not None: val.thisown = 1
- return val
-
-diff -urN wxPythonSrc-2.4.1.2/wxPython/src/mac/controls2.py wxPythonSrc-2.4.1.2-modified/wxPython/src/mac/controls2.py
---- wxPythonSrc-2.4.1.2/wxPython/src/mac/controls2.py 2003-05-16 13:36:52.000000000 -0500
-+++ wxPythonSrc-2.4.1.2-modified/wxPython/src/mac/controls2.py 2003-07-10 18:20:41.000000000 -0500
-@@ -642,7 +642,7 @@
- return "<%s.%s instance; proxy of C++ wxListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
-
- def GetColumn(self, *_args, **_kwargs):
-- val = ontrols2c.wxListCtrl_GetColumn(self, *_args, **_kwargs)
-+ val = controls2c.wxListCtrl_GetColumn(self, *_args, **_kwargs)
- if val is not None: val.thisown = 1
- return val
-
-diff -urN wxPythonSrc-2.4.1.2/wxPython/src/msw/controls2.py wxPythonSrc-2.4.1.2-modified/wxPython/src/msw/controls2.py
---- wxPythonSrc-2.4.1.2/wxPython/src/msw/controls2.py 2003-05-07 14:29:04.000000000 -0500
-+++ wxPythonSrc-2.4.1.2-modified/wxPython/src/msw/controls2.py 2003-07-10 18:20:11.000000000 -0500
-@@ -645,7 +645,7 @@
- return "<%s.%s instance; proxy of C++ wxListCtrl instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this)
-
- def GetColumn(self, *_args, **_kwargs):
-- val = ontrols2c.wxListCtrl_GetColumn(self, *_args, **_kwargs)
-+ val = controls2c.wxListCtrl_GetColumn(self, *_args, **_kwargs)
- if val is not None: val.thisown = 1
- return val
-
diff --git a/dev-python/wxPython/files/digest-wxPython-2.4.0.7 b/dev-python/wxPython/files/digest-wxPython-2.4.0.7
deleted file mode 100644
index a10374ead06a..000000000000
--- a/dev-python/wxPython/files/digest-wxPython-2.4.0.7
+++ /dev/null
@@ -1 +0,0 @@
-MD5 c7864b56ff1422697a310f91f54c7ed6 wxPythonSrc-2.4.0.7.tar.gz 11819092
diff --git a/dev-python/wxPython/files/digest-wxPython-2.4.1.2 b/dev-python/wxPython/files/digest-wxPython-2.4.1.2
deleted file mode 100644
index 00b6ca04f3cc..000000000000
--- a/dev-python/wxPython/files/digest-wxPython-2.4.1.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 515fa95c5c0497404a858213b6586411 wxPythonSrc-2.4.1.2.tar.gz 12443750
diff --git a/dev-python/wxPython/files/digest-wxPython-2.4.2.4 b/dev-python/wxPython/files/digest-wxPython-2.4.2.4
deleted file mode 100644
index a2e3b4a3aac2..000000000000
--- a/dev-python/wxPython/files/digest-wxPython-2.4.2.4
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ea4eb68e10a0c2a9be643b35dcb78e41 wxPythonSrc-2.4.2.4.tar.gz 13130195
diff --git a/dev-python/wxPython/metadata.xml b/dev-python/wxPython/metadata.xml
deleted file mode 100644
index 1242997222b6..000000000000
--- a/dev-python/wxPython/metadata.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>python</herd>
-<herd>wxwindows</herd>
-</pkgmetadata>
diff --git a/dev-python/wxPython/wxPython-2.4.0.7.ebuild b/dev-python/wxPython/wxPython-2.4.0.7.ebuild
deleted file mode 100644
index e32070d578ea..000000000000
--- a/dev-python/wxPython/wxPython-2.4.0.7.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/wxPython/wxPython-2.4.0.7.ebuild,v 1.12 2004/06/25 01:52:04 agriffis Exp $
-
-IUSE="opengl gtk2"
-
-MY_P="${P/-/Src-}"
-S="${WORKDIR}/${MY_P}/${PN}"
-DESCRIPTION="A blending of the wxWindows C++ class library with Python."
-SRC_URI="mirror://sourceforge/wxpython/${MY_P}.tar.gz"
-HOMEPAGE="http://www.wxpython.org/"
-
-SLOT="0"
-LICENSE="wxWinLL-3"
-KEYWORDS="x86 ~ppc ~sparc ~alpha"
-
-DEPEND=">=dev-lang/python-2.1
- =x11-libs/wxGTK-2.4.0*
- gtk2? (
- >=x11-libs/gtk+-2.0
- >=dev-libs/glib-2.0 )
- !gtk2? (
- =x11-libs/gtk+-1.2*
- =dev-libs/glib-1.2* )
- opengl? ( >=dev-python/PyOpenGL-2.0.0.44 )"
-
-pkg_setup() {
- # xfree should not install these, remove until the fixed
- # xfree is in main use.
- rm -f /usr/X11R6/include/{zconf.h,zlib.h}
-
- # make sure if you want gtk2, you have wxGTK with gtk2, and vice versa
- if use gtk2; then
- if [ ! -f "/usr/bin/wxgtk2u-2.4-config" -a ! -f "/usr/bin/wxgtk2-2.4-config" ]; then
- eerror "You need x11-libs/wxGTK compiled with GTK+2 support."
- eerror "Either emerge wxGTK with 'gtk2' in your USE flags or"
- eerror "emerge wxPython without 'gtk2' in your USE flags."
- die "wxGTK needs to be compiled with gtk2"
- fi
- else
- if [ ! -f "/usr/bin/wxgtk-2.4-config" ]; then
- eerror "You need x11-libs/wxGTK compiled with GTK+1."
- eerror "Either emerge wxGTK without 'gtk2' in your USE flags or"
- eerror "emerge wxPython with 'gtk2' in your USE flags."
- die "wxGTK needs to be compiled without gtk2"
- fi
- fi
-}
-
-src_compile() {
- # create links so the build doesnt fail
- for d in ogl stc xrc gizmos ; do
- ln -s ${S}/../contrib/ ${S}/contrib/${d}/contrib
- done
-
- #Other possible configuration variables are BUILD_OGL and BUILD_STC.
- #BUILD_OGL builds the Object Graphics Library extension module.
- #BUILD_STC builds the wxStyledTextCtrl (the Scintilla wrapper) extension module.
- #Both these variable are enabled by default. To disable them set equal to zero
- #and add to myconf.
- local myconf=""
- if use opengl; then
- myconf="${myconf} BUILD_GLCANVAS=1"
- else
- myconf="${myconf} BUILD_GLCANVAS=0"
- fi
-
- if use gtk2; then
- myconf="${myconf} WXPORT=gtk2"
- else
- myconf="${myconf} WXPORT=gtk"
- fi
-
- python setup.py ${myconf} build || die "build failed"
-}
-
-src_install() {
- #Other possible configuration variables are BUILD_OGL and BUILD_STC.
- #BUILD_OGL builds the Object Graphics Library extension module.
- #BUILD_STC builds the wxStyledTextCtrl (the Scintilla wrapper) extension module.
- #Both these variable are enabled by default. To disable them set equal to zero
- #and add to myconf.
- local myconf=""
- if use opengl; then
- myconf="${myconf} BUILD_GLCANVAS=1"
- else
- myconf="${myconf} BUILD_GLCANVAS=0"
- fi
- if use gtk2; then
- myconf="${myconf} WXPORT=gtk2"
- else
- myconf="${myconf} WXPORT=gtk"
- fi
-
- python setup.py ${myconf} install --prefix=/usr --root=${D} || die
-}
diff --git a/dev-python/wxPython/wxPython-2.4.1.2.ebuild b/dev-python/wxPython/wxPython-2.4.1.2.ebuild
deleted file mode 100644
index 35de9edb5a16..000000000000
--- a/dev-python/wxPython/wxPython-2.4.1.2.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/wxPython/wxPython-2.4.1.2.ebuild,v 1.13 2004/06/25 01:52:04 agriffis Exp $
-
-inherit eutils
-
-IUSE="opengl tiff jpeg png gtk2"
-
-MY_P="${P/-/Src-}"
-S="${WORKDIR}/${MY_P}/${PN}"
-DESCRIPTION="A blending of the wxWindows C++ class library with Python."
-SRC_URI="mirror://sourceforge/wxpython/${MY_P}.tar.gz"
-HOMEPAGE="http://www.wxpython.org/"
-
-SLOT="0"
-LICENSE="wxWinLL-3"
-KEYWORDS="x86 ~ppc sparc ~alpha hppa"
-
-RDEPEND=">=dev-lang/python-2.1
- =x11-libs/wxGTK-2.4.1*
- gtk2? ( >=x11-libs/gtk+-2.0
- >=x11-libs/pango-1.2
- >=dev-libs/glib-2.0 )
- !gtk2? ( =x11-libs/gtk+-1.2*
- =dev-libs/glib-1.2* )
- png? ( media-libs/libpng )
- jpeg? ( media-libs/jpeg )
- tiff? ( media-libs/tiff )
- >=sys-libs/zlib-1.1.4
- opengl? ( >=dev-python/PyOpenGL-2.0.0.44 )"
-
-DEPEND="${RDEPEND}
- gtk2? ( dev-util/pkgconfig )"
-
-pkg_setup() {
- # make sure if you want gtk2, you have wxGTK with gtk2, and vice versa
- if use gtk2; then
- if [ ! -f "/usr/bin/wxgtk2u-2.4-config" -a ! -f "/usr/bin/wxgtk2-2.4-config" ]; then
- eerror "You need x11-libs/wxGTK compiled with GTK+2 support."
- eerror "Either emerge wxGTK with 'gtk2' in your USE flags or"
- eerror "emerge wxPython without 'gtk2' in your USE flags."
- die "wxGTK needs to be compiled with gtk2"
- fi
- else
- if [ ! -f "/usr/bin/wxgtk-2.4-config" ]; then
- eerror "You need x11-libs/wxGTK compiled with GTK+1."
- eerror "Either emerge wxGTK without 'gtk2' in your USE flags or"
- eerror "emerge wxPython with 'gtk2' in your USE flags."
- die "wxGTK needs to be compiled without gtk2"
- fi
- fi
-}
-
-src_unpack() {
- unpack ${A}
- epatch ${FILESDIR}/controls2.py.patch
-}
-
-src_compile() {
- local mypyconf
-
- use opengl \
- && mypyconf="${mypyconf} BUILD_GLCANVAS=1" \
- || mypyconf="${mypyconf} BUILD_GLCANVAS=0"
-
- use gtk2 \
- && mypyconf="${mypyconf} WXPORT=gtk2" \
- || mypyconf="${mypyconf} WXPORT=gtk"
-
- python setup.py ${mypyconf} build || die "build failed"
-}
-
-src_install() {
- local mypyconf
-
- use opengl \
- && mypyconf="${mypyconf} BUILD_GLCANVAS=1" \
- || mypyconf="${mypyconf} BUILD_GLCANVAS=0"
-
- use gtk2 \
- && mypyconf="${mypyconf} WXPORT=gtk2" \
- || mypyconf="${mypyconf} WXPORT=gtk"
-
- python setup.py ${mypyconf} install --prefix=/usr --root=${D} || die
-}
diff --git a/dev-python/wxPython/wxPython-2.4.2.4.ebuild b/dev-python/wxPython/wxPython-2.4.2.4.ebuild
deleted file mode 100644
index e8dd9d8e8314..000000000000
--- a/dev-python/wxPython/wxPython-2.4.2.4.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/wxPython/wxPython-2.4.2.4.ebuild,v 1.14 2004/06/30 17:49:07 gmsoft Exp $
-
-inherit eutils
-
-MY_P="${P/-/Src-}"
-S="${WORKDIR}/${MY_P}/${PN}"
-DESCRIPTION="A blending of the wxWindows C++ class library with Python"
-HOMEPAGE="http://www.wxpython.org/"
-SRC_URI="mirror://sourceforge/wxpython/${MY_P}.tar.gz"
-
-LICENSE="wxWinLL-3"
-SLOT="0"
-KEYWORDS="x86 ppc ~sparc alpha arm ~amd64 ia64 hppa"
-IUSE="opengl tiff jpeg png gtk2 unicode"
-
-RDEPEND=">=dev-lang/python-2.1
- >=x11-libs/wxGTK-2.4.2
- gtk2? ( >=x11-libs/gtk+-2.0
- >=x11-libs/pango-1.2
- >=dev-libs/glib-2.0 )
- !gtk2? ( =x11-libs/gtk+-1.2*
- =dev-libs/glib-1.2* )
- png? ( media-libs/libpng )
- jpeg? ( media-libs/jpeg )
- tiff? ( media-libs/tiff )
- >=sys-libs/zlib-1.1.4
- opengl? ( >=dev-python/PyOpenGL-2.0.0.44 )"
-
-DEPEND="${RDEPEND}
- gtk2? ( dev-util/pkgconfig )"
-
-pkg_setup() {
- # make sure if you want gtk2, you have wxGTK with gtk2, and vice versa
- if use gtk2; then
- if [ ! -f "/usr/bin/wxgtk2u-2.4-config" -a ! -f "/usr/bin/wxgtk2ud-2.4-config" -a ! -f "/usr/bin/wxgtk2-2.4-config" -a ! -f "/usr/bin/wxgtk2d-2.4-config" ]; then
- eerror "You need x11-libs/wxGTK compiled with GTK+2 support."
- eerror "Either emerge wxGTK with 'gtk2' in your USE flags or"
- eerror "emerge wxPython without 'gtk2' in your USE flags."
- die "wxGTK needs to be compiled with gtk2"
- fi
- else
- if [ ! -f "/usr/bin/wxgtk-2.4-config" ]; then
- eerror "You need x11-libs/wxGTK compiled with GTK+1."
- eerror "Either emerge wxGTK without 'gtk2' in your USE flags or"
- eerror "emerge wxPython with 'gtk2' in your USE flags."
- die "wxGTK needs to be compiled without gtk2"
- fi
- fi
-
- # make sure that wxPython and wxGTK have same unicode setting:
- if use unicode; then
- if [ ! -f "/usr/bin/wxgtk2u-2.4-config" -a ! -f "/usr/bin/wxgtk2ud-2.4-config" ]; then
- eerror "You need x11-libs/wxGTK compiled with Unicode support."
- eerror "Either emerge wxGTK with 'unicode' in your USE flags or"
- eerror "emerge wxPython without 'unicode' in your USE flags."
- die "wxGTK needs to be compiled with unicode"
- fi
- else
- if [ ! -f "/usr/bin/wxgtk-2.4-config" -a ! -f "/usr/bin/wxgtk2-2.4-config" -a ! -f "/usr/bin/wxgtkd-2.4-config" -a ! -f "/usr/bin/wxgtk2d-2.4-config" ]; then
- eerror "You need x11-libs/wxGTK compiled without Unicode."
- eerror "Either emerge wxGTK without 'unicode' in your USE flags or"
- eerror "emerge wxPython with 'unicode' in your USE flags."
- die "wxGTK needs to be compiled without unicode"
- fi
- fi
-
-}
-
-src_compile() {
- local mypyconf
-
- use opengl \
- && mypyconf="${mypyconf} BUILD_GLCANVAS=1" \
- || mypyconf="${mypyconf} BUILD_GLCANVAS=0"
-
- use gtk2 \
- && mypyconf="${mypyconf} WXPORT=gtk2" \
- || mypyconf="${mypyconf} WXPORT=gtk"
-
- use unicode && mypyconf="${mypyconf} UNICODE=1"
-
- python setup.py ${mypyconf} build || die "build failed"
-}
-
-src_install() {
- local mypyconf
-
- use opengl \
- && mypyconf="${mypyconf} BUILD_GLCANVAS=1" \
- || mypyconf="${mypyconf} BUILD_GLCANVAS=0"
-
- use gtk2 \
- && mypyconf="${mypyconf} WXPORT=gtk2" \
- || mypyconf="${mypyconf} WXPORT=gtk"
-
- use unicode && mypyconf="${mypyconf} UNICODE=1"
-
- python setup.py ${mypyconf} install --prefix=/usr --root=${D} || die
-}