diff options
-rw-r--r-- | dev-python/pyfltk/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/pyfltk/files/pyfltk-1.1.5-swig-2.patch | 12 | ||||
-rw-r--r-- | dev-python/pyfltk/pyfltk-1.1.5.ebuild | 62 |
3 files changed, 5 insertions, 75 deletions
diff --git a/dev-python/pyfltk/ChangeLog b/dev-python/pyfltk/ChangeLog index dd92d67fd535..ba023018a67f 100644 --- a/dev-python/pyfltk/ChangeLog +++ b/dev-python/pyfltk/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pyfltk # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfltk/ChangeLog,v 1.31 2012/01/26 13:33:41 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfltk/ChangeLog,v 1.32 2012/01/26 13:35:11 ssuominen Exp $ + + 26 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> -pyfltk-1.1.5.ebuild, + -files/pyfltk-1.1.5-swig-2.patch: + old 26 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> pyfltk-1.3.0.ebuild: ppc/ppc64 stable wrt #395739 diff --git a/dev-python/pyfltk/files/pyfltk-1.1.5-swig-2.patch b/dev-python/pyfltk/files/pyfltk-1.1.5-swig-2.patch deleted file mode 100644 index 00ba76a64439..000000000000 --- a/dev-python/pyfltk/files/pyfltk-1.1.5-swig-2.patch +++ /dev/null @@ -1,12 +0,0 @@ -http://pyfltk.svn.sourceforge.net/viewvc/pyfltk?view=revision&revision=463 - ---- swig/Fl.i -+++ swig/Fl.i -@@ -37,6 +37,7 @@ - %ignore Fl::remove_handler; - %ignore Fl::remove_check; - %ignore Fl::gl_visual; -+%ignore Fl::get_awake_handler_; - - #ifdef __APPLE__ - %ignore Fl::free_color() diff --git a/dev-python/pyfltk/pyfltk-1.1.5.ebuild b/dev-python/pyfltk/pyfltk-1.1.5.ebuild deleted file mode 100644 index 81a1a14f688e..000000000000 --- a/dev-python/pyfltk/pyfltk-1.1.5.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfltk/pyfltk-1.1.5.ebuild,v 1.11 2011/12/09 17:13:29 ssuominen Exp $ - -EAPI="3" -PYTHON_DEPEND="2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.* *-jython" - -inherit distutils eutils - -MY_P="pyFltk-${PV}" - -DESCRIPTION="Python interface to Fltk library" -HOMEPAGE="http://pyfltk.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz - doc? ( http://junk.mikeasoft.com/pyfltkmanual.pdf )" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="amd64 ppc ~ppc64 x86" -IUSE="doc" - -RDEPEND="<x11-libs/fltk-1.3.0:1[opengl]" -DEPEND="${RDEPEND} - >=dev-lang/swig-1.3.38" - -S="${WORKDIR}/${MY_P}" - -PYTHON_CXXFLAGS=("2.* + -fno-strict-aliasing") - -DOCS="CHANGES" -PYTHON_MODNAME="fltk" - -src_prepare() { - rm -f python/fltk* - # move docs because the swig stuff will remove them - use doc && cp -r fltk fltk.docs - - epatch \ - "${FILESDIR}"/${P}-swig-2.patch \ - "${FILESDIR}"/${PN}-1.3.0-linux-3.x-detection.patch -} - -src_compile() { - pushd python > /dev/null - "$(PYTHON -f)" MakeSwig.py || die "swigging wrappers failed" - popd > /dev/null - - distutils_src_compile -} - -src_install() { - distutils_src_install --install-data /usr/share/doc/${PF} - - if use doc; then - insinto /usr/share/doc/${PF} - doins "${DISTDIR}"/pyfltkmanual.pdf || die - dohtml fltk.docs/docs/* || die - doins -r fltk.docs/test || die - fi -} |