Hello community,
here is the log from the commit of package python-scitools for
openSUSE:Leap:15.2 checked in at 2020-03-02 13:22:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-scitools (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-scitools.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-scitools"
Mon Mar 2 13:22:29 2020 rev:11 rq:777119 version:0.9.0
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-scitools/python-scitools.changes
2020-01-15 15:52:52.891578582 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-scitools.new.26092/python-scitools.changes
2020-03-02 13:22:30.398296874 +0100
@@ -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.jLpoW8/_old 2020-03-02 13:22:31.122298313 +0100
+++ /var/tmp/diff_new_pack.jLpoW8/_new 2020-03-02 13:22:31.126298322 +0100
@@ -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:Leap:15.2/python-scitools/scitools-0.9.0.tar.gz
/work/SRC/openSUSE:Leap:15.2/.python-scitools.new.26092/scitools-0.9.0.tar.gz
differ: char 4, line 1