commit python-pycha for openSUSE:Leap:15.2

2020-05-21 Thread root
Hello community,

here is the log from the commit of package python-pycha for openSUSE:Leap:15.2 
checked in at 2020-05-21 12:59:46

Comparing /work/SRC/openSUSE:Leap:15.2/python-pycha (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.python-pycha.new.2738 (New)


Package is "python-pycha"

Thu May 21 12:59:46 2020 rev:12 rq:807811 version:0.8.1

Changes:

--- /work/SRC/openSUSE:Leap:15.2/python-pycha/python-pycha.changes  
2020-03-02 13:20:38.166073868 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-pycha.new.2738/python-pycha.changes
2020-05-21 13:00:04.954892157 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:19 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-pycha.spec ++
--- /var/tmp/diff_new_pack.BNYnZA/_old  2020-05-21 13:00:05.358893037 +0200
+++ /var/tmp/diff_new_pack.BNYnZA/_new  2020-05-21 13:00:05.362893045 +0200
@@ -23,18 +23,20 @@
 Summary:A library for making charts with Python
 License:LGPL-3.0-or-later
 Group:  Development/Languages/Python
-URL:http://bitbucket.org/lgs/pycha/
+URL:https://bitbucket.org/lgs/pycha/
 Source: 
https://files.pythonhosted.org/packages/source/p/pycha/pycha-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-cairocffi
 Requires:   python-six
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+BuildArch:  noarch
 # SECTION test requirements
 BuildRequires:  %{python_module cairocffi}
 BuildRequires:  %{python_module six}
 # /SECTION
-BuildArch:  noarch
 %python_subpackages
 
 %description
@@ -52,12 +54,19 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/chavier
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%post
+%python_install_alternative chavier
+
+%postun
+%python_uninstall_alternative chavier
+
 %files %{python_files}
 %doc README.txt CHANGES.txt AUTHORS
 %license COPYING
 %{python_sitelib}/*
-%python3_only %{_bindir}/chavier
+%python_alternative %{_bindir}/chavier
 
 %changelog




commit python-pycha for openSUSE:Leap:15.2

2020-03-02 Thread root
Hello community,

here is the log from the commit of package python-pycha for openSUSE:Leap:15.2 
checked in at 2020-03-02 13:20:37

Comparing /work/SRC/openSUSE:Leap:15.2/python-pycha (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.python-pycha.new.26092 (New)


Package is "python-pycha"

Mon Mar  2 13:20:37 2020 rev:11 rq:776958 version:0.8.1

Changes:

--- /work/SRC/openSUSE:Leap:15.2/python-pycha/python-pycha.changes  
2020-01-15 15:51:49.455542221 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-pycha.new.26092/python-pycha.changes   
2020-03-02 13:20:38.166073868 +0100
@@ -1,0 +2,17 @@
+Thu Jan 30 15:16:25 UTC 2020 - Todd R 
+
+- Update to 0.8.1
+  * Forgot to update Changelog for 0.8.0
+- Update to 0.8.0
+  * Add support for Python 3 by encukou
+  * Add support for Tox, Pyflakes, Coverage and Buildbucket pipelines
+  * Remove support for Buildout
+
+---
+Wed Apr  3 03:55:04 UTC 2019 - John Vandenberg 
+
+- Fix fdupes to avoid python3 package egg-info being symlinks into
+  the python2 package which may not be installed.
+- Use %license
+
+---

Old:

  pycha-0.7.0.tar.gz

New:

  pycha-0.8.1.tar.gz



Other differences:
--
++ python-pycha.spec ++
--- /var/tmp/diff_new_pack.D9Pi1x/_old  2020-03-02 13:20:38.510074550 +0100
+++ /var/tmp/diff_new_pack.D9Pi1x/_new  2020-03-02 13:20:38.510074550 +0100
@@ -1,9 +1,7 @@
 #
 # spec file for package python-pycha
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2016 Dr. Axel Braun
-# Copyright (c) 2017 Oliver Kurz
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -14,25 +12,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/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-
-%define mod_name pycha
 Name:   python-pycha
-Version:0.7.0
+Version:0.8.1
 Release:0
 Summary:A library for making charts with Python
-License:LGPL-3.0+
+License:LGPL-3.0-or-later
 Group:  Development/Languages/Python
-Url:http://bitbucket.org/lgs/%{mod_name}/
-Source: 
https://pypi.io/packages/source/p/%{mod_name}/%{mod_name}-%{version}.tar.gz
+URL:http://bitbucket.org/lgs/pycha/
+Source: 
https://files.pythonhosted.org/packages/source/p/pycha/pycha-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  python-rpm-macros
 BuildRequires:  fdupes
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  python-rpm-macros
+Requires:   python-cairocffi
+Requires:   python-six
+# SECTION test requirements
+BuildRequires:  %{python_module cairocffi}
+BuildRequires:  %{python_module six}
+# /SECTION
 BuildArch:  noarch
 %python_subpackages
 
@@ -44,18 +45,18 @@
 web programming. Pycha was developed for the server side.
 
 %prep
-%setup -q -n %{mod_name}-%{version}
+%setup -q -n pycha-%{version}
 
 %build
 %python_build
 
 %install
 %python_install
-%fdupes -s %{buildroot}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc COPYING README.txt CHANGES.txt AUTHORS
+%doc README.txt CHANGES.txt AUTHORS
+%license COPYING
 %{python_sitelib}/*
 %python3_only %{_bindir}/chavier
 

++ pycha-0.7.0.tar.gz -> pycha-0.8.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycha-0.7.0/CHANGES.txt new/pycha-0.8.1/CHANGES.txt
--- old/pycha-0.7.0/CHANGES.txt 2013-04-07 20:47:07.0 +0200
+++ new/pycha-0.8.1/CHANGES.txt 2019-11-18 07:45:36.0 +0100
@@ -1,6 +1,16 @@
 Changes
 ===
 
+0.8.1 (2019-11-17)
+-
+- Forgot to update Changelog for 0.8.0
+
+0.8.0 (2019-11-17)
+-
+- Add support for Python 3 by encukou
+- Add support for Tox, Pyflakes, Coverage and Buildbucket pipelines
+- Remove support for Buildout
+
 0.7.0 (2012-04-07)
 --
 - Radial Chart by Roberto Garcia Carvajal
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycha-0.7.0/PKG-INFO new/pycha-0.8.1/PKG-INFO
--- old/pycha-0.7.0/PKG-INFO2013-04-07 20:55:50.0 +0200
+++ new/pycha-0.8.1/PKG-INFO2019-11-18 07:47:15.0 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 1.0