commit python-jaraco.logging for openSUSE:Factory

2020-04-19 Thread root
Hello community,

here is the log from the commit of package python-jaraco.logging for 
openSUSE:Factory checked in at 2020-04-19 21:39:36

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


Package is "python-jaraco.logging"

Sun Apr 19 21:39:36 2020 rev:3 rq:784210 version:3.0.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-jaraco.logging/python-jaraco.logging.changes  
2019-03-04 09:21:26.868589401 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jaraco.logging.new.2738/python-jaraco.logging.changes
2020-04-19 21:39:41.194903034 +0200
@@ -1,0 +2,6 @@
+Mon Mar  9 14:19:58 UTC 2020 - Marketa Calabkova 
+
+- Update to 3.0.0
+  * Require Python 3.6 or later.
+
+---

Old:

  jaraco.logging-2.0.tar.gz

New:

  jaraco.logging-3.0.0.tar.gz



Other differences:
--
++ python-jaraco.logging.spec ++
--- /var/tmp/diff_new_pack.R6eEMX/_old  2020-04-19 21:39:41.734904117 +0200
+++ /var/tmp/diff_new_pack.R6eEMX/_new  2020-04-19 21:39:41.738904125 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jaraco.logging
 #
-# 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
@@ -17,27 +17,25 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 Name:   python-jaraco.logging
-Version:2.0
+Version:3.0.0
 Release:0
 Summary:Tools to work with logging
 License:MIT
 Group:  Development/Languages/Python
-Url:https://github.com/jaraco/jaraco.logging
+URL:https://github.com/jaraco/jaraco.logging
 Source0:
https://files.pythonhosted.org/packages/source/j/jaraco.logging/jaraco.logging-%{version}.tar.gz
 BuildRequires:  %{python_module jaraco.base >= 6.1}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module six}
 BuildRequires:  %{python_module tempora}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:   python-jaraco.base >= 6.1
-Requires:   python-six
 Requires:   python-tempora
 BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -46,6 +44,7 @@
 %prep
 %setup -q -n jaraco.logging-%{version}
 sed -i 's/--flake8//' pytest.ini
+sed -i 's/--black --cov//' pytest.ini
 rm -rf jaraco.logging.egg-info
 
 %build
@@ -62,9 +61,7 @@
 }
 
 %check
-%{python_expand py.test-%{$python_bin_suffix} \
-  --ignore=_build.python2 --ignore=_build.python3
-}
+%pytest
 
 %files %{python_files}
 %license LICENSE

++ jaraco.logging-2.0.tar.gz -> jaraco.logging-3.0.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.logging-2.0/.coveragerc 
new/jaraco.logging-3.0.0/.coveragerc
--- old/jaraco.logging-2.0/.coveragerc  1970-01-01 01:00:00.0 +0100
+++ new/jaraco.logging-3.0.0/.coveragerc2019-12-20 06:06:04.0 
+0100
@@ -0,0 +1,5 @@
+[run]
+omit = .tox/*
+
+[report]
+show_missing = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.logging-2.0/.flake8 
new/jaraco.logging-3.0.0/.flake8
--- old/jaraco.logging-2.0/.flake8  2019-01-01 16:59:21.0 +0100
+++ new/jaraco.logging-3.0.0/.flake82019-12-20 06:06:04.0 +0100
@@ -1,8 +1,9 @@
 [flake8]
+max-line-length = 88
 ignore =
-   # Allow tabs for indentation
-   W191
# W503 violates spec https://github.com/PyCQA/pycodestyle/issues/513
W503
# W504 has issues 
https://github.com/OCA/maintainer-quality-tools/issues/545
W504
+   # Black creates whitespace before colon
+   E203
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.logging-2.0/.pre-commit-config.yaml 
new/jaraco.logging-3.0.0/.pre-commit-config.yaml
--- old/jaraco.logging-2.0/.pre-commit-config.yaml  1970-01-01 
01:00:00.0 +0100
+++ new/jaraco.logging-3.0.0/.pre-commit-config.yaml2019-12-20 
06:06:04.0 +0100
@@ -0,0 +1,5 @@
+repos:
+- repo: https://github.com/psf/black
+  rev: 19.3b0
+  hooks:
+  - id: black
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.logging-2.0/.travis.yml 
new/jaraco.logging-3.0.0/.travis.yml
--- old/jaraco.logging-2.0/.travis.yml  2019-01-01 16:59:21.0 +0100
+++ new/jaraco.logging-3.0.0/.travis.yml   

commit python-jaraco.logging for openSUSE:Factory

2019-03-04 Thread root
Hello community,

here is the log from the commit of package python-jaraco.logging for 
openSUSE:Factory checked in at 2019-03-04 09:21:22

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


Package is "python-jaraco.logging"

Mon Mar  4 09:21:22 2019 rev:2 rq:679743 version:2.0

Changes:

--- 
/work/SRC/openSUSE:Factory/python-jaraco.logging/python-jaraco.logging.changes  
2018-09-24 13:11:07.109933455 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jaraco.logging.new.28833/python-jaraco.logging.changes
   2019-03-04 09:21:26.868589401 +0100
@@ -1,0 +2,12 @@
+Tue Feb 26 07:01:40 UTC 2019 - John Vandenberg 
+
+- Add LICENSE
+- Remove bcond_with test, allowing tests suite to run
+- Compile manually due to switch to pkgutil namespace technique
+- Remove undesirable build dependencies pytest-flake8, pytest-sugar &
+  collective.checkdocs
+- Add missing runtime dependencies on python-jaraco.base, six & tempora
+- Update from v1.5.2 to v2.0
+  * Switch to pkgutil namespace technique for the ``jaraco`` namespace.
+
+---

Old:

  jaraco.logging-1.5.2.tar.gz

New:

  jaraco.logging-2.0.tar.gz



Other differences:
--
++ python-jaraco.logging.spec ++
--- /var/tmp/diff_new_pack.fKzV9r/_old  2019-03-04 09:21:27.320589320 +0100
+++ /var/tmp/diff_new_pack.fKzV9r/_new  2019-03-04 09:21:27.320589320 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jaraco.logging
 #
-# 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
@@ -12,33 +12,30 @@
 # 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-%{**}}
-%bcond_with test
 Name:   python-jaraco.logging
-Version:1.5.2
+Version:2.0
 Release:0
 Summary:Tools to work with logging
 License:MIT
 Group:  Development/Languages/Python
 Url:https://github.com/jaraco/jaraco.logging
 Source0:
https://files.pythonhosted.org/packages/source/j/jaraco.logging/jaraco.logging-%{version}.tar.gz
-BuildRequires:  %{python_module base}
-BuildRequires:  %{python_module jaraco.base}
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module setuptools_scm}
-BuildRequires:  python-rpm-macros
-%if %{with test}
-BuildRequires:  %{python_module pytest-sugar}
-BuildRequires:  %{python_module collective.checkdocs}
-BuildRequires:  %{python_module pytest-flake8}
+BuildRequires:  %{python_module jaraco.base >= 6.1}
 BuildRequires:  %{python_module pytest}
-%endif
+BuildRequires:  %{python_module setuptools_scm}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  %{python_module tempora}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:   python-jaraco.base >= 6.1
+Requires:   python-six
+Requires:   python-tempora
 BuildArch:  noarch
 
 %python_subpackages
@@ -48,7 +45,7 @@
 
 %prep
 %setup -q -n jaraco.logging-%{version}
-sed -i -e "s/'pytest_runner'/'pytest-runner'/" setup.py
+sed -i 's/--flake8//' pytest.ini
 rm -rf jaraco.logging.egg-info
 
 %build
@@ -56,15 +53,21 @@
 
 %install
 %python_install
-%{python_expand rm -r 
%{buildroot}%{$python_sitelib}/jaraco.logging-%{version}-py*-nspkg.pth}
 
-%if %{with test}
+%{python_expand rm -f %{buildroot}%{$python_sitelib}/jaraco/__init__.py* \
+  %{buildroot}%{$python_sitelib}/jaraco/__pycache__/__init__.*
+$python -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/jaraco/
+$python -O -m compileall -d %{$python_sitelib} 
%{buildroot}%{$python_sitelib}/jaraco/
+%fdupes %{buildroot}%{$python_sitelib}
+}
+
 %check
-%python_expand py.test-%{$python_bin_suffix}
-%endif
+%{python_expand py.test-%{$python_bin_suffix} \
+  --ignore=_build.python2 --ignore=_build.python3
+}
 
 %files %{python_files}
-%defattr(-,root,root)
+%license LICENSE
 %doc docs/*.rst README.rst CHANGES.rst
 %{python_sitelib}/jaraco.logging-%{version}-py*.egg-info
 %{python_sitelib}/jaraco/logging.py*

++ jaraco.logging-1.5.2.tar.gz -> jaraco.logging-2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/jaraco.logging-1.5.2/.flake8