14
0

Accepting request 687566 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/687566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=19
This commit is contained in:
2019-03-22 14:12:00 +00:00
committed by Git OBS Bridge
4 changed files with 51 additions and 13 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:261c859be5c12ae7d4286dc6951e87e9e1a70a882a8b41fd926efc1ec4214f73
size 76176

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:affeca9e5adfce2666a63890af9d6aff79f670f7511899edaddca7f96593cc25
size 79314

View File

@@ -1,3 +1,41 @@
-------------------------------------------------------------------
Thu Mar 21 18:40:39 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- 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 <jayvdb@gmail.com>
- 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 Mon Aug 13 13:30:40 UTC 2018 - mcepl@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-python-daemon # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 %define oldpython python
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-python-daemon Name: python-python-daemon
Version: 2.1.2 Version: 2.2.3
Release: 0 Release: 0
Summary: Library to implement a well-behaved Unix daemon process Summary: Library to implement a well-behaved Unix daemon process
License: Apache-2.0 AND GPL-3.0-only License: Apache-2.0 AND GPL-3.0-only
Group: Development/Languages/Python 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 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 docutils}
BuildRequires: %{python_module lockfile >= 0.10} 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 pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module testscenarios >= 0.4} BuildRequires: %{python_module testscenarios >= 0.4}
BuildRequires: %{python_module testtools} BuildRequires: %{python_module testtools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-docutils
Requires: python-lockfile >= 0.10 Requires: python-lockfile >= 0.10
BuildArch: noarch BuildArch: noarch
%ifpython2 %ifpython2
@@ -55,6 +53,7 @@ process environment for the program; use the instance as a context manager to en
%prep %prep
%setup -q -n python-daemon-%{version} %setup -q -n python-daemon-%{version}
sed -i '/docutils/d' setup.py
%build %build
%python_build %python_build
@@ -64,11 +63,12 @@ process environment for the program; use the instance as a context manager to en
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %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} %files %{python_files}
%license LICENSE.ASF-2 %license LICENSE.ASF-2 LICENSE.GPL-3
%doc ChangeLog doc %doc README ChangeLog doc/*
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog