commit 07c36a4c78b1157208839974c3f2601415cd542d7b59eb2bd41eea8475f3e820 Author: Tomáš Chvátal Date: Tue Sep 17 08:46:14 2019 +0000 Accepting request 731370 from home:jayvdb:strictyaml dep of yacron, a Python cron OBS-URL: https://build.opensuse.org/request/show/731370 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-crontab?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/crontab-0.22.6.tar.gz b/crontab-0.22.6.tar.gz new file mode 100644 index 0000000..94ef2ff --- /dev/null +++ b/crontab-0.22.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d18d960501d4f54fc6bb7836c6e4e535a0cd2e1a6d16dcd797e1a3e2602f20a1 +size 19854 diff --git a/python-crontab.changes b/python-crontab.changes new file mode 100644 index 0000000..94315cb --- /dev/null +++ b/python-crontab.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Tue Sep 17 01:59:42 AM UTC 2019 - John Vandenberg + +- Initial spec for v0.22.6 diff --git a/python-crontab.spec b/python-crontab.spec new file mode 100644 index 0000000..e1358e6 --- /dev/null +++ b/python-crontab.spec @@ -0,0 +1,60 @@ +# +# spec file for package python-crontab +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-crontab +Version: 0.22.6 +Release: 0 +Summary: Parse and use crontab schedules in Python +License: LGPL-2.1-only +Group: Development/Languages/Python +URL: https://github.com/josiahcarlson/parse-crontab +Source: https://github.com/josiahcarlson/parse-crontab/archive/%{version}.tar.gz#/crontab-%{version}.tar.gz +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module python-dateutil} +BuildRequires: %{python_module pytz} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +Requires: python-python-dateutil +Requires: python-pytz +%python_subpackages + +%description +Parse and use crontab schedules in Python. + +%prep +%setup -q -n parse-crontab-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.rst +%license LICENSE LICENSE3 +%{python_sitelib}/* + +%changelog