summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Cakebread <pythonhead@gentoo.org>2003-10-06 00:18:54 +0000
committerRob Cakebread <pythonhead@gentoo.org>2003-10-06 00:18:54 +0000
commitaecf294c89ce1d53215cc809074f1d1642b7d1c4 (patch)
treed64f0ff72f8805776b5931cacbdac79252913c66 /dev-python/fxpy
parentMoved to stable on x86 (diff)
downloadgentoo-2-aecf294c89ce1d53215cc809074f1d1642b7d1c4.tar.gz
gentoo-2-aecf294c89ce1d53215cc809074f1d1642b7d1c4.tar.bz2
gentoo-2-aecf294c89ce1d53215cc809074f1d1642b7d1c4.zip
Initial ebuild
Diffstat (limited to 'dev-python/fxpy')
-rw-r--r--dev-python/fxpy/ChangeLog11
-rw-r--r--dev-python/fxpy/Manifest5
-rw-r--r--dev-python/fxpy/files/digest-fxpy-1.0.51
-rw-r--r--dev-python/fxpy/files/fxpy-1.0.5-gentoo.diff15
-rw-r--r--dev-python/fxpy/fxpy-1.0.5.ebuild36
-rw-r--r--dev-python/fxpy/metadata.xml5
6 files changed, 72 insertions, 1 deletions
diff --git a/dev-python/fxpy/ChangeLog b/dev-python/fxpy/ChangeLog
new file mode 100644
index 000000000000..4537eaf22899
--- /dev/null
+++ b/dev-python/fxpy/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-python/fxpy
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/fxpy/ChangeLog,v 1.1 2003/10/06 00:18:40 pythonhead Exp $
+
+*fxpy-1.0.5 (05 Oct 2003)
+
+ 05 Oct 2003; Rob Cakebread <pythonhead@gentoo.org> fxpy-1.0.5.ebuild,
+ files/fxpy-1.0.5-gentoo.diff:
+ Initial commit. Thanks to Christopher Farley <chris@northernbrewer.com> (bug
+ #20764)
+
diff --git a/dev-python/fxpy/Manifest b/dev-python/fxpy/Manifest
index f56214a293e6..79f87d886d80 100644
--- a/dev-python/fxpy/Manifest
+++ b/dev-python/fxpy/Manifest
@@ -1,2 +1,5 @@
-MD5 55c745557ff35d96a60d6e4609248d0c fxpy-1.0.5.ebuild 834
+MD5 d1b6bc9fa8b49f01148dc4a626c6ae05 fxpy-1.0.5.ebuild 934
+MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
+MD5 f8a7ef956b78624fb45330807f42171d ChangeLog 437
MD5 4e32222847e02df6766794e0d55bc9d2 files/digest-fxpy-1.0.5 62
+MD5 ffa45c09d881621b0d98695f15f3d155 files/fxpy-1.0.5-gentoo.diff 462
diff --git a/dev-python/fxpy/files/digest-fxpy-1.0.5 b/dev-python/fxpy/files/digest-fxpy-1.0.5
new file mode 100644
index 000000000000..896e6b64b3b3
--- /dev/null
+++ b/dev-python/fxpy/files/digest-fxpy-1.0.5
@@ -0,0 +1 @@
+MD5 d27755b53425b32d4f39599f46576f2d FXPy-1.0.5.tar.gz 947438
diff --git a/dev-python/fxpy/files/fxpy-1.0.5-gentoo.diff b/dev-python/fxpy/files/fxpy-1.0.5-gentoo.diff
new file mode 100644
index 000000000000..cc6f2cf655e5
--- /dev/null
+++ b/dev-python/fxpy/files/fxpy-1.0.5-gentoo.diff
@@ -0,0 +1,15 @@
+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':
+
diff --git a/dev-python/fxpy/fxpy-1.0.5.ebuild b/dev-python/fxpy/fxpy-1.0.5.ebuild
new file mode 100644
index 000000000000..268ab4b298f5
--- /dev/null
+++ b/dev-python/fxpy/fxpy-1.0.5.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# 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.1 2003/10/06 00:18:40 pythonhead Exp $
+
+inherit distutils
+
+MY_P="FXPy-${PV}"
+S="${WORKDIR}/${MY_P}"
+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="opengl"
+DEPEND=">=dev-lang/python-2.1
+ >=x11-libs/fox-1.0.17
+ opengl? ( >=dev-python/PyOpenGL-2.0.0.44 )"
+
+src_unpack() {
+ unpack ${A} || die
+ cd ${S}
+ patch -p0 < ${FILESDIR}/${P}-gentoo.diff || die "Patch failed."
+}
+
+src_install() {
+ distutils_src_install
+ 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/*
+}
+
diff --git a/dev-python/fxpy/metadata.xml b/dev-python/fxpy/metadata.xml
new file mode 100644
index 000000000000..de483c53568f
--- /dev/null
+++ b/dev-python/fxpy/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+</pkgmetadata>