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
commit7e8f6123c435736f14a5d223a595ed4eb3514239 (patch)
treea611351379032fb4a9f8acfe0e3d9031ae36bfee /dev-python/pyfltk
parentFix typo. (diff)
downloadgentoo-2-7e8f6123c435736f14a5d223a595ed4eb3514239.tar.gz
gentoo-2-7e8f6123c435736f14a5d223a595ed4eb3514239.tar.bz2
gentoo-2-7e8f6123c435736f14a5d223a595ed4eb3514239.zip
Version bump
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyfltk')
-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
+}