Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-fann2 for openSUSE:Factory 
checked in at 2022-01-15 20:05:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-fann2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-fann2.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-fann2"

Sat Jan 15 20:05:20 2022 rev:3 rq:946658 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-fann2/python-fann2.changes        
2020-08-17 14:40:58.986597242 +0200
+++ /work/SRC/openSUSE:Factory/.python-fann2.new.1892/python-fann2.changes      
2022-01-15 20:05:39.269780272 +0100
@@ -1,0 +2,6 @@
+Sat Jan 15 16:06:05 UTC 2022 - Dirk M??ller <[email protected]>
+
+- update to 1.2.0:
+  * Make setup.py robust to looking for FANN libraries in PREFIX
+
+-------------------------------------------------------------------

Old:
----
  fann2-1.1.2.tar.gz

New:
----
  1.2.0.tar.gz

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

Other differences:
------------------
++++++ python-fann2.spec ++++++
--- /var/tmp/diff_new_pack.2Bb3av/_old  2022-01-15 20:05:39.705780612 +0100
+++ /var/tmp/diff_new_pack.2Bb3av/_new  2022-01-15 20:05:39.709780615 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-fann2
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-fann2
-Version:        1.1.2
+Version:        1.2.0
 Release:        0
 Summary:        Fast Artificial Neural Network Library (fann) bindings
 License:        LGPL-2.1-only
 Group:          Development/Languages/Python
-Url:            https://github.com/FutureLinkCorporation/fann2
-Source:         
https://files.pythonhosted.org/packages/source/f/fann2/fann2-%{version}.tar.gz
+URL:            https://github.com/FutureLinkCorporation/fann2
+Source:         
https://github.com/FutureLinkCorporation/fann2/archive/refs/tags/%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes

++++++ fann2-1.1.2.tar.gz -> 1.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fann2-1.1.2/.gitignore new/fann2-1.2.0/.gitignore
--- old/fann2-1.1.2/.gitignore  1970-01-01 01:00:00.000000000 +0100
+++ new/fann2-1.2.0/.gitignore  2020-06-04 17:36:30.000000000 +0200
@@ -0,0 +1,54 @@
+# Byte-compiled / optimized / DLL files
+__pycache__/
+*.py[cod]
+
+# C extensions
+*.so
+
+# Distribution / packaging
+.Python
+env/
+bin/
+build/
+develop-eggs/
+dist/
+eggs/
+lib/
+lib64/
+parts/
+sdist/
+var/
+*.egg-info/
+.installed.cfg
+*.egg
+
+# Installer logs
+pip-log.txt
+pip-delete-this-directory.txt
+
+# Unit test / coverage reports
+htmlcov/
+.tox/
+.coverage
+.cache
+nosetests.xml
+coverage.xml
+
+# Translations
+*.mo
+
+# Mr Developer
+.mr.developer.cfg
+.project
+.pydevproject
+
+# Rope
+.ropeproject
+
+# Django stuff:
+*.log
+*.pot
+
+# Sphinx documentation
+docs/_build/
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fann2-1.1.2/ChangeLog new/fann2-1.2.0/ChangeLog
--- old/fann2-1.1.2/ChangeLog   1970-01-01 01:00:00.000000000 +0100
+++ new/fann2-1.2.0/ChangeLog   2020-06-04 17:36:30.000000000 +0200
@@ -0,0 +1,39 @@
+=========
+CHANGELOG
+=========
+
+1.1.2 - 2017-12-07
+
+  * Fix badly placed return value for nested conditional under FANN libs 
search function. 
+  * Fixed indentation for raise function under for loop.
+
+1.1.1 - 2017-12-07
+
+  * Added '/usr/lib64' directory to FANN libs search function for setup.py.
+  * Removed unnecessary search block for FreeBSD specifics.
+  * Pylinted setup.py.
+
+1.1.0 - 2017-10-02
+
+  * Fixed build for Windows OS.
+  * Added Windows installation details to README.
+  * Added support for 2.7 - 3.6.
+  * Fixed functions that return arrays and functions that deal with 
"FANN::connection arrays". Patch by  @troiganto.
+  * Created wheel files for FreeBSD, Windows x64 & Linux (py27 & py36).
+
+1.0.7 - 2015-03-31
+
+  * Fixed build for ARM devices
+
+1.0.6 - 2015-03-30
+
+  * Fixed type/size checking for array of arrays (ksuszka/patch-1).
+  * Updated README.
+  * Added ChangeLog.
+
+1.0.0 - 2014-06-20
+
+  * Original python bindings included with FANN 2.1.0beta, updated to include
+    support for python 2.6-3.4.
+  * Added pypi package for these bindings.
+  * Added pkgsrc package for these bindings.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fann2-1.1.2/INSTALL new/fann2-1.2.0/INSTALL
--- old/fann2-1.1.2/INSTALL     1970-01-01 01:00:00.000000000 +0100
+++ new/fann2-1.2.0/INSTALL     2020-06-04 17:36:30.000000000 +0200
@@ -0,0 +1,17 @@
+INSTRUCTIONS
+
+
+PREREQUISITES
+^^^^^^^^^^^^^
+Make sure you can make and install the fann 2.2.0 library first. 
+You are required to have swig and python development files 
+installed. After you compiled the fann library...
+(http://sourceforge.net/projects/fann/files/fann/2.2.0/FANN-2.2.0-Source.zip/download)
+
+
+BUILDING AND INSTALLING USING DISTUTILS (second alternative)
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+run the following command
+
+# pip install pyfann
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fann2-1.1.2/PKG-INFO new/fann2-1.2.0/PKG-INFO
--- old/fann2-1.1.2/PKG-INFO    2017-12-08 16:17:47.000000000 +0100
+++ new/fann2-1.2.0/PKG-INFO    1970-01-01 01:00:00.000000000 +0100
@@ -1,161 +0,0 @@
-Metadata-Version: 1.1
-Name: fann2
-Version: 1.1.2
-Summary: Fast Artificial Neural Network Library (FANN) Python bindings.
-Home-page: https://github.com/FutureLinkCorporation/fann2
-Author: Gil Megidish, Vincenzo Di Massa and FutureLinkCorporation
-Author-email: [email protected] & hawk.it@tiscali,it and 
[email protected]
-License: GNU LESSER GENERAL PUBLIC LICENSE (LGPL)
-Description: ======
-        README
-        ======
-        
-        
-        fann2
-        =====
-        
-        Python bindings for Fast Artificial Neural Networks 2.2.0 (FANN >= 
2.2.0). These
-        are the original python bindings included with FANN 2.1.0 beta and 
updated to
-        include support for python 2.6-3.6.
-        
-        
-        DESCRIPTION
-        ===========
-        
-        This is a python binding for Fast Artificial Neural Network Library 
(FANN >=
-        2.2.0) that implements multi-layer artificial neural networks with 
support for
-        both fully-connected and sparsely-connected networks. It includes a 
framework
-        for easily handling training data sets. It is easy to use, versatile, 
well-
-        documented, and fast.
-        
-        FANN 2.2.0 source
-        -----------------
-        
-        - 
http://sourceforge.net/projects/fann/files/fann/2.2.0/FANN-2.2.0-Source.zip/download
-        
-        
-        INSTALLATION
-        ============
-        
-        You can install fann2 from pkgsrc or from pypi, using either pip or
-        easy_install:
-        
-        wheels
-        ------
-        
-            $ pip install ${wheel_file}
-        
-        
-        pypi
-        ----
-        
-        
-            $ pip install fann2
-            
-        
-        or
-        
-        
-            $ easy_install fann2
-        
-        pkgsrc
-        ------
-        
-        
-        Source installation
-        ...................
-        
-        Get and install pkgsrc. See `pkgsrc documentation
-        <http://pkgsrc.org/#index4h1>`_. for platform-specific information.
-        
-        cd ${PKGSRCDIR}/devel/py-fann2
-        
-        bmake install
-        
-        
-        From binaries
-        .............
-        
-        Get and install pkgsrc. See `pkgsrc quickstart
-        <http://pkgsrc.org/#index1h1>`_. for platform-specific information.
-        
-        pkgin -y install py-fann2
-        
-        Windows considerations
-        ----------------------
-        
-        Source installation
-        ...................
-        
-        - Install Visual C++ Build Tools;
-        - Install `FANN source code <https://github.com/libfann/fann>`_, using 
cmake;
-        - Copy "fanndouble.lib" from FANN installed files to 
${python_libs_directory} as "doublefann.lib";
-        - Install swig for Windows (you will need to set an Enviroment 
Variable for "swig.exe");
-        - Run > python setup.py install from PowerShell/Command Prompt.
-        
-        USAGE
-        =====
-        Just 
-        
-        
-            >> from fann2 import libfann 
-        
-        
-        and then create libfann.neural_net and libfann.training_data objects
-        
-        
-            >> ann = libfann.neural_net()
-            
-            >> train_data = libfann.training_data()
-        
-        
-        Look at the examples in the FANN documentation and its C++ bindings 
for further
-        reference.
-        
-        
-        LICENSE
-        =======
-        
-        As with the original python bindings, this package is distributed 
under the
-        terms of the GNU Lesser General Public License, Version 2.1. See 
LICENSE for
-        full terms and conditions.
-        
-        
-        LINKS
-        =====
-        
-        `fann2 on pypi
-        <https://pypi.python.org/pypi/fann2>`_.
-        
-        `py-fann2 in pkgsrc
-        <http://pkgsrc.se/devel/py-fann2>`_.
-        
-        `FANN
-        <http://leenissen.dk/fann/>`_.
-        
-        `pkgsrc
-        <http://pkgsrc.org/>`_.
-        
-        
-        CONTACT
-        =======
-        
-        Send us your patches and pull requests! We will release as often as 
these
-        changes are received and integrated. There's no reason to have 
countless
-        branches of this package. Consider this the official one and that it's 
being
-        maintained!
-        
-        The pkgsrc package is maintained by us as well. We are active users of 
FANN and
-        fann2. If you don't have or want a github account, send your patches 
for this
-        package or the pkgsrc version to [email protected].
-        
-Keywords: ANN,artificial,intelligence,FANN2.2.0,bindings
-Platform: UNKNOWN
-Classifier: Development Status :: 4 - Beta
-Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
-Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or 
later (LGPLv2+)
-Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Programming Language :: Python :: 3.4
-Classifier: Programming Language :: Python :: 3.5
-Classifier: Programming Language :: Python :: 3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fann2-1.1.2/fann2.egg-info/PKG-INFO 
new/fann2-1.2.0/fann2.egg-info/PKG-INFO
--- old/fann2-1.1.2/fann2.egg-info/PKG-INFO     2017-12-08 16:17:47.000000000 
+0100
+++ new/fann2-1.2.0/fann2.egg-info/PKG-INFO     1970-01-01 01:00:00.000000000 
+0100
@@ -1,161 +0,0 @@
-Metadata-Version: 1.1
-Name: fann2
-Version: 1.1.2
-Summary: Fast Artificial Neural Network Library (FANN) Python bindings.
-Home-page: https://github.com/FutureLinkCorporation/fann2
-Author: Gil Megidish, Vincenzo Di Massa and FutureLinkCorporation
-Author-email: [email protected] & hawk.it@tiscali,it and 
[email protected]
-License: GNU LESSER GENERAL PUBLIC LICENSE (LGPL)
-Description: ======
-        README
-        ======
-        
-        
-        fann2
-        =====
-        
-        Python bindings for Fast Artificial Neural Networks 2.2.0 (FANN >= 
2.2.0). These
-        are the original python bindings included with FANN 2.1.0 beta and 
updated to
-        include support for python 2.6-3.6.
-        
-        
-        DESCRIPTION
-        ===========
-        
-        This is a python binding for Fast Artificial Neural Network Library 
(FANN >=
-        2.2.0) that implements multi-layer artificial neural networks with 
support for
-        both fully-connected and sparsely-connected networks. It includes a 
framework
-        for easily handling training data sets. It is easy to use, versatile, 
well-
-        documented, and fast.
-        
-        FANN 2.2.0 source
-        -----------------
-        
-        - 
http://sourceforge.net/projects/fann/files/fann/2.2.0/FANN-2.2.0-Source.zip/download
-        
-        
-        INSTALLATION
-        ============
-        
-        You can install fann2 from pkgsrc or from pypi, using either pip or
-        easy_install:
-        
-        wheels
-        ------
-        
-            $ pip install ${wheel_file}
-        
-        
-        pypi
-        ----
-        
-        
-            $ pip install fann2
-            
-        
-        or
-        
-        
-            $ easy_install fann2
-        
-        pkgsrc
-        ------
-        
-        
-        Source installation
-        ...................
-        
-        Get and install pkgsrc. See `pkgsrc documentation
-        <http://pkgsrc.org/#index4h1>`_. for platform-specific information.
-        
-        cd ${PKGSRCDIR}/devel/py-fann2
-        
-        bmake install
-        
-        
-        From binaries
-        .............
-        
-        Get and install pkgsrc. See `pkgsrc quickstart
-        <http://pkgsrc.org/#index1h1>`_. for platform-specific information.
-        
-        pkgin -y install py-fann2
-        
-        Windows considerations
-        ----------------------
-        
-        Source installation
-        ...................
-        
-        - Install Visual C++ Build Tools;
-        - Install `FANN source code <https://github.com/libfann/fann>`_, using 
cmake;
-        - Copy "fanndouble.lib" from FANN installed files to 
${python_libs_directory} as "doublefann.lib";
-        - Install swig for Windows (you will need to set an Enviroment 
Variable for "swig.exe");
-        - Run > python setup.py install from PowerShell/Command Prompt.
-        
-        USAGE
-        =====
-        Just 
-        
-        
-            >> from fann2 import libfann 
-        
-        
-        and then create libfann.neural_net and libfann.training_data objects
-        
-        
-            >> ann = libfann.neural_net()
-            
-            >> train_data = libfann.training_data()
-        
-        
-        Look at the examples in the FANN documentation and its C++ bindings 
for further
-        reference.
-        
-        
-        LICENSE
-        =======
-        
-        As with the original python bindings, this package is distributed 
under the
-        terms of the GNU Lesser General Public License, Version 2.1. See 
LICENSE for
-        full terms and conditions.
-        
-        
-        LINKS
-        =====
-        
-        `fann2 on pypi
-        <https://pypi.python.org/pypi/fann2>`_.
-        
-        `py-fann2 in pkgsrc
-        <http://pkgsrc.se/devel/py-fann2>`_.
-        
-        `FANN
-        <http://leenissen.dk/fann/>`_.
-        
-        `pkgsrc
-        <http://pkgsrc.org/>`_.
-        
-        
-        CONTACT
-        =======
-        
-        Send us your patches and pull requests! We will release as often as 
these
-        changes are received and integrated. There's no reason to have 
countless
-        branches of this package. Consider this the official one and that it's 
being
-        maintained!
-        
-        The pkgsrc package is maintained by us as well. We are active users of 
FANN and
-        fann2. If you don't have or want a github account, send your patches 
for this
-        package or the pkgsrc version to [email protected].
-        
-Keywords: ANN,artificial,intelligence,FANN2.2.0,bindings
-Platform: UNKNOWN
-Classifier: Development Status :: 4 - Beta
-Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
-Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or 
later (LGPLv2+)
-Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.3
-Classifier: Programming Language :: Python :: 3.4
-Classifier: Programming Language :: Python :: 3.5
-Classifier: Programming Language :: Python :: 3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fann2-1.1.2/fann2.egg-info/SOURCES.txt 
new/fann2-1.2.0/fann2.egg-info/SOURCES.txt
--- old/fann2-1.1.2/fann2.egg-info/SOURCES.txt  2017-12-08 16:17:47.000000000 
+0100
+++ new/fann2-1.2.0/fann2.egg-info/SOURCES.txt  1970-01-01 01:00:00.000000000 
+0100
@@ -1,26 +0,0 @@
-LICENSE
-MANIFEST.in
-README.rst
-setup.py
-fann2/__init__.py
-fann2/fann2.i
-fann2/fann_cpp_subclass.h
-fann2.egg-info/PKG-INFO
-fann2.egg-info/SOURCES.txt
-fann2.egg-info/dependency_links.txt
-fann2.egg-info/not-zip-safe
-fann2.egg-info/top_level.txt
-include/compat_time.h
-include/config.h
-include/doublefann.h
-include/fann.h
-include/fann_activation.h
-include/fann_cascade.h
-include/fann_cpp.h
-include/fann_data.h
-include/fann_error.h
-include/fann_internal.h
-include/fann_io.h
-include/fann_train.h
-include/fixedfann.h
-include/floatfann.h
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fann2-1.1.2/fann2.egg-info/dependency_links.txt 
new/fann2-1.2.0/fann2.egg-info/dependency_links.txt
--- old/fann2-1.1.2/fann2.egg-info/dependency_links.txt 2017-12-08 
16:17:47.000000000 +0100
+++ new/fann2-1.2.0/fann2.egg-info/dependency_links.txt 1970-01-01 
01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-http://sourceforge.net/projects/fann/files/fann/2.2.0/FANN-2.2.0-Source.zip/download
-http://www.swig.org/download.html
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fann2-1.1.2/fann2.egg-info/not-zip-safe 
new/fann2-1.2.0/fann2.egg-info/not-zip-safe
--- old/fann2-1.1.2/fann2.egg-info/not-zip-safe 2017-12-08 16:17:47.000000000 
+0100
+++ new/fann2-1.2.0/fann2.egg-info/not-zip-safe 1970-01-01 01:00:00.000000000 
+0100
@@ -1 +0,0 @@
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fann2-1.1.2/fann2.egg-info/top_level.txt 
new/fann2-1.2.0/fann2.egg-info/top_level.txt
--- old/fann2-1.1.2/fann2.egg-info/top_level.txt        2017-12-08 
16:17:47.000000000 +0100
+++ new/fann2-1.2.0/fann2.egg-info/top_level.txt        1970-01-01 
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-fann2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fann2-1.1.2/setup.cfg new/fann2-1.2.0/setup.cfg
--- old/fann2-1.1.2/setup.cfg   2017-12-08 16:17:47.000000000 +0100
+++ new/fann2-1.2.0/setup.cfg   1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-[egg_info]
-tag_svn_revision = 0
-tag_date = 0
-tag_build = 
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/fann2-1.1.2/setup.py new/fann2-1.2.0/setup.py
--- old/fann2-1.1.2/setup.py    2017-12-07 20:02:19.000000000 +0100
+++ new/fann2-1.2.0/setup.py    2020-06-04 17:36:30.000000000 +0200
@@ -65,7 +65,7 @@
                     return True
         raise Exception("Couldn't find FANN source libs!")
     else:
-        dirs = ['/lib', '/usr/lib', '/usr/lib64', '/usr/local/lib', 
'/usr/pkg/lib']
+        dirs = [os.environ.get('PREFIX','')+'/lib','/lib', '/usr/lib', 
'/usr/lib64', '/usr/local/lib', '/usr/pkg/lib']
         for path in dirs:
             if os.path.isdir(path):
                 if find_x(path):

Reply via email to