summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Cakebread <pythonhead@gentoo.org>2005-01-07 20:53:12 +0000
committerRob Cakebread <pythonhead@gentoo.org>2005-01-07 20:53:12 +0000
commitd522283e95d9934886c303bea0a816de629d7f8e (patch)
treeb86d93fd992d357e955d537886b9a06d1c500ff4 /dev-python
parentFixing Bug #69831. (Manifest recommit) (diff)
downloadgentoo-2-d522283e95d9934886c303bea0a816de629d7f8e.tar.gz
gentoo-2-d522283e95d9934886c303bea0a816de629d7f8e.tar.bz2
gentoo-2-d522283e95d9934886c303bea0a816de629d7f8e.zip
Added distutils patch for Python2.4. Thanks Jacob Smullyan <smulloni@smullyan.org> bug# 77042
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyrex/ChangeLog11
-rw-r--r--dev-python/pyrex/Manifest19
-rw-r--r--dev-python/pyrex/files/digest-pyrex-0.9.3-r11
-rw-r--r--dev-python/pyrex/files/pyrex-0.9.3-python24_distutils.patch20
-rw-r--r--dev-python/pyrex/pyrex-0.5.ebuild4
-rw-r--r--dev-python/pyrex/pyrex-0.8.2.ebuild4
-rw-r--r--dev-python/pyrex/pyrex-0.9.2.1.ebuild4
-rw-r--r--dev-python/pyrex/pyrex-0.9.3-r1.ebuild35
-rw-r--r--dev-python/pyrex/pyrex-0.9.3.ebuild4
9 files changed, 84 insertions, 18 deletions
diff --git a/dev-python/pyrex/ChangeLog b/dev-python/pyrex/ChangeLog
index 9079c0e79432..4f08eeb45f96 100644
--- a/dev-python/pyrex/ChangeLog
+++ b/dev-python/pyrex/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/pyrex
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyrex/ChangeLog,v 1.23 2004/12/30 23:57:10 ciaranm Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyrex/ChangeLog,v 1.24 2005/01/07 20:53:12 pythonhead Exp $
+
+*pyrex-0.9.3-r1 (07 Jan 2005)
+
+ 07 Jan 2005; Rob Cakebread <pythonhead@gentoo.org>
+ +files/pyrex-0.9.3-python24_distutils.patch, +pyrex-0.9.3-r1.ebuild:
+ Added distutils patch for Python2.4. Thanks Jacob Smullyan
+ <smulloni@smullyan.org> bug# 77042
30 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
diff --git a/dev-python/pyrex/Manifest b/dev-python/pyrex/Manifest
index 5e4cdc47ebad..f09fbce2fc66 100644
--- a/dev-python/pyrex/Manifest
+++ b/dev-python/pyrex/Manifest
@@ -1,11 +1,14 @@
-MD5 bee6a3c03e4555157b758959faf34f78 pyrex-0.8.2.ebuild 798
-MD5 19f080a7137d2d4a6db3a3bcce5d765f ChangeLog 2700
-MD5 db701b8f7a26952a12c46cf06f76a573 pyrex-0.9.2.1.ebuild 798
-MD5 9d55329f00fe6945ba6b56a3dbf514ec pyrex-0.5.ebuild 815
-MD5 b367d30e13ddd2c62c4fe33248f641d7 pyrex-0.9.3.ebuild 834
+MD5 ca5ada579d7fec7390422dae9635f4b6 ChangeLog 2954
MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
-MD5 7d69959a16c0c50c7b8ae652573c8748 files/pyrex-0.9.1.1-gentoo.patch 313
-MD5 1bbfae8705264d80f234c7e386329e56 files/digest-pyrex-0.9.3 63
+MD5 8be96cf23e1470a41a1901518d0b25f9 pyrex-0.5.ebuild 815
+MD5 2a318c3cd41fb371926f7201d7e509b6 pyrex-0.8.2.ebuild 798
+MD5 e2d7562b719839816e96a4a87435fcb4 pyrex-0.9.3.ebuild 834
+MD5 afd5c47b0c2adc20fcb0c8212fd4f95f pyrex-0.9.2.1.ebuild 798
+MD5 ecf2cdf04eca26112557a70403e5c210 pyrex-0.9.3-r1.ebuild 889
MD5 698060ff43e70bea481dc39d85b60432 files/digest-pyrex-0.5 61
-MD5 eb81fc8a96e07a88c85802a248fa0ac4 files/digest-pyrex-0.9.2.1 65
+MD5 1bbfae8705264d80f234c7e386329e56 files/digest-pyrex-0.9.3 63
MD5 5c46cd453275b56cabe9cd981a306fa5 files/digest-pyrex-0.8.2 63
+MD5 eb81fc8a96e07a88c85802a248fa0ac4 files/digest-pyrex-0.9.2.1 65
+MD5 7d69959a16c0c50c7b8ae652573c8748 files/pyrex-0.9.1.1-gentoo.patch 313
+MD5 c587d86c063eda8fb02e18b9b1c83aec files/pyrex-0.9.3-python24_distutils.patch 622
+MD5 1bbfae8705264d80f234c7e386329e56 files/digest-pyrex-0.9.3-r1 63
diff --git a/dev-python/pyrex/files/digest-pyrex-0.9.3-r1 b/dev-python/pyrex/files/digest-pyrex-0.9.3-r1
new file mode 100644
index 000000000000..eac2dfd8cfa5
--- /dev/null
+++ b/dev-python/pyrex/files/digest-pyrex-0.9.3-r1
@@ -0,0 +1 @@
+MD5 63c4cb884d6b777d3806f9669ba5feba Pyrex-0.9.3.tar.gz 176072
diff --git a/dev-python/pyrex/files/pyrex-0.9.3-python24_distutils.patch b/dev-python/pyrex/files/pyrex-0.9.3-python24_distutils.patch
new file mode 100644
index 000000000000..d494a35029c2
--- /dev/null
+++ b/dev-python/pyrex/files/pyrex-0.9.3-python24_distutils.patch
@@ -0,0 +1,20 @@
+diff -rc Pyrex-0.9.3/Pyrex/Distutils/build_ext.py Pyrex-0.9.3-patched/Pyrex/Distutils/build_ext.py
+*** Pyrex-0.9.3/Pyrex/Distutils/build_ext.py Fri Apr 30 08:00:46 2004
+--- Pyrex-0.9.3-patched/Pyrex/Distutils/build_ext.py Fri Jan 7 12:24:17 2005
+***************
+*** 32,38 ****
+ if self.compiler == 'mingw32':
+ self.swig_cpp = 1
+
+! def swig_sources (self, sources):
+ if not self.extensions:
+ return
+
+--- 32,38 ----
+ if self.compiler == 'mingw32':
+ self.swig_cpp = 1
+
+! def swig_sources (self, sources, extensions=None):
+ if not self.extensions:
+ return
+
diff --git a/dev-python/pyrex/pyrex-0.5.ebuild b/dev-python/pyrex/pyrex-0.5.ebuild
index 97b747e4b8ee..523f29480642 100644
--- a/dev-python/pyrex/pyrex-0.5.ebuild
+++ b/dev-python/pyrex/pyrex-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/pyrex/pyrex-0.5.ebuild,v 1.11 2004/06/25 01:43:00 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyrex/pyrex-0.5.ebuild,v 1.12 2005/01/07 20:53:12 pythonhead Exp $
inherit distutils
diff --git a/dev-python/pyrex/pyrex-0.8.2.ebuild b/dev-python/pyrex/pyrex-0.8.2.ebuild
index 2b6f195b6769..19d9ddc01bed 100644
--- a/dev-python/pyrex/pyrex-0.8.2.ebuild
+++ b/dev-python/pyrex/pyrex-0.8.2.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/pyrex/pyrex-0.8.2.ebuild,v 1.7 2004/06/25 01:43:00 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyrex/pyrex-0.8.2.ebuild,v 1.8 2005/01/07 20:53:12 pythonhead Exp $
inherit distutils
diff --git a/dev-python/pyrex/pyrex-0.9.2.1.ebuild b/dev-python/pyrex/pyrex-0.9.2.1.ebuild
index c20043d820e9..852992bd7b2e 100644
--- a/dev-python/pyrex/pyrex-0.9.2.1.ebuild
+++ b/dev-python/pyrex/pyrex-0.9.2.1.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/pyrex/pyrex-0.9.2.1.ebuild,v 1.3 2004/07/11 15:01:03 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyrex/pyrex-0.9.2.1.ebuild,v 1.4 2005/01/07 20:53:12 pythonhead Exp $
inherit distutils
diff --git a/dev-python/pyrex/pyrex-0.9.3-r1.ebuild b/dev-python/pyrex/pyrex-0.9.3-r1.ebuild
new file mode 100644
index 000000000000..f6df4c9d3b5f
--- /dev/null
+++ b/dev-python/pyrex/pyrex-0.9.3-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyrex/pyrex-0.9.3-r1.ebuild,v 1.1 2005/01/07 20:53:12 pythonhead Exp $
+
+inherit distutils eutils
+
+MY_P="Pyrex-${PV}"
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="a language for writing Python extension modules"
+HOMEPAGE="http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex"
+SRC_URI="http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/${MY_P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~mips ~ppc ~sparc ~x86 ~ppc64"
+IUSE=""
+
+DEPEND="virtual/python"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # fix for pyrex distutils for python 2.4. bug# 77042
+ epatch ${FILESDIR}/${P}-python24_distutils.patch
+}
+
+src_install() {
+ mydoc="CHANGES.txt INSTALL.txt README.txt USAGE.txt"
+ distutils_src_install
+
+ dodir /usr/share/doc/${PF}/Demos
+ cp -r ${S}/Demos ${D}/usr/share/doc/${PF}
+ dohtml -r Doc/*
+ cp ${S}/Doc/primes.c ${D}usr/share/doc/${PF}/html/
+}
diff --git a/dev-python/pyrex/pyrex-0.9.3.ebuild b/dev-python/pyrex/pyrex-0.9.3.ebuild
index 3e1e749e74de..e92b1ddf55d5 100644
--- a/dev-python/pyrex/pyrex-0.9.3.ebuild
+++ b/dev-python/pyrex/pyrex-0.9.3.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/pyrex/pyrex-0.9.3.ebuild,v 1.9 2004/12/16 21:09:49 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyrex/pyrex-0.9.3.ebuild,v 1.10 2005/01/07 20:53:12 pythonhead Exp $
inherit distutils