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
commit330275302924af35bd687a04eadee12904e9497c (patch)
treea4c6e8c386bc140376508d5b1f02432669d49058 /dev-python
parentFixing Bug #69831. (diff)
downloadhistorical-330275302924af35bd687a04eadee12904e9497c.tar.gz
historical-330275302924af35bd687a04eadee12904e9497c.tar.bz2
historical-330275302924af35bd687a04eadee12904e9497c.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/Manifest29
-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, 94 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..b837251438ba 100644
--- a/dev-python/pyrex/Manifest
+++ b/dev-python/pyrex/Manifest
@@ -1,11 +1,24 @@
-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
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 73ea074aa3c71b6324d338912b5bc03f ChangeLog 2957
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 d8c712c9224020f6b0b8ed89b12fb5aa pyrex-0.5.ebuild 817
+MD5 ce47733ad791af879b2cbfed5754e9b1 pyrex-0.8.2.ebuild 800
+MD5 5dfba27d2b498d6feda12b4077169287 pyrex-0.9.3.ebuild 838
+MD5 247a8d1332990a2f66a99e57c0fc6f61 pyrex-0.9.2.1.ebuild 802
+MD5 a3d28dbaa99d5d9f78526959d4f8c349 pyrex-0.9.3-r1.ebuild 993
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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.0 (GNU/Linux)
+
+iD8DBQFB3vbcz2gxt1z4IGYRAnqAAJsHqxXV0zJEO5M7DnjabzXH8OhUOwCg0bCj
+GyOJF1EVbePAFxEUYVmlkII=
+=Hv8s
+-----END PGP SIGNATURE-----
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