14
0

Accepting request 824583 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/824583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-crontab?expand=0&rev=3
This commit is contained in:
2020-08-06 08:42:24 +00:00
committed by Git OBS Bridge
4 changed files with 16 additions and 8 deletions

View File

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

View File

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

View File

@@ -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 Mon Mar 23 11:22:46 UTC 2020 - pgajdos@suse.com

View File

@@ -18,14 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-python-crontab Name: python-python-crontab
Version: 2.4.0 Version: 2.5.1
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/
# https://gitlab.com/doctormo/python-crontab/-/issues/69 Source: https://files.pythonhosted.org/packages/source/p/python-crontab/python-crontab-%{version}.tar.gz
Source: https://gitlab.com/doctormo/python-crontab/-/archive/v%{version}/python-crontab-v%{version}.tar.gz
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros 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. accessing the system cron automatically using an API.
%prep %prep
%setup -q -n python-crontab-v%{version} %setup -q -n python-crontab-%{version}
%build %build
%python_build %python_build
@@ -60,8 +59,9 @@ accessing the system cron automatically using an API.
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
# test_07_non_posix_shell - only for Windows
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
%pytest %pytest -k "not test_07_non_posix_shell"
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst