forked from pool/python-python-daemon
Accepting request 1133522 from devel:languages:python
- update to 3.0.1: * Declare dependency on Setuptools >= 62.4.0. * Refactor calculation of file descriptor ranges to close. * When the range of candidate file descriptors is very large, the code that computes file descriptors to close when the daemon starts attempted to allocate a large amount of memory and took a long time to compute. * Document a `ServiceRunner` class as an example of using `DaemonContext`. * Raise a TypeError if any `exclude` values are not valid file descriptors. * Remove the obsolete `runner` module. This module was deprecated starting in `python-daemon` version 2.1.2, and is now removed as unmaintained. - Update to 2.3.2 - Skip broken test - BuildRequire lowercase python-minimock - Add Provides for the old python-daemon name OBS-URL: https://build.opensuse.org/request/show/1133522 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-daemon?expand=0&rev=30
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3deeb808e72b6b89f98611889e11cc33754f5b2c1517ecfa1aaf25f402051fb5
|
||||
size 83127
|
3
python-daemon-3.0.1.tar.gz
Normal file
3
python-daemon-3.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6c57452372f7eaff40934a1c03ad1826bf5e793558e87fef49131e6464b4dae5
|
||||
size 81337
|
@@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 15 21:27:04 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.0.1:
|
||||
* Declare dependency on Setuptools >= 62.4.0.
|
||||
* Refactor calculation of file descriptor ranges to close.
|
||||
* When the range of candidate file descriptors is very large,
|
||||
the code that computes file descriptors to close when the
|
||||
daemon starts attempted to allocate a large amount of memory
|
||||
and took a long time to compute.
|
||||
* Document a `ServiceRunner` class as an example of using
|
||||
`DaemonContext`.
|
||||
* Raise a TypeError if any `exclude` values are not valid file
|
||||
descriptors.
|
||||
* Remove the obsolete `runner` module.
|
||||
This module was deprecated starting in `python-daemon`
|
||||
version 2.1.2, and is now removed as unmaintained.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 5 11:05:56 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
@@ -6,7 +24,7 @@ Fri May 5 11:05:56 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 28 20:27:24 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to 2.3.2
|
||||
- Update to 2.3.2
|
||||
Bugs Fixed:
|
||||
* Declare Twine as a development dependency (not a build dependency).
|
||||
Closes: Pagure #55. Thanks to Jason Andryuk for the report.
|
||||
@@ -84,7 +102,7 @@ Fri Feb 28 21:41:00 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||
-------------------------------------------------------------------
|
||||
Tue May 14 20:34:45 UTC 2019 - Jonathan <jharker@suse.com>
|
||||
|
||||
- Skip broken test
|
||||
- Skip broken test
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 24 11:01:35 CEST 2019 - Matej Cepl <mcepl@suse.com>
|
||||
@@ -172,7 +190,7 @@ Thu Sep 3 14:17:06 UTC 2015 - toddrme2178@gmail.com
|
||||
* Specify development status Production/Stable in Trove classifiers.
|
||||
* Migrate to mock version 1.3 with corresponding API changes.
|
||||
* Use current Python concept of basestring to test for an attribute name.
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 26 12:22:44 UTC 2015 - jkeil@suse.com
|
||||
|
||||
@@ -294,7 +312,7 @@ Fri Nov 23 14:03:24 UTC 2012 - saschpe@suse.de
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 18 09:00:59 UTC 2012 - bwiedemann@suse.com
|
||||
|
||||
- BuildRequire lowercase python-minimock
|
||||
- BuildRequire lowercase python-minimock
|
||||
- to also work with the existing 11.4 package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
@@ -307,7 +325,7 @@ Thu Jan 5 13:25:37 UTC 2012 - jmatejek@suse.com
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 24 13:21:10 UTC 2011 - idoenmez@suse.de
|
||||
|
||||
- Add Provides for the old python-daemon name
|
||||
- Add Provides for the old python-daemon name
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 20 14:54:32 UTC 2011 - saschpe@suse.de
|
||||
|
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-python-daemon
|
||||
Version: 2.3.2
|
||||
Version: 3.0.1
|
||||
Release: 0
|
||||
Summary: Library to implement a well-behaved Unix daemon process
|
||||
License: Apache-2.0 AND GPL-3.0-only
|
||||
@@ -28,23 +28,25 @@ Source: https://files.pythonhosted.org/packages/source/p/python-daemon/p
|
||||
BuildRequires: %{python_module docutils}
|
||||
BuildRequires: %{python_module importlib_resources}
|
||||
BuildRequires: %{python_module lockfile >= 0.10}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module testscenarios >= 0.4}
|
||||
BuildRequires: %{python_module testtools}
|
||||
BuildRequires: %{python_module twine}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-lockfile >= 0.10
|
||||
Requires: python-setuptools >= 62.4.0
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This library implements the well-behaved daemon specification of PEP 3143, "Standard daemon
|
||||
process library".
|
||||
This library implements the well-behaved daemon specification of PEP 3143,
|
||||
"Standard daemon process library".
|
||||
|
||||
A well-behaved Unix daemon process is tricky to get right, but the required steps are much the
|
||||
same for every daemon program. A DaemonContext instance holds the behaviour and configured
|
||||
process environment for the program; use the instance as a context manager to enter a daemon state.
|
||||
A well-behaved Unix daemon process is tricky to get right, but the required
|
||||
steps are much the same for every daemon program. A DaemonContext instance
|
||||
holds the behaviour and configured process environment for the program; use the
|
||||
instance as a context manager to enter a daemon state.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n python-daemon-%{version}
|
||||
@@ -52,10 +54,10 @@ process environment for the program; use the instance as a context manager to en
|
||||
sed -i '/docutils/d' setup.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -64,6 +66,7 @@ sed -i '/docutils/d' setup.py
|
||||
%files %{python_files}
|
||||
%license LICENSE.ASF-2 LICENSE.GPL-3
|
||||
%doc README ChangeLog doc/*
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/daemon
|
||||
%{python_sitelib}/python_daemon-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user