Hello community,

here is the log from the commit of package python-scitools for openSUSE:Factory 
checked in at 2018-06-19 12:02:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-scitools (Old)
 and      /work/SRC/openSUSE:Factory/.python-scitools.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-scitools"

Tue Jun 19 12:02:01 2018 rev:3 rq:616897 version:0.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-scitools/python-scitools.changes  
2013-10-17 17:46:23.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-scitools.new/python-scitools.changes     
2018-06-19 12:02:04.821558771 +0200
@@ -1,0 +2,11 @@
+Thu Jun 14 15:25:55 UTC 2018 - [email protected]
+
+- Ckean up SPEC file. Unfortunately, test suite still doesn't work for
+  me.
+
+-------------------------------------------------------------------
+Thu Aug 24 13:54:16 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -49,0 +61 @@
+

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

Other differences:
------------------
++++++ python-scitools.spec ++++++
--- /var/tmp/diff_new_pack.m56qal/_old  2018-06-19 12:02:06.881482289 +0200
+++ /var/tmp/diff_new_pack.m56qal/_new  2018-06-19 12:02:06.885482140 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-scitools
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -16,22 +16,27 @@
 #
 
 
-Name:           python-scitools
+%define skip_python3 1
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define modname scitools
+
+Name:           python-%{modname}
 Version:        0.9.0
 Release:        0
 Summary:        A Python package containing lots of useful tools for scientific
-License:        BSD-3-Clause and GPL-2.0+
+License:        BSD-3-Clause AND GPL-2.0-or-later
 Group:          Development/Libraries/Python
-Url:            http://code.google.com/p/scitools/          
-Source0:        http://scitools.googlecode.com/files/scitools-%{version}.tar.gz
-BuildRequires:  python-devel
-Requires:       python-numpy
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if  0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
-%else
+URL:            https://github.com/hplgit/scitools
+Source0:        
https://github.com/hplgit/%{modname}/archive/%{modname}-%{version}.tar.gz
 BuildArch:      noarch
-%endif
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module matplotlib}
+BuildRequires:  fdupes
+BuildRequires:  gnuplot
+BuildRequires:  python-rpm-macros
+Requires:       python-numpy
+%python_subpackages
 
 %description
 SciTools is a Python package containing lots of useful tools for
@@ -40,21 +45,22 @@
 etc. 
 
 %prep
-%setup -q -n scitools-%{version}
+%setup -q -n %{modname}-%{modname}-%{version}
 
 %build
-python setup.py build
+%python_build
 find . -name "*.py" -exec sed -i "/#!\/usr\/bin.*/d" {} \;
 
 %install
-python setup.py install --root %{buildroot} --prefix=%{_prefix} 
--easyviz_backend matplotlib
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%files
-%defattr(-,root,root)
-%doc ChangeLog README LICENSE
+%files %{python_files}
+%license LICENSE
+%doc ChangeLog README
 %{_bindir}/scitools
-%{_mandir}/man1/scitools.1.gz
+%{_mandir}/man1/scitools.1%{?ext_man}
 %{python_sitelib}/scitools/
-%{python_sitelib}/SciTools-%{version}-py%{py_ver}.egg-info
+%{python_sitelib}/SciTools-%{version}-py%{python_version}.egg-info
 
 %changelog

++++++ scitools-0.9.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-scitools/scitools-0.9.0.tar.gz 
/work/SRC/openSUSE:Factory/.python-scitools.new/scitools-0.9.0.tar.gz differ: 
char 4, line 1


Reply via email to