[pypy] 1.8

dmalcolm dmalcolm at fedoraproject.org
Fri Feb 10 14:21:22 UTC 2012


commit 52a91fcc4b0ffbdb511ad40e389fe6566d1b8623
Author: David Malcolm <dmalcolm at redhat.com>
Date:   Fri Feb 10 09:19:56 2012 -0500

    1.8
    
    rebase to 1.8:
    * regenerate config patch (patch 0)
    * drop selinux patch (patch 2)
    * regenerate patch 5

 .gitignore                                         |    1 +
 config.patch                                       |   32 ++-----------------
 ...est_commands-expected-ls-output-issue7108.patch |   11 -------
 ...test-subprocess-with-nonreadable-path-dir.patch |    7 ++--
 pypy.spec                                          |   18 ++++-------
 sources                                            |    2 +-
 6 files changed, 16 insertions(+), 55 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 99af398..86ec921 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /pypy-1.5-src.tar.bz2
 /release-1.6.tar.bz2
 /release-1.7.tar.bz2
+/release-1.8.tar.bz2
diff --git a/config.patch b/config.patch
index afd7a7d..a11f397 100644
--- a/config.patch
+++ b/config.patch
@@ -1,31 +1,7 @@
-diff -up pypy-pypy-release-1.7/pypy/translator/platform/linux.py.configure-fedora pypy-pypy-release-1.7/pypy/translator/platform/linux.py
---- pypy-pypy-release-1.7/pypy/translator/platform/linux.py.configure-fedora	2011-11-19 02:44:54.000000000 -0500
-+++ pypy-pypy-release-1.7/pypy/translator/platform/linux.py	2011-11-21 13:07:03.454240019 -0500
-@@ -1,15 +1,21 @@
- """Support for Linux."""
- 
-+import os
- import sys
- from pypy.translator.platform.posix import BasePosix
- 
-+CFLAGS = ['-O3', '-pthread', '-fomit-frame-pointer',
-+          '-Wall', '-Wno-unused']
-+if os.environ.get('CFLAGS', None):
-+    CFLAGS.extend(os.environ['CFLAGS'].split())
-+CFLAGS = tuple(CFLAGS)
-+
- class BaseLinux(BasePosix):
-     name = "linux"
-     
-     link_flags = ('-pthread',)
-     extra_libs = ('-lrt',)
--    cflags = ('-O3', '-pthread', '-fomit-frame-pointer',
--              '-Wall', '-Wno-unused')
-+    cflags = CFLAGS
-     standalone_only = ()
-     shared_only = ('-fPIC',)
-     so_ext = 'so'
-@@ -26,13 +32,14 @@ class BaseLinux(BasePosix):
+diff -up pypy-pypy-2346207d9946/pypy/translator/platform/linux.py.configure-fedora pypy-pypy-2346207d9946/pypy/translator/platform/linux.py
+--- pypy-pypy-2346207d9946/pypy/translator/platform/linux.py.configure-fedora	2012-02-09 13:27:19.000000000 -0500
++++ pypy-pypy-2346207d9946/pypy/translator/platform/linux.py	2012-02-10 09:06:20.393066016 -0500
+@@ -31,13 +31,14 @@ class BaseLinux(BasePosix):
          return self._pkg_config("libffi", "--libs-only-L",
                                  ['/usr/lib/libffi'])
  
diff --git a/pypy-1.6-fix-test-subprocess-with-nonreadable-path-dir.patch b/pypy-1.6-fix-test-subprocess-with-nonreadable-path-dir.patch
index eb6f324..9071be5 100644
--- a/pypy-1.6-fix-test-subprocess-with-nonreadable-path-dir.patch
+++ b/pypy-1.6-fix-test-subprocess-with-nonreadable-path-dir.patch
@@ -1,6 +1,5 @@
-diff -up pypy-pypy-release-1.6/lib-python/2.7/test/test_subprocess.py.non-readable-path pypy-pypy-release-1.6/lib-python/2.7/test/test_subprocess.py
---- pypy-pypy-release-1.6/lib-python/2.7/test/test_subprocess.py.non-readable-path	2011-08-20 11:46:31.410646024 -0400
-+++ pypy-pypy-release-1.6/lib-python/2.7/test/test_subprocess.py	2011-08-20 11:46:39.421645476 -0400
+--- pypy-pypy-2346207d9946/lib-python/2.7/test/test_subprocess.py.orig	2012-02-09 13:27:19.000000000 -0500
++++ pypy-pypy-2346207d9946/lib-python/2.7/test/test_subprocess.py	2012-02-10 09:14:08.312216221 -0500
 @@ -570,7 +570,7 @@ class ProcessTestCase(BaseTestCase):
          for i in range(1024):
              # Windows raises IOError.  Others raise OSError.
@@ -9,4 +8,4 @@ diff -up pypy-pypy-release-1.6/lib-python/2.7/test/test_subprocess.py.non-readab
 +                subprocess.Popen(['/usr/bin/nonexisting_i_hope'],
                                   stdout=subprocess.PIPE,
                                   stderr=subprocess.PIPE)
-             if c.exception.errno != errno.ENOENT:  # ignore "no such file"
+             # ignore errors that indicate the command was not found
diff --git a/pypy.spec b/pypy.spec
index b5982bd..9838bae 100644
--- a/pypy.spec
+++ b/pypy.spec
@@ -1,6 +1,6 @@
 Name:           pypy
-Version:        1.7
-Release:        4%{?dist}
+Version:        1.8
+Release:        1%{?dist}
 Summary:        Python implementation with a Just-In-Time compiler
 
 Group:          Development/Languages
@@ -145,10 +145,6 @@ Patch0:         config.patch
 # merely render dots:
 Patch1:         pypy-1.2-suppress-mandelbrot-set-during-tty-build.patch
 
-# test_commmands fails on SELinux systems due to a change in the output
-# of "ls" (http://bugs.python.org/issue7108)
-Patch2: fix-test_commands-expected-ls-output-issue7108.patch
-
 # Try to improve the readability of the generated .c code, by adding in the
 # RPython source as comments where possible.
 # A version of this was sent upstream as:
@@ -324,14 +320,10 @@ Build of PyPy with support for micro-threads for massive concurrency
 
 
 %prep
-%setup -q -n pypy-pypy-release-%{version}
+%setup -q -n pypy-pypy-2346207d9946
 %patch0 -p1 -b .configure-fedora
 %patch1 -p1 -b .suppress-mandelbrot-set-during-tty-build
 
-pushd lib-python/%{pylibver}
-%patch2 -p0
-popd
-
 %patch4 -p1 -b .more-readable-c-code
 
 %patch5 -p1
@@ -868,6 +860,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Feb  9 2012 David Malcolm <dmalcolm at redhat.com> - 1.8-1
+- 1.8; regenerate config patch (patch 0); drop selinux patch (patch 2);
+regenerate patch 5
+
 * Tue Jan 31 2012 David Malcolm <dmalcolm at redhat.com> - 1.7-4
 - fix an incompatibility with virtualenv (rhbz#742641)
 
diff --git a/sources b/sources
index 197491c..30a988e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fc22184c931ead98bdae9ec3e79595c2  release-1.7.tar.bz2
+661be06978fdc907d84f0ee1f1228c8b  release-1.8.tar.bz2


More information about the scm-commits mailing list