forked from pool/python-python-crontab
- update to 3.0.0:
* Add frequency checks at specific timestamp * Fix lots of pylint errors and improve test coverage * Improve schedule running with more information about what was returned * Cause an error when setting an invalid frequency OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-crontab?expand=0&rev=18
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b21af4647c7bbb848fef2f020616c6b0289dcb9f94b4f991a55310ff9bec5749
|
|
||||||
size 54795
|
|
3
python-crontab-3.0.0.tar.gz
Normal file
3
python-crontab-3.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:79fb7465039ddfd4fb93d072d6ee0d45c1ac8bf1597f0686ea14fd4361dba379
|
||||||
|
size 56737
|
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 1 20:28:24 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.0.0:
|
||||||
|
* Add frequency checks at specific timestamp
|
||||||
|
* Fix lots of pylint errors and improve test coverage
|
||||||
|
* Improve schedule running with more information about what was
|
||||||
|
returned
|
||||||
|
* Cause an error when setting an invalid frequency
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 21 10:13:12 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
Tue Feb 21 10:13:12 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-python-crontab
|
# spec file for package python-python-crontab
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -16,15 +16,17 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-python-crontab
|
Name: python-python-crontab
|
||||||
Version: 2.7.1
|
Version: 3.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python Crontab API
|
Summary: Python Crontab API
|
||||||
License: LGPL-3.0-only
|
License: LGPL-3.0-only
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://gitlab.com/doctormo/python-crontab/
|
URL: https://gitlab.com/doctormo/python-crontab/
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/python-crontab/python-crontab-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/python-crontab/python-crontab-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-python-dateutil
|
Requires: python-python-dateutil
|
||||||
@@ -50,10 +52,10 @@ accessing the system cron automatically using an API.
|
|||||||
%setup -q -n python-crontab-%{version}
|
%setup -q -n python-crontab-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -63,7 +65,8 @@ ln -s %{_bindir}/$python build/bin/python
|
|||||||
}
|
}
|
||||||
export PATH=$PWD/build/bin:$PATH
|
export PATH=$PWD/build/bin:$PATH
|
||||||
# test_07_non_posix_shell - only for Windows
|
# test_07_non_posix_shell - only for Windows
|
||||||
%pytest -k "not test_07_non_posix_shell"
|
# test_20_frequency_at_year - broken test which fails in leap years
|
||||||
|
%pytest -k "not test_07_non_posix_shell and not test_20_frequency_at_year"
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
@@ -71,7 +74,7 @@ export PATH=$PWD/build/bin:$PATH
|
|||||||
%{python_sitelib}/cronlog.py
|
%{python_sitelib}/cronlog.py
|
||||||
%{python_sitelib}/crontab.py
|
%{python_sitelib}/crontab.py
|
||||||
%{python_sitelib}/crontabs.py
|
%{python_sitelib}/crontabs.py
|
||||||
%{python_sitelib}/python_crontab-%{version}*-info
|
%{python_sitelib}/python_crontab-%{version}.dist-info
|
||||||
%pycache_only %{python_sitelib}/__pycache__
|
%pycache_only %{python_sitelib}/__pycache__
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user