Hello community,
here is the log from the commit of package python-pymetar for
openSUSE:Leap:15.2 checked in at 2020-03-02 13:21:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-pymetar (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-pymetar.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pymetar"
Mon Mar 2 13:21:07 2020 rev:11 rq:776989 version:1.1
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-pymetar/python-pymetar.changes
2020-01-15 15:52:01.839549320 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-pymetar.new.26092/python-pymetar.changes
2020-03-02 13:21:07.998133050 +0100
@@ -1,0 +2,14 @@
+Thu Sep 12 18:10:26 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Fix obsoletion and migration from version 0.20
+
+-------------------------------------------------------------------
+Wed Jun 19 14:14:29 UTC 2019 - Marketa Calabkova <[email protected]>
+
+- update to version 1.1
+ * Python 3 only
+ * Use HTTPS when possible
+ * Fix URLs and shebangs
+ * Fix a dash being misinterpreted
+
+-------------------------------------------------------------------
Old:
----
pymetar-0.20.tar.gz
New:
----
pymetar-1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pymetar.spec ++++++
--- /var/tmp/diff_new_pack.ChZt3Y/_old 2020-03-02 13:21:08.334133717 +0100
+++ /var/tmp/diff_new_pack.ChZt3Y/_new 2020-03-02 13:21:08.338133725 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pymetar
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Malcolm J Lewis <[email protected]>
#
# All modifications and additions to the file contributed by third parties
@@ -13,29 +13,28 @@
# 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/
#
%define modname pymetar
-
+%define oldpython python
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
Name: python-%{modname}
-Version: 0.20
+Version: 1.1
Release: 0
Summary: METAR weather report parser
-License: GPL-2.0+
+License: GPL-2.0-or-later
Group: Development/Languages/Python
-Url: http://www.schwarzvogel.de/software-pymetar.shtml
+URL: https://www.schwarzvogel.de/software-pymetar.shtml
Source0: http://www.schwarzvogel.de/pkgs/pymetar-%{version}.tar.gz
-BuildRequires: python-devel
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version}
-%py_requires
-%if 0%{?suse_version} > 1110
+BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
+Obsoletes: %{oldpython}-%{modname}
BuildArch: noarch
-%endif
-%endif
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%python_subpackages
%description
This library downloads the weather report for a given station ID, decodes
@@ -45,17 +44,26 @@
%setup -q -n %{modname}-%{version}
%build
-python setup.py build
+%python_build
%install
-python setup.py install -O1 --skip-build --prefix=%{_prefix}
--root=%{buildroot}
-
-%files
-%defattr(-,root,root)
-%{_bindir}/%{modname}
-%{python_sitelib}/%{modname}.*
-%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info
-%{_datadir}/doc/%{modname}-%{version}/
-%{_mandir}/man1/%{modname}.1%{?ext_man}
+%python_install
+# we install docs on our own
+rm -r %{buildroot}%{_datadir}/doc/
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+
+%check
+cd testing/smoketest/
+tar -xf reports.tgz
+mkdir logs
+./runtests.sh
+cd -
+
+%files %{python_files}
+%doc README.md
+%license COPYING
+%python3_only %{_bindir}/%{modname}
+%{python_sitelib}/*
+%python3_only %{_mandir}/man1/%{modname}.1%{?ext_man}
%changelog
++++++ pymetar-0.20.tar.gz -> pymetar-1.1.tar.gz ++++++
++++ 4112 lines of diff (skipped)