summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2005-05-07 20:01:45 +0000
committerRyan Phillips <rphillips@gentoo.org>2005-05-07 20:01:45 +0000
commitc8efe9b40e0495a271b935b44131d1f3948c1232 (patch)
treeaed1ae1d61a69d194edb36f52a16b0a93d6a5bcc /dev-python
parentAdded Yaakov Selkowitz's eclass based fox ebuilds for testing. (diff)
downloadgentoo-2-c8efe9b40e0495a271b935b44131d1f3948c1232.tar.gz
gentoo-2-c8efe9b40e0495a271b935b44131d1f3948c1232.tar.bz2
gentoo-2-c8efe9b40e0495a271b935b44131d1f3948c1232.zip
Added Yaakov Selkowitz's eclass based fox ebuilds for testing.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/fxpy/ChangeLog11
-rw-r--r--dev-python/fxpy/Manifest7
-rw-r--r--dev-python/fxpy/files/digest-fxpy-1.0.5-r11
-rw-r--r--dev-python/fxpy/files/fxpy-1.0.5-r1-gentoo.diff26
-rw-r--r--dev-python/fxpy/fxpy-1.0.5-r1.ebuild42
-rw-r--r--dev-python/fxpy/fxpy-1.0.5.ebuild4
6 files changed, 85 insertions, 6 deletions
diff --git a/dev-python/fxpy/ChangeLog b/dev-python/fxpy/ChangeLog
index 3acceb4b81c7..aef4a4a0be39 100644
--- a/dev-python/fxpy/ChangeLog
+++ b/dev-python/fxpy/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/fxpy
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/fxpy/ChangeLog,v 1.6 2004/12/30 21:38:01 ciaranm Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/fxpy/ChangeLog,v 1.7 2005/05/07 19:59:51 rphillips Exp $
+
+*fxpy-1.0.5-r1 (07 May 2005)
+
+ 07 May 2005; <rphillips@gentoo.org> +files/fxpy-1.0.5-r1-gentoo.diff,
+ +fxpy-1.0.5-r1.ebuild:
+ Added Yaakov Selkowitz's eclass based fox ebuilds for testing.
+ Fixes #88924
30 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
diff --git a/dev-python/fxpy/Manifest b/dev-python/fxpy/Manifest
index 7928892fcc5c..6aa0fd529654 100644
--- a/dev-python/fxpy/Manifest
+++ b/dev-python/fxpy/Manifest
@@ -1,5 +1,8 @@
-MD5 8430fe29a447ac1e3f7a469a48a39e53 ChangeLog 872
MD5 1955824d1df35ef32e9428155a69751d fxpy-1.0.5.ebuild 923
+MD5 a8bd9cfdf15b94c6b00f112ced1e321b fxpy-1.0.5-r1.ebuild 951
+MD5 8430fe29a447ac1e3f7a469a48a39e53 ChangeLog 872
MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
-MD5 ffa45c09d881621b0d98695f15f3d155 files/fxpy-1.0.5-gentoo.diff 462
+MD5 4e32222847e02df6766794e0d55bc9d2 files/digest-fxpy-1.0.5-r1 62
MD5 4e32222847e02df6766794e0d55bc9d2 files/digest-fxpy-1.0.5 62
+MD5 6a9d948be752573ca136804e33ccbf59 files/fxpy-1.0.5-r1-gentoo.diff 862
+MD5 ffa45c09d881621b0d98695f15f3d155 files/fxpy-1.0.5-gentoo.diff 462
diff --git a/dev-python/fxpy/files/digest-fxpy-1.0.5-r1 b/dev-python/fxpy/files/digest-fxpy-1.0.5-r1
new file mode 100644
index 000000000000..896e6b64b3b3
--- /dev/null
+++ b/dev-python/fxpy/files/digest-fxpy-1.0.5-r1
@@ -0,0 +1 @@
+MD5 d27755b53425b32d4f39599f46576f2d FXPy-1.0.5.tar.gz 947438
diff --git a/dev-python/fxpy/files/fxpy-1.0.5-r1-gentoo.diff b/dev-python/fxpy/files/fxpy-1.0.5-r1-gentoo.diff
new file mode 100644
index 000000000000..4c0c5543b81d
--- /dev/null
+++ b/dev-python/fxpy/files/fxpy-1.0.5-r1-gentoo.diff
@@ -0,0 +1,26 @@
+diff -urn ../fxpy-1.0.5.orig/setup.py ./setup.py
+--- ../fxpy-1.0.5.orig/setup.py 2002-04-02 16:29:06.000000000 -0600
++++ ./setup.py 2003-05-10 11:39:02.000000000 -0500
+@@ -7,8 +7,8 @@
+ FXLIBDIR = r'..\fox-1.0.5\lib'
+ FXINCDIR = r'..\fox-1.0.5\include'
+ else:
+- FXLIBDIR = '/usr/local/lib'
+- FXINCDIR = '/usr/local/include/fox'
++ FXLIBDIR = '/usr/lib'
++ FXINCDIR = '/usr/include/fox'
+
+ # Location of X libraries
+ if sys.platform == 'win32':
+
+--- ./fxpy-1.0.5-orig/setup.py 2005-01-16 11:57:48.000000000 -0500
++++ ./setup.py 2005-01-16 11:57:16.000000000 -0500
+@@ -70,7 +70,7 @@
+ if sys.platform == 'win32':
+ foxlibname = 'fox.lib'
+ else:
+- foxlibname = 'libFOX.a'
++ foxlibname = 'libFOX.la'
+
+ if not os.path.exists(os.path.join(FXLIBDIR, foxlibname)):
+ print """I couldn't find the file "%s" in this directory:""" % foxlibname
diff --git a/dev-python/fxpy/fxpy-1.0.5-r1.ebuild b/dev-python/fxpy/fxpy-1.0.5-r1.ebuild
new file mode 100644
index 000000000000..39546c2f9ebb
--- /dev/null
+++ b/dev-python/fxpy/fxpy-1.0.5-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/fxpy/fxpy-1.0.5-r1.ebuild,v 1.1 2005/05/07 19:59:51 rphillips Exp $
+
+inherit distutils eutils
+
+MY_P="FXPy-${PV}"
+
+DESCRIPTION="Fox Toolkit GUI bindings for Python."
+HOMEPAGE="http://fxpy.sourceforge.net/"
+SRC_URI="mirror://sourceforge/fxpy/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="doc opengl"
+
+DEPEND="virtual/python
+ =x11-libs/fox-1.0*
+ opengl? ( >=dev-python/pyopengl-2.0.0.44 )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A} || die
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.diff || die "Patch failed."
+}
+
+src_install() {
+ distutils_src_install
+
+ if use doc ; then
+ dohtml doc/*
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*
+ insinto /usr/share/doc/${PF}/examples/icons
+ doins examples/icons/*
+ insinto /usr/share/doc/${PF}/contrib
+ doins contrib/*
+ fi
+}
diff --git a/dev-python/fxpy/fxpy-1.0.5.ebuild b/dev-python/fxpy/fxpy-1.0.5.ebuild
index f7f4ed01c253..e2f84b234115 100644
--- a/dev-python/fxpy/fxpy-1.0.5.ebuild
+++ b/dev-python/fxpy/fxpy-1.0.5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/fxpy/fxpy-1.0.5.ebuild,v 1.6 2004/07/20 19:59:04 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/fxpy/fxpy-1.0.5.ebuild,v 1.7 2005/05/07 19:59:51 rphillips Exp $
inherit distutils eutils