commit 81ea25ed3aae4a49399ebd3ad77b9aab20ad8d57e68c3d64fbeae0abacb860d5 Author: Thomas Bechtold Date: Tue Mar 12 09:07:33 2019 +0000 Accepting request 684191 from system:homeautomation:home-assistant new package OBS-URL: https://build.opensuse.org/request/show/684191 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-holidays?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/holidays-0.9.9.tar.gz b/holidays-0.9.9.tar.gz new file mode 100644 index 0000000..5d6f35b --- /dev/null +++ b/holidays-0.9.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b38e11736e2fad04c51e6d8d38ff66b483905d9448ba0291640cda5889687baa +size 68973 diff --git a/python-holidays.changes b/python-holidays.changes new file mode 100644 index 0000000..45f0907 --- /dev/null +++ b/python-holidays.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Mar 12 07:16:43 UTC 2019 - Adrian Schröter + +- initial package of version 0.9.9 + diff --git a/python-holidays.spec b/python-holidays.spec new file mode 100644 index 0000000..ffe970d --- /dev/null +++ b/python-holidays.spec @@ -0,0 +1,55 @@ +# +# spec file for package python-phue +# +# Copyright (c) 2017 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 http://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 +Name: python-holidays +Version: 0.9.9 +Release: 0 +Summary: Python library for generating holidays on the fly +License: MIT +Group: Development/Languages/Python +Url: https://pypi.python.org/pypi/holidyas +Source: https://files.pythonhosted.org/packages/source/h/holidays/holidays-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch + +%python_subpackages + +%description +A fast, efficient Python library for generating country, province and state specific sets of holidays on the fly. It aims to make determining whether a specific date is a holiday as fast and flexible as possible. + + +%prep +%setup -q -n holidays-%{version} + +%build +%python_build + +%install +%python_install + +%files %{python_files} +%license LICENSE +%doc CHANGES README.rst +%{python_sitelib}/* + +%changelog