Hello community,

here is the log from the commit of package python3-numexpr for openSUSE:Factory 
checked in at 2015-04-25 09:53:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-numexpr (Old)
 and      /work/SRC/openSUSE:Factory/.python3-numexpr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-numexpr"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-numexpr/python3-numexpr.changes  
2015-04-15 16:25:01.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-numexpr.new/python3-numexpr.changes     
2015-04-25 11:25:57.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Apr 23 15:28:19 UTC 2015 - [email protected]
+
+- update to version 2.4.2:
+  * Improved setup.py so that pip can query the name and version
+    without actually doing the installation. Thanks to Joris
+    Borgdorff.
+
+-------------------------------------------------------------------

Old:
----
  numexpr-2.4.1.tar.gz

New:
----
  numexpr-2.4.2.tar.gz

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

Other differences:
------------------
++++++ python3-numexpr.spec ++++++
--- /var/tmp/diff_new_pack.ZgySgX/_old  2015-04-25 11:25:57.000000000 +0200
+++ /var/tmp/diff_new_pack.ZgySgX/_new  2015-04-25 11:25:57.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python3-numexpr
-Version:        2.4.1
+Version:        2.4.2
 Release:        0
 Url:            https://github.com/pydata/numexpr
 Summary:        Fast numerical expression evaluator for NumPy

++++++ numexpr-2.4.1.tar.gz -> numexpr-2.4.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/numexpr-2.4.1/ANNOUNCE.rst 
new/numexpr-2.4.2/ANNOUNCE.rst
--- old/numexpr-2.4.1/ANNOUNCE.rst      2015-04-14 17:58:52.000000000 +0200
+++ new/numexpr-2.4.2/ANNOUNCE.rst      2015-04-22 10:38:27.000000000 +0200
@@ -1,5 +1,5 @@
 =========================
- Announcing Numexpr 2.4.1
+ Announcing Numexpr 2.4.2
 =========================
 
 Numexpr is a fast numerical expression evaluator for NumPy.  With it,
@@ -21,8 +21,9 @@
 What's new
 ==========
 
-In this version there is improved support for newer MKL library as well
-as other minor improvements.  This version is meant for production.
+This is a maintenance release where basically setup.py has been
+improved so that pip can query the name and version without actually
+doing the installation.  Thanks to Joris Borgdorff.
 
 In case you want to know more in detail what has changed in this
 version, see:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/numexpr-2.4.1/PKG-INFO new/numexpr-2.4.2/PKG-INFO
--- old/numexpr-2.4.1/PKG-INFO  2015-04-14 18:01:33.000000000 +0200
+++ new/numexpr-2.4.2/PKG-INFO  2015-04-22 10:45:06.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: numexpr
-Version: 2.4.1
+Version: 2.4.2
 Summary: Fast numerical expression evaluator for NumPy
 Home-page: https://github.com/pydata/numexpr
 Author: David M. Cooke, Francesc Alted and others
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/numexpr-2.4.1/RELEASE_NOTES.rst 
new/numexpr-2.4.2/RELEASE_NOTES.rst
--- old/numexpr-2.4.1/RELEASE_NOTES.rst 2015-04-14 17:55:19.000000000 +0200
+++ new/numexpr-2.4.2/RELEASE_NOTES.rst 2015-04-21 18:18:02.000000000 +0200
@@ -2,6 +2,13 @@
  Release notes for Numexpr 2.4 series
 ======================================
 
+Changes from 2.4.1 to 2.4.2
+===========================
+
+* Improved setup.py so that pip can query the name and version without
+  actually doing the installation.  Thanks to Joris Borgdorff.
+
+
 Changes from 2.4 to 2.4.1
 =========================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/numexpr-2.4.1/numexpr/version.py 
new/numexpr-2.4.2/numexpr/version.py
--- old/numexpr-2.4.1/numexpr/version.py        2015-04-14 18:00:35.000000000 
+0200
+++ new/numexpr-2.4.2/numexpr/version.py        2015-04-22 10:40:28.000000000 
+0200
@@ -8,20 +8,4 @@
 #  rights to use.
 ####################################################################
 
-version = '2.4.1'
-release = True
-
-if not release:
-    version += '.dev'
-    import os
-
-    svn_version_file = os.path.join(os.path.dirname(__file__),
-                                    '__svn_version__.py')
-    if os.path.isfile(svn_version_file):
-        import imp
-
-        svn = imp.load_module('numexpr.__svn_version__',
-                              open(svn_version_file),
-                              svn_version_file,
-                              ('.py', 'U', 1))
-        version += svn.version
+version = '2.4.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/numexpr-2.4.1/numexpr.egg-info/PKG-INFO 
new/numexpr-2.4.2/numexpr.egg-info/PKG-INFO
--- old/numexpr-2.4.1/numexpr.egg-info/PKG-INFO 2015-04-14 18:01:32.000000000 
+0200
+++ new/numexpr-2.4.2/numexpr.egg-info/PKG-INFO 2015-04-22 10:45:06.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: numexpr
-Version: 2.4.1
+Version: 2.4.2
 Summary: Fast numerical expression evaluator for NumPy
 Home-page: https://github.com/pydata/numexpr
 Author: David M. Cooke, Francesc Alted and others
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/numexpr-2.4.1/setup.py new/numexpr-2.4.2/setup.py
--- old/numexpr-2.4.1/setup.py  2014-04-18 10:58:55.000000000 +0200
+++ new/numexpr-2.4.2/setup.py  2015-04-21 18:08:28.000000000 +0200
@@ -27,9 +27,12 @@
 with open('requirements.txt') as f:
     requirements = f.read().splitlines()
 
+# Fetch the version for numexpr (will be put in variable `version`)
+with open(os.path.join('numexpr', 'version.py')) as f:
+    exec(f.read())
 
 def setup_package():
-    metadata = dict(  #name='numexpr',  # name already set in numpy.distutils
+    metadata = dict(
                       description='Fast numerical expression evaluator for 
NumPy',
                       author='David M. Cooke, Francesc Alted and others',
                       author_email='[email protected], [email protected]',
@@ -46,12 +49,15 @@
         #
         # They are required to succeed without Numpy for example when
         # pip is used to install Numexpr when Numpy is not yet present in
-        # the system. 
+        # the system.
         # (via https://github.com/abhirk/scikit-learn/blob/master/setup.py)
         try:
             from setuptools import setup
         except ImportError:
             from distutils.core import setup
+
+        metadata['name']    = 'numexpr'
+        metadata['version'] = version
     else:
         from numpy.distutils.core import setup
         from numpy.distutils.command.build_ext import build_ext as 
numpy_build_ext
@@ -147,7 +153,6 @@
             config.add_subpackage('tests', 'numexpr/tests')
 
             #version handling
-            config.make_svn_version_py()
             config.get_version('numexpr/version.py')
             return config
 


Reply via email to