forked from pool/python-holidays
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
This commit is contained in:
55
python-holidays.spec
Normal file
55
python-holidays.spec
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user