Update to 7.0.0

This commit is contained in:
Miro Hrončok 2019-03-01 00:07:40 +01:00
parent 9b0263d895
commit 311cac57f2
4 changed files with 23 additions and 9 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/pypy-*-src.tar.bz2 /pypy-*-src.tar.bz2
/pypy2-*-src.tar.bz2 /pypy2-*-src.tar.bz2
/pypy2.7-v7.0.0-src.tar.bz2

View File

@ -1,10 +1,10 @@
diff --git a/pypy/module/crypt/interp_crypt.py b/pypy/module/crypt/interp_crypt.py diff --git a/pypy/module/crypt/interp_crypt.py b/pypy/module/crypt/interp_crypt.py
index d227b6a..da969e6 100644 index bd13f6f..1022c9e 100644
--- a/pypy/module/crypt/interp_crypt.py --- a/pypy/module/crypt/interp_crypt.py
+++ b/pypy/module/crypt/interp_crypt.py +++ b/pypy/module/crypt/interp_crypt.py
@@ -6,7 +6,7 @@ import sys @@ -9,7 +9,7 @@ elif sys.platform.startswith('linux'):
if sys.platform.startswith('darwin'): # crypt() is defined only in crypt.h on some Linux variants (eg. Fedora 28)
eci = ExternalCompilationInfo() eci = ExternalCompilationInfo(libraries=['crypt'], includes=["crypt.h"])
else: else:
- eci = ExternalCompilationInfo(libraries=['crypt']) - eci = ExternalCompilationInfo(libraries=['crypt'])
+ eci = ExternalCompilationInfo(libraries=['crypt'], includes=['crypt.h']) + eci = ExternalCompilationInfo(libraries=['crypt'], includes=['crypt.h'])

View File

@ -1,7 +1,8 @@
%global basever 6.0 %global basever 7.0
Name: pypy Name: pypy
Version: %{basever}.0 Version: %{basever}.0
Release: 5%{?dist} %global pyversion 2.7
Release: 1%{?dist}
Summary: Python implementation with a Just-In-Time compiler Summary: Python implementation with a Just-In-Time compiler
# LGPL and another free license we'd need to ask spot about are present in some # LGPL and another free license we'd need to ask spot about are present in some
@ -142,7 +143,7 @@ ExcludeArch: aarch64 %{power64}
%(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
# Source and patches: # Source and patches:
Source0: https://bitbucket.org/pypy/pypy/downloads/%{src_name}.tar.bz2 Source0: https://bitbucket.org/pypy/pypy/downloads/pypy%{pyversion}-v%{version}-src.tar.bz2
# Supply various useful RPM macros for building python modules against pypy: # Supply various useful RPM macros for building python modules against pypy:
# __pypy, pypy_sitelib, pypy_sitearch # __pypy, pypy_sitelib, pypy_sitearch
@ -246,6 +247,8 @@ BuildRequires: python-pip-wheel
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Provides: %{ver_name} = %{version}-%{release} Provides: %{ver_name} = %{version}-%{release}
Provides: %{ver_name}%{_isa} = %{version}-%{release} Provides: %{ver_name}%{_isa} = %{version}-%{release}
Provides: pypy%{pyversion} = %{version}-%{release}
Provides: pypy%{pyversion}%{_isa} = %{version}-%{release}
Provides: %{ver_name}(abi) = %{basever} Provides: %{ver_name}(abi) = %{basever}
%description %description
@ -280,6 +283,9 @@ Provides: bundled(python3-setuptools) = 28.8.0
Provides: %{ver_name}-libs = %{version}-%{release} Provides: %{ver_name}-libs = %{version}-%{release}
Provides: %{ver_name}-libs%{_isa} = %{version}-%{release} Provides: %{ver_name}-libs%{_isa} = %{version}-%{release}
Provides: pypy%{pyversion}-libs = %{version}-%{release}
Provides: pypy%{pyversion}-libs%{_isa} = %{version}-%{release}
%description libs %description libs
Libraries required by the various PyPy implementations of Python. Libraries required by the various PyPy implementations of Python.
@ -289,6 +295,8 @@ Summary: Development tools for working with PyPy
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: %{ver_name}-devel = %{version}-%{release} Provides: %{ver_name}-devel = %{version}-%{release}
Provides: %{ver_name}-devel%{_isa} = %{version}-%{release} Provides: %{ver_name}-devel%{_isa} = %{version}-%{release}
Provides: pypy%{pyversion}-devel = %{version}-%{release}
Provides: pypy%{pyversion}-devel%{_isa} = %{version}-%{release}
%description devel %description devel
Header files for building C extension modules against PyPy Header files for building C extension modules against PyPy
@ -300,13 +308,15 @@ Summary: Stackless Python interpreter built using PyPy
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Provides: %{ver_name}-stackless = %{version}-%{release} Provides: %{ver_name}-stackless = %{version}-%{release}
Provides: %{ver_name}-stackless%{_isa} = %{version}-%{release} Provides: %{ver_name}-stackless%{_isa} = %{version}-%{release}
Provides: pypy%{pyversion}-stackless = %{version}-%{release}
Provides: pypy%{pyversion}-stackless%{_isa} = %{version}-%{release}
%description stackless %description stackless
Build of PyPy with support for micro-threads for massive concurrency Build of PyPy with support for micro-threads for massive concurrency
%endif %endif
%prep %prep
%autosetup -n %{src_name} -p1 -S git %autosetup -n pypy%{pyversion}-v%{version}-src -p1 -S git
%if %{with rpmwheels} %if %{with rpmwheels}
%apply_patch -m %(basename %{SOURCE189}) %{SOURCE189} %apply_patch -m %(basename %{SOURCE189}) %{SOURCE189}
@ -796,6 +806,9 @@ CheckPyPy %{name}-c-stackless
%changelog %changelog
* Thu Feb 28 2019 Miro Hrončok <mhroncok@redhat.com> - 7.0.0-1
- Update to 7.0.0
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-5 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (pypy2-v6.0.0-src.tar.bz2) = d3bdcd65fc83f2fda3203a604733fe6765049a17cca2715cd6045dc302a6159b4741a821c53fa4c97acf7297cef4c62e941a6a6eb7f8a253a93a28dcf2aa2ca0 SHA512 (pypy2.7-v7.0.0-src.tar.bz2) = 7fb5682ee4226af51008f50a81c922e44c231410fe36b7656efa20f22c855ba30a01bc96ee897b4c7a02941d37a405c922b09855977313878e34aaad6bf023dc