summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-08-08 00:57:28 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-08-08 00:57:28 +0000
commitfaba5237e8d3ced9f47631c98750b11141313a26 (patch)
tree4aabd557bc1e5986b0b4b60682b0ffeccc7cd4ca /dev-python
parent- we never want qt* on hardened by default. Far to many c++ problems (diff)
downloadhistorical-faba5237e8d3ced9f47631c98750b11141313a26.tar.gz
historical-faba5237e8d3ced9f47631c98750b11141313a26.tar.bz2
historical-faba5237e8d3ced9f47631c98750b11141313a26.zip
Version bump
Package-Manager: portage-2.2_rc36/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyfltk/ChangeLog7
-rw-r--r--dev-python/pyfltk/pyfltk-1.1.4.ebuild51
2 files changed, 57 insertions, 1 deletions
diff --git a/dev-python/pyfltk/ChangeLog b/dev-python/pyfltk/ChangeLog
index 65a593ad509c..6c53af8ed03b 100644
--- a/dev-python/pyfltk/ChangeLog
+++ b/dev-python/pyfltk/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pyfltk
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfltk/ChangeLog,v 1.8 2009/01/10 12:42:26 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfltk/ChangeLog,v 1.9 2009/08/08 00:57:28 bicatali Exp $
+
+*pyfltk-1.1.4 (08 Aug 2009)
+
+ 08 Aug 2009; Sébastien Fabbro <bicatali@gentoo.org> +pyfltk-1.1.4.ebuild:
+ Version bump
10 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org>
+files/pyfltk-1.1.3-python25.patch, pyfltk-1.1.3.ebuild:
diff --git a/dev-python/pyfltk/pyfltk-1.1.4.ebuild b/dev-python/pyfltk/pyfltk-1.1.4.ebuild
new file mode 100644
index 000000000000..d75ce7679057
--- /dev/null
+++ b/dev-python/pyfltk/pyfltk-1.1.4.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfltk/pyfltk-1.1.4.ebuild,v 1.1 2009/08/08 00:57:28 bicatali Exp $
+
+EAPI=2
+inherit eutils distutils
+
+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 ~x86"
+IUSE="doc opengl"
+
+DEPEND="dev-lang/swig
+ >=x11-libs/fltk-1.1.9:1.1[opengl]"
+
+RDEPEND=">=x11-libs/fltk-1.1.9:1.1[opengl]"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="CHANGES"
+
+src_prepare() {
+ rm -f python/fltk*
+ # move docs because the swig stuff will remove them
+ use doc && cp -r fltk fltk.docs
+}
+
+src_compile() {
+ cd "${S}"/python
+ ${python} MakeSwig.py || die "swigging wrappers failed"
+ cd "${S}"
+ distutils_src_compile \
+ $(use opengl || echo "--disable-gl")
+}
+
+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
+}