commit python-unify for openSUSE:Factory

2020-05-19 Thread root
Hello community,

here is the log from the commit of package python-unify for openSUSE:Factory 
checked in at 2020-05-19 14:48:30

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


Package is "python-unify"

Tue May 19 14:48:30 2020 rev:5 rq:806962 version:0.5

Changes:

--- /work/SRC/openSUSE:Factory/python-unify/python-unify.changes
2019-09-11 10:35:00.563302915 +0200
+++ /work/SRC/openSUSE:Factory/.python-unify.new.2738/python-unify.changes  
2020-05-19 14:48:31.908076422 +0200
@@ -1,0 +2,5 @@
+Mon May 18 09:10:41 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-unify.spec ++
--- /var/tmp/diff_new_pack.uPBAVZ/_old  2020-05-19 14:48:32.720078211 +0200
+++ /var/tmp/diff_new_pack.uPBAVZ/_new  2020-05-19 14:48:32.724078220 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-unify
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -31,6 +31,8 @@
 BuildRequires:  python-rpm-macros
 Requires:   python-setuptools
 Requires:   python-untokenize
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:  noarch
 # SECTION test requirements
 BuildRequires:  %{python_module pytest}
@@ -59,11 +61,18 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 mv %{buildroot}%{_bindir}/unify %{buildroot}%{_bindir}/unify_quotes
+%python_clone -a %{buildroot}%{_bindir}/unify_quotes
+
+%post
+%python_install_alternative unify_quotes
+
+%postun
+%python_uninstall_alternative unify_quotes
 
 %files %{python_files}
 %license LICENSE
 %doc README.rst README.suse
-%python3_only %{_bindir}/unify_quotes
+%python_alternative %{_bindir}/unify_quotes
 %{python_sitelib}/*
 
 %changelog




commit python-unify for openSUSE:Factory

2019-09-11 Thread root
Hello community,

here is the log from the commit of package python-unify for openSUSE:Factory 
checked in at 2019-09-11 10:34:59

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


Package is "python-unify"

Wed Sep 11 10:34:59 2019 rev:4 rq:729741 version:0.5

Changes:

--- /work/SRC/openSUSE:Factory/python-unify/python-unify.changes
2019-06-06 18:16:31.236700114 +0200
+++ /work/SRC/openSUSE:Factory/.python-unify.new.7948/python-unify.changes  
2019-09-11 10:35:00.563302915 +0200
@@ -1,0 +2,7 @@
+Tue Sep 10 09:32:34 UTC 2019 - Tomáš Chvátal 
+
+- Update to 0.5:
+  * Provide license
+  * minor fixes
+
+---

Old:

  v0.4.tar.gz

New:

  v0.5.tar.gz



Other differences:
--
++ python-unify.spec ++
--- /var/tmp/diff_new_pack.udxIlc/_old  2019-09-11 10:35:01.055302773 +0200
+++ /var/tmp/diff_new_pack.udxIlc/_new  2019-09-11 10:35:01.063302771 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-unify
-Version:0.4
+Version:0.5
 Release:0
 Summary:Tool to modify strings to use the same quotes
 License:MIT
@@ -29,13 +29,13 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:   python-setuptools
 Requires:   python-untokenize
 BuildArch:  noarch
 # SECTION test requirements
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module untokenize}
 # /SECTION
-Requires:   python-setuptools
 %python_subpackages
 
 %description
@@ -61,6 +61,7 @@
 mv %{buildroot}%{_bindir}/unify %{buildroot}%{_bindir}/unify_quotes
 
 %files %{python_files}
+%license LICENSE
 %doc README.rst README.suse
 %python3_only %{_bindir}/unify_quotes
 %{python_sitelib}/*

++ v0.4.tar.gz -> v0.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unify-0.4/.pre-commit-hooks.yaml 
new/unify-0.5/.pre-commit-hooks.yaml
--- old/unify-0.4/.pre-commit-hooks.yaml1970-01-01 01:00:00.0 
+0100
+++ new/unify-0.5/.pre-commit-hooks.yaml2019-08-07 15:44:00.0 
+0200
@@ -0,0 +1,7 @@
+-   id: unify
+name: unify
+entry: unify
+language: python
+types: [python]
+require_serial: true
+args: ["--in-place"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unify-0.4/.travis.yml new/unify-0.5/.travis.yml
--- old/unify-0.4/.travis.yml   2017-11-21 04:07:22.0 +0100
+++ new/unify-0.5/.travis.yml   2019-08-07 15:44:00.0 +0200
@@ -2,7 +2,6 @@
 
 python:
 - "2.7"
-- "3.3"
 - "3.4"
 - "3.5"
 - "3.6"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unify-0.4/LICENSE new/unify-0.5/LICENSE
--- old/unify-0.4/LICENSE   1970-01-01 01:00:00.0 +0100
+++ new/unify-0.5/LICENSE   2019-08-07 15:44:00.0 +0200
@@ -0,0 +1,19 @@
+Copyright (C) 2013-2018 Steven Myint
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unify-0.4/MANIFEST.in new/unify-0.5/MANIFEST.in
--- old/unify-0.4/MANIFEST.in   2017-11-21 04:07:22.0 +0100
+++ new/unify-0.5/MANIFEST.in   2019-08-07 15:44:00.0 +0200
@@ -1 +1,2 @@
+include LICENSE
 include README.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/unify-0.4/Makefile new/unify-0.5/Makefile
--- old/unify-0.4/Makefile  2017-11-21 04:07:22.0 +0100
+++ new/unify-0.5/Makefil

commit python-unify for openSUSE:Factory

2019-06-06 Thread root
Hello community,

here is the log from the commit of package python-unify for openSUSE:Factory 
checked in at 2019-06-06 18:16:29

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


Package is "python-unify"

Thu Jun  6 18:16:29 2019 rev:3 rq:707166 version:0.4

Changes:

--- /work/SRC/openSUSE:Factory/python-unify/python-unify.changes
2018-12-24 11:45:35.449228825 +0100
+++ /work/SRC/openSUSE:Factory/.python-unify.new.4811/python-unify.changes  
2019-06-06 18:16:31.236700114 +0200
@@ -1,0 +2,5 @@
+Mon Jun  3 11:36:19 UTC 2019 - pgaj...@suse.com
+
+- run the testsuite, call spec-cleaner
+
+---

Old:

  unify-0.4.tar.gz

New:

  v0.4.tar.gz



Other differences:
--
++ python-unify.spec ++
--- /var/tmp/diff_new_pack.FgW6sP/_old  2019-06-06 18:16:32.120699855 +0200
+++ /var/tmp/diff_new_pack.FgW6sP/_new  2019-06-06 18:16:32.124699854 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-unify
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -23,18 +23,19 @@
 Summary:Tool to modify strings to use the same quotes
 License:MIT
 Group:  Development/Languages/Python
-Url:https://github.com/myint/unify
-Source: 
https://files.pythonhosted.org/packages/source/u/unify/unify-%{version}.tar.gz
+URL:https://github.com/myint/unify
+Source: https://github.com/myint/unify/archive/v%{version}.tar.gz
 Source9:README.suse
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:   python-untokenize
+BuildArch:  noarch
 # SECTION test requirements
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module untokenize}
 # /SECTION
-Requires:   python-untokenize
-BuildArch:  noarch
-
+Requires:   python-setuptools
 %python_subpackages
 
 %description
@@ -51,6 +52,9 @@
 %build
 %python_build
 
+%check
+%pytest
+
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}




commit python-unify for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-unify for openSUSE:Factory 
checked in at 2018-12-24 11:45:34

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


Package is "python-unify"

Mon Dec 24 11:45:34 2018 rev:2 rq:659733 version:0.4

Changes:

--- /work/SRC/openSUSE:Factory/python-unify/python-unify.changes
2018-06-19 12:01:31.542794378 +0200
+++ /work/SRC/openSUSE:Factory/.python-unify.new.28833/python-unify.changes 
2018-12-24 11:45:35.449228825 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:55:36 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-unify.spec ++
--- /var/tmp/diff_new_pack.L4PAXu/_old  2018-12-24 11:45:36.329228045 +0100
+++ /var/tmp/diff_new_pack.L4PAXu/_new  2018-12-24 11:45:36.333228042 +0100
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -26,7 +26,6 @@
 Url:https://github.com/myint/unify
 Source: 
https://files.pythonhosted.org/packages/source/u/unify/unify-%{version}.tar.gz
 Source9:README.suse
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros