commit python-pymetar for openSUSE:Factory

2020-05-26 Thread root
Hello community,

here is the log from the commit of package python-pymetar for openSUSE:Factory 
checked in at 2020-05-26 17:18:41

Comparing /work/SRC/openSUSE:Factory/python-pymetar (Old)
 and  /work/SRC/openSUSE:Factory/.python-pymetar.new.2738 (New)


Package is "python-pymetar"

Tue May 26 17:18:41 2020 rev:9 rq:807686 version:1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pymetar/python-pymetar.changes
2019-09-17 13:37:17.633843961 +0200
+++ /work/SRC/openSUSE:Factory/.python-pymetar.new.2738/python-pymetar.changes  
2020-05-26 17:19:06.147946702 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:36 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-pymetar.spec ++
--- /var/tmp/diff_new_pack.2sKiW4/_old  2020-05-26 17:19:06.967948464 +0200
+++ /var/tmp/diff_new_pack.2sKiW4/_new  2020-05-26 17:19:06.967948464 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pymetar
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2012 Malcolm J Lewis 
 #
 # All modifications and additions to the file contributed by third parties
@@ -32,6 +32,8 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 Obsoletes:  %{oldpython}-%{modname}
 BuildArch:  noarch
 %python_subpackages
@@ -48,6 +50,8 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_mandir}/man1/%{modname}.1
+%python_clone -a %{buildroot}%{_bindir}/%{modname}
 # we install docs on our own
 rm -r %{buildroot}%{_datadir}/doc/
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -59,11 +63,17 @@
 ./runtests.sh
 cd -
 
+%post
+%python_install_alternative %{modname} %{modname}.1
+
+%postun
+%python_uninstall_alternative %{modname} %{modname}.1
+
 %files %{python_files}
 %doc README.md
 %license COPYING
-%python3_only %{_bindir}/%{modname}
+%python_alternative %{_bindir}/%{modname}
 %{python_sitelib}/*
-%python3_only %{_mandir}/man1/%{modname}.1%{?ext_man}
+%python_alternative %{_mandir}/man1/%{modname}.1%{?ext_man}
 
 %changelog




commit python-pymetar for openSUSE:Factory

2019-09-17 Thread root
Hello community,

here is the log from the commit of package python-pymetar for openSUSE:Factory 
checked in at 2019-09-17 13:37:16

Comparing /work/SRC/openSUSE:Factory/python-pymetar (Old)
 and  /work/SRC/openSUSE:Factory/.python-pymetar.new.7948 (New)


Package is "python-pymetar"

Tue Sep 17 13:37:16 2019 rev:8 rq:730457 version:1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pymetar/python-pymetar.changes
2015-05-16 19:01:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pymetar.new.7948/python-pymetar.changes  
2019-09-17 13:37:17.633843961 +0200
@@ -1,0 +2,14 @@
+Thu Sep 12 18:10:26 UTC 2019 - Tomáš Chvátal 
+
+- Fix obsoletion and migration from version 0.20
+
+---
+Wed Jun 19 14:14:29 UTC 2019 - Marketa Calabkova 
+
+- 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.yMgqmz/_old  2019-09-17 13:37:18.561843813 +0200
+++ /var/tmp/diff_new_pack.yMgqmz/_new  2019-09-17 13:37:18.565843812 +0200
@@ -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 
 #
 # 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)




commit python-pymetar for openSUSE:Factory

2015-05-16 Thread h_root
Hello community,

here is the log from the commit of package python-pymetar for openSUSE:Factory 
checked in at 2015-05-16 19:01:45

Comparing /work/SRC/openSUSE:Factory/python-pymetar (Old)
 and  /work/SRC/openSUSE:Factory/.python-pymetar.new (New)


Package is "python-pymetar"

Changes:

--- /work/SRC/openSUSE:Factory/python-pymetar/python-pymetar.changes
2012-04-03 09:20:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pymetar.new/python-pymetar.changes   
2015-05-16 19:01:46.0 +0200
@@ -1,0 +2,7 @@
+Mon May 11 16:39:38 UTC 2015 - benoit.mo...@gmx.fr
+
+- update to version 0.20:
+  * no changelog available
+- remove notice about FSF address: fixed upstream
+
+---

Old:

  pymetar-0.19.tar.gz

New:

  pymetar-0.20.tar.gz



Other differences:
--
++ python-pymetar.spec ++
--- /var/tmp/diff_new_pack.RGFeDu/_old  2015-05-16 19:01:47.0 +0200
+++ /var/tmp/diff_new_pack.RGFeDu/_new  2015-05-16 19:01:47.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pymetar
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2012 Malcolm J Lewis 
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,19 +17,16 @@
 #
 
 
-#FIXME: Email sent 24th Jan 2012 to developer to request updating FSF
-#   address in next release.
-
 %define modname pymetar
 
 Name:   python-%{modname}
-Version:0.19
+Version:0.20
 Release:0
 Summary:METAR weather report parser
 License:GPL-2.0+
 Group:  Development/Languages/Python
 Url:http://www.schwarzvogel.de/software-pymetar.shtml
-Source0:http://www.schwarzvogel.de/pkgs/pymetar-0.19.tar.gz
+Source0:http://www.schwarzvogel.de/pkgs/pymetar-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}

++ pymetar-0.19.tar.gz -> pymetar-0.20.tar.gz ++
 1621 lines of diff (skipped)




commit python-pymetar for openSUSE:Factory

2012-04-03 Thread h_root
Hello community,

here is the log from the commit of package python-pymetar for openSUSE:Factory 
checked in at 2012-04-03 09:20:16

Comparing /work/SRC/openSUSE:Factory/python-pymetar (Old)
 and  /work/SRC/openSUSE:Factory/.python-pymetar.new (New)


Package is "python-pymetar", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/python-pymetar/python-pymetar.changes
2012-02-17 12:09:03.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pymetar.new/python-pymetar.changes   
2012-04-03 09:20:34.0 +0200
@@ -1,0 +2,11 @@
+Fri Mar 30 13:14:36 UTC 2012 - malcolmle...@opensuse.org
+
+- Update to version 0.19:
+  + Fix COPYING, make man page installable.
+  + More GPL fixes and single-char-obj cleanup.
+  + Typo-fix & regenerate man page and HTML.
+  + Fix RE bug in condition extraction code.
+  + Add test for sky conditions.
+- Drop python-pymetar-add-manpage.patch as fix upstreamed.
+
+---

Old:

  pymetar-0.18.tar.gz
  python-pymetar-add-manpage.patch

New:

  pymetar-0.19.tar.gz



Other differences:
--
++ python-pymetar.spec ++
--- /var/tmp/diff_new_pack.RPDRvS/_old  2012-04-03 09:20:36.0 +0200
+++ /var/tmp/diff_new_pack.RPDRvS/_new  2012-04-03 09:20:36.0 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package pymetar
+# spec file for package python-pymetar
 #
 # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2012 Malcolm J Lewis 
@@ -16,21 +16,20 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 #FIXME: Email sent 24th Jan 2012 to developer to request updating FSF
 #   address in next release.
 
 %define modname pymetar
 
 Name:   python-%{modname}
-Version:0.18
+Version:0.19
 Release:0
-License:GPL-2.0+
 Summary:METAR weather report parser
-Url:http://www.schwarzvogel.de/software-pymetar.shtml
+License:GPL-2.0+
 Group:  Development/Languages/Python
-Source0:http://www.schwarzvogel.de/pkgs/pymetar-0.18.tar.gz
-# PATCH-FIX-UPSTREAM python-pymetar-add-manpage.patch 
malcolmle...@opensuse.org -- Add man page install in setup.py.
-Patch0: python-pymetar-add-manpage.patch
+Url:http://www.schwarzvogel.de/software-pymetar.shtml
+Source0:http://www.schwarzvogel.de/pkgs/pymetar-0.19.tar.gz
 BuildRequires:  python-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}
@@ -47,7 +46,6 @@
 
 %prep
 %setup -q -n %{modname}-%{version}
-%patch0 -p1
 
 %build
 python setup.py build

++ pymetar-0.18.tar.gz -> pymetar-0.19.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pymetar-0.18/COPYING new/pymetar-0.19/COPYING
--- old/pymetar-0.18/COPYING2011-01-22 17:36:12.0 +0100
+++ new/pymetar-0.19/COPYING2012-01-25 15:00:24.0 +0100
@@ -2,8 +2,8 @@
Version 2, June 1991
 
  Copyright (C) 1989, 1991 Free Software Foundation, Inc.
-  59 Temple Place, Suite 330
-  Boston, MA 02111-1307, USA.
+  51 Franklin Street, Fifth Floor,
+  Boston, MA 02110-1301, USA.
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pymetar-0.18/PKG-INFO new/pymetar-0.19/PKG-INFO
--- old/pymetar-0.18/PKG-INFO   2011-10-30 12:59:06.0 +0100
+++ new/pymetar-0.19/PKG-INFO   2012-03-30 11:53:22.0 +0200
@@ -1,7 +1,7 @@
 Metadata-Version: 1.0
 Name: pymetar
-Version: 0.18
-Summary: Pymetar v0.18 (c) 2002-2011 Tobias Klausmann
+Version: 0.19
+Summary: Pymetar (c) 2002-2012 Tobias Klausmann
 
 Pymetar is a python module and command line tool designed to fetch Metar
 reports from the NOAA (http://www.noaa.gov) and allow access to the
@@ -19,9 +19,7 @@
 
 You should have received a copy of the GNU General Public License along
 with this program; if not, write to the Free Software Foundation, Inc.,
-59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
-
-Please e-mail bugs to: klausman-pyme...@schwarzvogel.de
+51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 Home-page: http://www.schwarzvogel.de/software-pymetar.shtml
 Author: Tobias Klausmann
 Author-email: klausman-pyme...@schwarzvogel.de
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pymetar-0.18/librarydoc.txt 
new/pymetar-0.19/librarydoc.txt
--- old/pymetar-0.18/librarydoc.txt 2011-10-30 12:53:35.0