summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-01-21 01:33:42 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-01-21 01:33:42 +0000
commit8c15961abddd378c86217e5890ccff8d864b5586 (patch)
treeb6d0cb698f951de01aae3ef016b6b185ae73b6c4 /dev-python/pyfltk
parentKeyword ~amd64-linux/~x86-linux (diff)
downloadgentoo-2-8c15961abddd378c86217e5890ccff8d864b5586.tar.gz
gentoo-2-8c15961abddd378c86217e5890ccff8d864b5586.tar.bz2
gentoo-2-8c15961abddd378c86217e5890ccff8d864b5586.zip
Version bump
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyfltk')
-rw-r--r--dev-python/pyfltk/ChangeLog9
-rw-r--r--dev-python/pyfltk/pyfltk-1.1.5.ebuild55
2 files changed, 62 insertions, 2 deletions
diff --git a/dev-python/pyfltk/ChangeLog b/dev-python/pyfltk/ChangeLog
index 1aa9c38e3f27..ece1cb51e52b 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.17 2009/11/24 00:03:53 bicatali Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfltk/ChangeLog,v 1.18 2010/01/21 01:33:42 bicatali Exp $
+
+*pyfltk-1.1.5 (21 Jan 2010)
+
+ 21 Jan 2010; Sébastien Fabbro <bicatali@gentoo.org> +pyfltk-1.1.5.ebuild:
+ Version bump
24 Nov 2009; Sébastien Fabbro <bicatali@gentoo.org> pyfltk-1.1.4.ebuild:
Forced opengl, the disable-opengl option was buggy, closing #294181
diff --git a/dev-python/pyfltk/pyfltk-1.1.5.ebuild b/dev-python/pyfltk/pyfltk-1.1.5.ebuild
new file mode 100644
index 000000000000..1a21fb25bd99
--- /dev/null
+++ b/dev-python/pyfltk/pyfltk-1.1.5.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2010 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.1 2010/01/21 01:33:42 bicatali Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+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"
+
+RDEPEND=">=x11-libs/fltk-1.1.9:1.1[opengl]"
+DEPEND="${RDEPEND}
+ dev-lang/swig"
+
+RESTRICT_PYTHON_ABIS="3*"
+
+PYTHON_MODNAME="fltk"
+
+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
+}
+
+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
+}