* Reverted most of the recent Python refactorings, as discussed. It's

a worthy goal to move the Python packages that are currently in
  all-packages.nix into a single attribute set, but this doesn't
  require moving python-packages.nix or the other changes made to that
  file.  The Python packages in all-packages.nix should simply be
  moved to python-packages.nix, and ideally changed to use
  buildPythonPackage.

svn path=/nixpkgs/trunk/; revision=21196
This commit is contained in:
Eelco Dolstra
2010-04-21 10:51:15 +00:00
parent 8d9ac92768
commit e2a374799f
40 changed files with 980 additions and 1093 deletions

View File

@@ -0,0 +1,15 @@
{stdenv, fetchurl, python}:
stdenv.mkDerivation rec {
version = "3.2.1";
name = "zope-${version}";
src = fetchurl {
url = "http://www.zope.org/Products/Zope3/${version}/Zope-${version}.tgz";
sha256 = "8431984af75054e4ddfe45bf708924240f8b6b02220cd84d090138413ac82341";
};
patches = [
./zope_python-2.4.4.patch
./zope_python-readline.patch
];
buildInputs = [python];
}

View File

@@ -0,0 +1,12 @@
diff -r 8833d4892dfc Zope-3.2.1/configure
--- a/configure Mon Aug 18 14:55:39 2008 +0200
+++ b/configure Mon Aug 18 14:57:39 2008 +0200
@@ -21,7 +21,7 @@ prefix="$DEFAULT_PREFIX"
# Place the optimal target version number (as returned by sys.version)
# below
-TARGET="2.4.2"
+TARGET="2.4.4"
# Order a list of "acceptable" python version numbers (as returned by
# sys.version) below in "best" to "worst" order, not including the

View File

@@ -0,0 +1,12 @@
diff -r 8833d4892dfc Zope-3.2.1/Dependencies/zope.publisher-Zope-3.2.1/zope.publisher/http.py
--- a/Dependencies/zope.publisher-Zope-3.2.1/zope.publisher/http.py Mon Aug 18 14:55:39 2008 +0200
+++ b/Dependencies/zope.publisher-Zope-3.2.1/zope.publisher/http.py Mon Aug 18 16:37:02 2008 +0200
@@ -198,7 +198,7 @@ class HTTPInputStream(object):
self.cacheStream.write(data)
return data
- def readline(self):
+ def readline(self, size=None):
data = self.stream.readline()
self.cacheStream.write(data)
return data