forked from pool/python-python-crontab
Accepting request 824510 from home:mcalabkova:branches:devel:languages:python
- update to 2.5.1 * Update crontab class to allow with context manager * Convert file to unix format * add support for percent sign stdin and escaping OBS-URL: https://build.opensuse.org/request/show/824510 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-crontab?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
6577da22f8
commit
cd175e83ae
3
python-crontab-2.5.1.tar.gz
Normal file
3
python-crontab-2.5.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4bbe7e720753a132ca4ca9d4094915f40e9d9dc8a807a4564007651018ce8c31
|
||||
size 52573
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:23bde8abd9b7c3bdf4f871311efdeaf91b0593bb1a5579224edc2d468d1a36fc
|
||||
size 45436
|
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 5 14:02:32 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- update to 2.5.1
|
||||
* Update crontab class to allow with context manager
|
||||
* Convert file to unix format
|
||||
* add support for percent sign stdin and escaping
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 23 11:22:46 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
|
@@ -18,14 +18,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-python-crontab
|
||||
Version: 2.4.0
|
||||
Version: 2.5.1
|
||||
Release: 0
|
||||
Summary: Python Crontab API
|
||||
License: LGPL-3.0-only
|
||||
Group: Development/Languages/Python
|
||||
URL: https://gitlab.com/doctormo/python-crontab/
|
||||
# https://gitlab.com/doctormo/python-crontab/-/issues/69
|
||||
Source: https://gitlab.com/doctormo/python-crontab/-/archive/v%{version}/python-crontab-v%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-crontab/python-crontab-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -50,7 +49,7 @@ Crontab module for reading and writing crontab files and
|
||||
accessing the system cron automatically using an API.
|
||||
|
||||
%prep
|
||||
%setup -q -n python-crontab-v%{version}
|
||||
%setup -q -n python-crontab-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -60,8 +59,9 @@ accessing the system cron automatically using an API.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# test_07_non_posix_shell - only for Windows
|
||||
export LANG=en_US.UTF-8
|
||||
%pytest
|
||||
%pytest -k "not test_07_non_posix_shell"
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
|
Reference in New Issue
Block a user