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