Hello community,

here is the log from the commit of package python-weave for openSUSE:Leap:15.2 
checked in at 2020-03-02 13:24:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-weave (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-weave.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-weave"

Mon Mar  2 13:24:49 2020 rev:11 rq:777274 version:0.17.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-weave/python-weave.changes      
2020-01-15 15:54:09.883622712 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-weave.new.26092/python-weave.changes   
2020-03-02 13:24:50.922576275 +0100
@@ -1,0 +2,29 @@
+Wed May  1 19:12:18 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Trim name repetition in summary.
+
+-------------------------------------------------------------------
+Tue Apr 23 15:47:08 UTC 2019 - [email protected]
+
+- version update to 0.17.0
+  * maintenance release that fixes compatibility with NumPy 1.16.x
+- deleted patches
+  - numpy-16.patch (upstreamed)
+
+-------------------------------------------------------------------
+Thu Feb 14 11:33:23 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Add patch to fix with numpy 1.16:
+  * numpy-16.patch
+
+-------------------------------------------------------------------
+Wed Jun 27 22:25:21 UTC 2018 - [email protected]
+
+- Clean up SPEC, make tests running (py2k only, because of upstream)
+
+-------------------------------------------------------------------
+Thu Aug 24 13:57:16 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -11,0 +41 @@
+

Old:
----
  weave-0.16.0.tar.gz

New:
----
  weave-0.17.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-weave.spec ++++++
--- /var/tmp/diff_new_pack.jix2mE/_old  2020-03-02 13:24:51.490577404 +0100
+++ /var/tmp/diff_new_pack.jix2mE/_new  2020-03-02 13:24:51.490577404 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-weave
 #
-# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,28 +12,41 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+%define skip_python3 1
+%define oldpython python
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-weave
-Version:        0.16.0
+Version:        0.17.0
 Release:        0
-Summary:        Weave: a C++ compiler for Python
+Summary:        A C++ compiler for Python
 License:        BSD-3-Clause
 Group:          Development/Libraries/Python
-Url:            http://www.github.com/scipy/weave
-Source:         
https://files.pythonhosted.org/packages/source/w/weave/weave-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-numpy-devel
-BuildRequires:  python-scipy
+URL:            http://www.github.com/scipy/weave
+Source0:        
https://files.pythonhosted.org/packages/source/w/weave/weave-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module numpy-devel}
+BuildRequires:  %{python_module scipy}
+BuildRequires:  fdupes
+BuildRequires:  gcc-c++
+BuildRequires:  python-rpm-macros
+# Required for the running of the testsuite
+BuildRequires:  system-user-nobody
 Requires:       python-numpy
 Requires:       python-scipy
-Provides:       python-scipy-weave = %{version}
-Obsoletes:      python-scipy-weave < %{version}
 Provides:       python-weave-devel = %{version}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
+%ifpython2
+Provides:       %{oldpython}-scipy-weave = %{version}
+Obsoletes:      %{oldpython}-scipy-weave < %{version}
+%endif
+%python_subpackages
 
 %description
 Weave provides tools for including C/C++ code within Python code. Inlining
@@ -48,20 +61,25 @@
 
 %prep
 %setup -q -n weave-%{version}
+sed -i -e '1d' weave/setup.py
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-# Don't ship tests
-find %{buildroot}%{python_sitelib}/weave -type d -name tests | xargs rm -rf
-# Don't ship weave examples, they're marked as documentation:
-find %{buildroot}%{python_sitelib}/weave -type d -name examples | xargs rm -rf
-
-%files
-%defattr(-,root,root,-)
-%doc LICENSE.txt
+%python_install
+%{python_expand # Don't ship tests
+    rm -rfv %{buildroot}%{$python_sitelib}/weave/tests
+    # Deduplicate files
+    %fdupes %{buildroot}%{$python_sitelib}
+}
+
+%check
+export PYTHONPATH=.
+%python_exec -c 'import weave; weave.test(verbose=2)'
+
+%files %{python_files}
+%license LICENSE.txt
 %doc doc/tutorial*
 %{python_sitelib}/weave-%{version}-py*.egg-info
 %{python_sitelib}/weave

++++++ weave-0.16.0.tar.gz -> weave-0.17.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/weave-0.16.0/PKG-INFO new/weave-0.17.0/PKG-INFO
--- old/weave-0.16.0/PKG-INFO   2017-04-19 13:44:19.000000000 +0200
+++ new/weave-0.17.0/PKG-INFO   2019-02-27 07:40:21.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: weave
-Version: 0.16.0
+Version: 0.17.0
 Summary: Weave: a C++ compiler for Python.
 Home-page: http://www.github.com/scipy/weave
 Author: Weave developers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/weave-0.16.0/doc/release/0.17.0-notes.rst 
new/weave-0.17.0/doc/release/0.17.0-notes.rst
--- old/weave-0.16.0/doc/release/0.17.0-notes.rst       1970-01-01 
01:00:00.000000000 +0100
+++ new/weave-0.17.0/doc/release/0.17.0-notes.rst       2019-02-27 
07:33:01.000000000 +0100
@@ -0,0 +1,17 @@
+==========================
+Weave 0.17.0 Release Notes
+==========================
+
+Weave provides tools for including C/C++ code within Python code. Inlining
+C/C++ code within Python generally results in speedups of 1.5x to 30x over
+algorithms written in pure Python.
+
+Weave is the stand-alone version of the now-removed SciPy submodule 
``scipy.weave``.
+It is Python 2.x only, and is provided for users that need new versions of
+SciPy but have existing code that still depends on ``scipy.weave``. For new 
code,
+users are recommended to use Cython.
+
+Weave 0.17.0 is a maintenance release that fixes compatibility with NumPy
+1.16.x.
+
+This release requires Python 2.6 or 2.7.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/weave-0.16.0/doc/source/release.0.17.0.rst 
new/weave-0.17.0/doc/source/release.0.17.0.rst
--- old/weave-0.16.0/doc/source/release.0.17.0.rst      1970-01-01 
01:00:00.000000000 +0100
+++ new/weave-0.17.0/doc/source/release.0.17.0.rst      2019-02-27 
07:31:05.000000000 +0100
@@ -0,0 +1 @@
+.. include:: ../release/0.17.0-notes.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/weave-0.16.0/doc/source/release.rst 
new/weave-0.17.0/doc/source/release.rst
--- old/weave-0.16.0/doc/source/release.rst     2017-04-19 13:41:50.000000000 
+0200
+++ new/weave-0.17.0/doc/source/release.rst     2019-02-27 07:29:56.000000000 
+0100
@@ -7,3 +7,4 @@
 
    release.0.15.0
    release.0.16.0
+   release.0.17.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/weave-0.16.0/setup.py new/weave-0.17.0/setup.py
--- old/weave-0.16.0/setup.py   2017-04-19 13:36:16.000000000 +0200
+++ new/weave-0.17.0/setup.py   2019-02-27 07:29:34.000000000 +0100
@@ -42,7 +42,7 @@
 
 
 MAJOR               = 0
-MINOR               = 16
+MINOR               = 17
 MICRO               = 0
 ISRELEASED          = True
 VERSION             = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
@@ -194,7 +194,7 @@
         FULLVERSION, GIT_REVISION = get_version_info()
         metadata['version'] = FULLVERSION
     else:
-        if len(sys.argv) >= 2 and sys.argv[1] == 'bdist_wheel':
+        if len(sys.argv) >= 2 and sys.argv[1] in ['bdist_wheel', 'test']:
             # bdist_wheel needs setuptools
             import setuptools
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/weave-0.16.0/weave/inline_tools.py 
new/weave-0.17.0/weave/inline_tools.py
--- old/weave-0.16.0/weave/inline_tools.py      2015-08-16 08:19:19.000000000 
+0200
+++ new/weave-0.17.0/weave/inline_tools.py      2019-02-27 07:27:23.000000000 
+0100
@@ -7,8 +7,12 @@
 from . import ext_tools
 from . import catalog
 from . import common_info
-
-from numpy.core.multiarray import _get_ndarray_c_version
+try:
+    # numpy 1.16:
+    from numpy.core._multiarray_umath import _get_ndarray_c_version
+except ImportError:
+    # numpy < 1.16:
+    from numpy.core.multiarray import _get_ndarray_c_version
 ndarray_api_version = '/* NDARRAY API VERSION %x */' % 
(_get_ndarray_c_version(),)
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/weave-0.16.0/weave/version.py 
new/weave-0.17.0/weave/version.py
--- old/weave-0.16.0/weave/version.py   2017-04-19 13:44:19.000000000 +0200
+++ new/weave-0.17.0/weave/version.py   2019-02-27 07:40:20.000000000 +0100
@@ -1,9 +1,9 @@
 
 # THIS FILE IS GENERATED FROM WEAVE SETUP.PY
-short_version = '0.16.0'
-version = '0.16.0'
-full_version = '0.16.0'
-git_revision = '922f5919aebb5818f70688fa3bc68508377aa72f'
+short_version = '0.17.0'
+version = '0.17.0'
+full_version = '0.17.0'
+git_revision = '55d48df39b9685164a71fd29050ad45d307b0a97'
 release = True
 
 if not release:


Reply via email to