Added distutils patch for Python2.4. Thanks Jacob Smullyan <smulloni@smullyan.org...
authorRob Cakebread <pythonhead@gentoo.org>
Fri, 7 Jan 2005 20:53:12 +0000 (20:53 +0000)
committerRob Cakebread <pythonhead@gentoo.org>
Fri, 7 Jan 2005 20:53:12 +0000 (20:53 +0000)
dev-python/pyrex/ChangeLog
dev-python/pyrex/Manifest
dev-python/pyrex/files/digest-pyrex-0.9.3-r1 [new file with mode: 0644]
dev-python/pyrex/files/pyrex-0.9.3-python24_distutils.patch [new file with mode: 0644]
dev-python/pyrex/pyrex-0.5.ebuild
dev-python/pyrex/pyrex-0.8.2.ebuild
dev-python/pyrex/pyrex-0.9.2.1.ebuild
dev-python/pyrex/pyrex-0.9.3-r1.ebuild [new file with mode: 0644]
dev-python/pyrex/pyrex-0.9.3.ebuild

index 9079c0e794320790e5e79f1d00a736d25b4d3f4a..4f08eeb45f96ba7034aeb1a67e2c0af11af18cb5 100644 (file)
@@ -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
index 5e4cdc47ebad1e70798d2124d81ab9505bec7979..b837251438bab36160cd14330fb89a4b65023611 100644 (file)
@@ -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 (file)
index 0000000..eac2dfd
--- /dev/null
@@ -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 (file)
index 0000000..d494a35
--- /dev/null
@@ -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
+  
index 97b747e4b8eebe1e423bdf60704e80d9ddb373b0..523f29480642f37dfcd7007c3200f454d98ef706 100644 (file)
@@ -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
 
index 2b6f195b676928668021a492b0a4ed0929edd706..19d9ddc01bed754b0f0d6f6f3c3cca9b2ba26e44 100644 (file)
@@ -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
 
index c20043d820e90850b3ba570c53b33f8b6e848c1f..852992bd7b2efe92e50dc695c076e94600171254 100644 (file)
@@ -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 (file)
index 0000000..f6df4c9
--- /dev/null
@@ -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/
+}
index 3e1e749e74de35e3da349f0f05f0417ca4cae5f3..e92b1ddf55d5404fbf509aa3c5e496905d35a714 100644 (file)
@@ -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