15
0
Files
python-holidays/python-holidays.spec
Tomáš Chvátal 17ceae006c Accepting request 792660 from home:mcalabkova:branches:devel:languages:python
- Update to 0.10.1
  * Project structure refactoring (MaxHaertwig, dr-p)
  * Added support for Python3.8 (dr-p)
  * Dropped support for pypy and Python3.4, welcome back pypy3 (dr-p)
  * Fully reviewed Travis CI integration (dr-p)
  * Added 3-digit country ISO codes (MaxHaertwig)
  * Support for Paraguay (dr-p, sfeliu)
  * Support for Israel (giladmaya, dr-p)
  * Support for Egypt (gaberm)
  * Support for Serbia (kosugor)
  * Support for Singapore (mborsetti)
  * README.rst fixes / sync
  * Brazil-Parana support (dr-p, jbroudou)
  * Japan fixes (dr-p, thophan92, saurabh3896)
  * Canada, Spain, US fixes (jbroudou)
  * Belarus fix (mpolyakovsky)

OBS-URL: https://build.opensuse.org/request/show/792660
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-holidays?expand=0&rev=12
2020-04-09 10:38:23 +00:00

63 lines
1.9 KiB
RPMSpec

#
# spec file for package python-holidays
#
# Copyright (c) 2020 SUSE LLC
#
# 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-holidays
Version: 0.10.1
Release: 0
Summary: Python library for generating holidays on the fly
License: MIT
Group: Development/Languages/Python
URL: https://github.com/dr-prodigy/python-holidays
Source: https://files.pythonhosted.org/packages/source/h/holidays/holidays-%{version}.tar.gz
BuildRequires: %{python_module convertdate}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-convertdate
Requires: python-python-dateutil
Requires: python-six
BuildArch: noarch
%python_subpackages
%description
A Python library for generating country, province and state specific sets of holidays on the fly.
It makes determining whether a specific date is a holiday possible.
%prep
%setup -q -n holidays-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand $python -m unittest discover
%files %{python_files}
%license LICENSE
%doc CHANGES README.rst
%{python_sitelib}/*
%changelog