From 6342cf6d5c1e263546ecd1ea9afee721a522d95582f5823103d228ab51827187 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 21 Mar 2019 16:57:22 +0000 Subject: [PATCH 1/2] Accepting request 687400 from home:jayvdb:coala:test-rig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove unnecessary dependency on python-devel - Remove unnecessary runtime dependency on docutils - Update URL to https://pagure.io/python-daemon/ - Update to v2.2.3 * Use custom fake file type for testing `fileno` behaviour. This works around an incompatibility in Python 2.7 `file` type that caused test cases to fail. * Promote the warning for `runner` module to a `DeprecationWarning`. This has been an unofficial example module from the beginning, and it will be removed in a future version. - from v2.2.2 * Remove from the build system specification a white space character not permitted in TOML format. * Implement test suite automation in virtualenvs, using Tox. - from v2.2.1 * Add a :PEP:`518` conformant build system specification (the ``pyproject.toml`` file). - from v2.2.0 * Correct the description of the return value for `daemon.is_detach_process_context_required`. * Set a sensible default for `Distribution.script_name`. This works around a bug in Setuptools which calls commands before the `Distribution` is initialised. * The test suite now relies on the test discovery feature in ‘unittest’. This feature is in Python version 2.7 and later. * Improve performance of `daemon.close_all_open_files`. OBS-URL: https://build.opensuse.org/request/show/687400 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=19 --- python-daemon-2.1.2.tar.gz | 3 --- python-daemon-2.2.3.tar.gz | 3 +++ python-python-daemon.changes | 30 ++++++++++++++++++++++++++++++ python-python-daemon.spec | 15 +++++++-------- 4 files changed, 40 insertions(+), 11 deletions(-) delete mode 100644 python-daemon-2.1.2.tar.gz create mode 100644 python-daemon-2.2.3.tar.gz diff --git a/python-daemon-2.1.2.tar.gz b/python-daemon-2.1.2.tar.gz deleted file mode 100644 index 08154ac..0000000 --- a/python-daemon-2.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:261c859be5c12ae7d4286dc6951e87e9e1a70a882a8b41fd926efc1ec4214f73 -size 76176 diff --git a/python-daemon-2.2.3.tar.gz b/python-daemon-2.2.3.tar.gz new file mode 100644 index 0000000..3422598 --- /dev/null +++ b/python-daemon-2.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:affeca9e5adfce2666a63890af9d6aff79f670f7511899edaddca7f96593cc25 +size 79314 diff --git a/python-python-daemon.changes b/python-python-daemon.changes index 73db6a0..9b2dd80 100644 --- a/python-python-daemon.changes +++ b/python-python-daemon.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Thu Mar 21 14:39:49 UTC 2019 - John Vandenberg + +- Remove unnecessary dependency on python-devel +- Remove unnecessary runtime dependency on docutils +- Update URL to https://pagure.io/python-daemon/ +- Update to v2.2.3 + * Use custom fake file type for testing `fileno` behaviour. + This works around an incompatibility in Python 2.7 `file` type that + caused test cases to fail. + * Promote the warning for `runner` module to a `DeprecationWarning`. + This has been an unofficial example module from the beginning, and + it will be removed in a future version. +- from v2.2.2 + * Remove from the build system specification a white space character + not permitted in TOML format. + * Implement test suite automation in virtualenvs, using Tox. +- from v2.2.1 + * Add a :PEP:`518` conformant build system specification (the + ``pyproject.toml`` file). +- from v2.2.0 + * Correct the description of the return value for + `daemon.is_detach_process_context_required`. + * Set a sensible default for `Distribution.script_name`. + This works around a bug in Setuptools which calls commands before + the `Distribution` is initialised. + * The test suite now relies on the test discovery feature in + ‘unittest’. This feature is in Python version 2.7 and later. + * Improve performance of `daemon.close_all_open_files`. + ------------------------------------------------------------------- Mon Aug 13 13:30:40 UTC 2018 - mcepl@suse.com diff --git a/python-python-daemon.spec b/python-python-daemon.spec index c004e46..bea672e 100644 --- a/python-python-daemon.spec +++ b/python-python-daemon.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-daemon # -# 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,31 +12,29 @@ # 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 oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-python-daemon -Version: 2.1.2 +Version: 2.2.3 Release: 0 Summary: Library to implement a well-behaved Unix daemon process License: Apache-2.0 AND GPL-3.0-only Group: Development/Languages/Python -URL: http://pypi.python.org/pypi/python-daemon/ +URL: https://pagure.io/python-daemon/ Source: https://files.pythonhosted.org/packages/source/p/python-daemon/python-daemon-%{version}.tar.gz -BuildRequires: %{python_module devel >= 2.7} BuildRequires: %{python_module docutils} BuildRequires: %{python_module lockfile >= 0.10} -BuildRequires: %{python_module mock >= 1.0} +BuildRequires: %{python_module mock >= 1.3} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module testscenarios >= 0.4} BuildRequires: %{python_module testtools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-docutils Requires: python-lockfile >= 0.10 BuildArch: noarch %ifpython2 @@ -64,7 +62,8 @@ process environment for the program; use the instance as a context manager to en %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec -m pytest test +# test_returns_standard_stream_file_descriptors fails +%python_exec -m pytest -k 'not test_returns_standard_stream_file_descriptors' %files %{python_files} %license LICENSE.ASF-2 From 357b522034b1099434f3397de3edd11e314a57e80d1fc81e1cad6c7b1b680ddf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 22 Mar 2019 10:20:04 +0000 Subject: [PATCH 2/2] Accepting request 687433 from home:jayvdb:coala:test-rig - Add missing GPL license file - Add README to %doc - Drop extra 'doc' subdirectory under %doc - Remove docutils from installed egg-info OBS-URL: https://build.opensuse.org/request/show/687433 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-daemon?expand=0&rev=20 --- python-python-daemon.changes | 8 ++++++++ python-python-daemon.spec | 5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/python-python-daemon.changes b/python-python-daemon.changes index 9b2dd80..9c1bc19 100644 --- a/python-python-daemon.changes +++ b/python-python-daemon.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Mar 21 18:40:39 UTC 2019 - John Vandenberg + +- Add missing GPL license file +- Add README to %doc +- Drop extra 'doc' subdirectory under %doc +- Remove docutils from installed egg-info + ------------------------------------------------------------------- Thu Mar 21 14:39:49 UTC 2019 - John Vandenberg diff --git a/python-python-daemon.spec b/python-python-daemon.spec index bea672e..0f8a6d3 100644 --- a/python-python-daemon.spec +++ b/python-python-daemon.spec @@ -53,6 +53,7 @@ process environment for the program; use the instance as a context manager to en %prep %setup -q -n python-daemon-%{version} +sed -i '/docutils/d' setup.py %build %python_build @@ -66,8 +67,8 @@ process environment for the program; use the instance as a context manager to en %python_exec -m pytest -k 'not test_returns_standard_stream_file_descriptors' %files %{python_files} -%license LICENSE.ASF-2 -%doc ChangeLog doc +%license LICENSE.ASF-2 LICENSE.GPL-3 +%doc README ChangeLog doc/* %{python_sitelib}/* %changelog