2019-03-12 09:07:33 +00:00
|
|
|
#
|
2019-03-15 13:20:55 +00:00
|
|
|
# spec file for package python-holidays
|
2019-03-12 09:07:33 +00:00
|
|
|
#
|
Accepting request 1006799 from home:yarunachalam:branches:devel:languages:python
- Update Version 0.16
Released September 16, 2022
This release is dedicated to Queen Elizabeth II (21 April 1926 – 8 September 2022),
who lived her long life as a monarch through 2 centuries, in both happy and difficult moments,
with grace, dignity and an always inspiring strong sense of duty and warm heart.
Goodbye "Lilibet", you have symbolically been a queen, a mother and a grandmother
to a lot of us, and will be dearly missed.
- Financial market support review, new method financial_holidays(..) #694 (dr-p)
- Support for Moldova #695 (Thedand)
- Support for Bolivia #679, #698 (kasya)
- UK updates #702 (JPunter, violuke)
- Australia updates #699 (Ryan-McCrory, dr-p)
- Canada updates #710 (bkthomps)
- New Zealand updates #708, #709 (dr-p, markhoneth)
- NYSE updates #693, #696 (kasya)
- Update Version 0.15
Released August 21, 2022
- Added support for Python3.11 (dr-p)
- Updated README - improved badges area (dr-p)
- Support for Cuba #678 (bthompson, dr-p)
- Typechecking implementation, first release (HolidayBase, utils, some sample countries) #661 (dimbleby)
- Test coverage improvement #633 (akosfurton, dr-p)
- Drop support for UK subdivisions as countries (England, Scotland..) (dr-p)
- Drop support for IsleOfMan as UK subdivision (dr-p)
- Drop support for PortugalExt (ie: extended Portugal) (dr-p)
- US fixes #675 (arkid15r)
- Colombia fixes & test improvements #676 (bkthomps)
- Venezuela fixes & test improvements #677 (bkthomps)
- Canada fixes #579 (dr-p, scubaandre)
- Ukraine refactoring #681 (kasya)
OBS-URL: https://build.opensuse.org/request/show/1006799
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-holidays?expand=0&rev=22
2022-09-29 09:25:12 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2019-03-12 09:07:33 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2019-03-15 13:20:55 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2019-03-12 09:07:33 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
|
Name: python-holidays
|
2022-10-11 12:44:33 +00:00
|
|
|
Version: 0.16
|
2019-03-12 09:07:33 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Python library for generating holidays on the fly
|
|
|
|
|
License: MIT
|
|
|
|
|
Group: Development/Languages/Python
|
2019-03-15 13:20:55 +00:00
|
|
|
URL: https://github.com/dr-prodigy/python-holidays
|
2019-03-12 09:07:33 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/h/holidays/holidays-%{version}.tar.gz
|
2020-04-09 10:38:23 +00:00
|
|
|
BuildRequires: %{python_module convertdate}
|
Accepting request 870207 from system:homeautomation:home-assistant
- update to version 0.10.5.2
* Dropped support for Python 2 (dr-p)
* Removed convertdate<=2.2.0 constraint (dr-p)
* Travis CI integration review (dr-p)
* Support for Mozambique (jusce17)
* Angola fixes (jusce17)
* Portugal localized holidays (jusce17)
* Disable year expansion on name search #411 (giladmaya)
* Israel fixes (new convertdate version) #407 (giladmaya)
* Ireland fixes (ISO-2 code, partial split from UK) #417 (javicalle)
* Honduras fix (ISO-2 code) #405 (dr-p, agorajek)
- had to disable lag-boamer support due lack of official resource for it
via disable-lag-baomer.patch
- update to version 0.10.4
* Dropped support for Python 3.5
* Support for Djibouti (Abdisamade)
* Support for United Arab Emirates (marcomasulli, mborsetti)
* Support for Chile (mborsetti, dr-p)
* Support for Angola (jusce17, pietervdw115, dr-p)
* Support for Malawi (pietervdw115)
* Support for Bangladesh (dr-p, tasnimislam)
* Korea fixes (MYUNGJE, dr-p, hiddentrap)
* Australia 2020 fix (bencollerson, trauty-is-me)
* Croatia fixes and updates (jangrg, mborsetti, dr-p)
* United States fixes (raffg, bgmiles, dr-p)
* UK fixes/improvements (dr-p, richard-kunert, emreay-)
* Russia fixes (tserekh)
* Ireland fixes (chiuczek)
* Spain observed holidays fix (sermayoral)
OBS-URL: https://build.opensuse.org/request/show/870207
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-holidays?expand=0&rev=16
2021-02-08 15:24:17 +00:00
|
|
|
BuildRequires: %{python_module hijri-converter}
|
Accepting request 822929 from system:homeautomation:home-assistant:unstable
- Update to version 0.10.3
Released July 15, 2020
- Added get_named(substring) method to retrieve holidays by name (dr-p)
- Added pop_named(substring) method to pop specific holiday/s by name (samtregar, dr-p)
- Support for Burundi (bmwachajr)
- Support for Latvia (rolandinsh)
- Support for Romania (dorianm)
- Spain fix (dr-p)
- Netherlands fix (RooieRakkert)
- Switzerland fixes (cgrigis)
- Germany fix (MikeTsenatek)
- Added korean_cal attribute to Korea and Vietnam (seriousran, pelennor)
- United States fixes (patrick-nicholson, dr-p)
- Singapore fixes + 2021 holidays (mborsetti)
Version 0.10.2
==============
Released April 13, 2020
- Support for Spain (piliamaurizio, jbroudou, dr-p, gerardo15)
- Support for Turkey (cemkaragozlu)
- Support for Korea (1kko, dr-p)
- Support for Vietnam (1kko, dr-p)
- Support for Morocco (abensrhir, dr-p)
- Mexico fix (Rosi2143, dr-p)
- Croatia fix (sebojanko, dr-p)
- US Georgia fix (jbroudou, dr-p)
- Austria province ISO3166-2 adoption (jbroudou, dr-p)
- Portugal typos & name fixes (reinaldoramosarxi)
- US MLK renamed (snoopyjc, dr-p)
- ISO-3 codes export fix (dr-p)
OBS-URL: https://build.opensuse.org/request/show/822929
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-holidays?expand=0&rev=14
2020-07-29 10:47:07 +00:00
|
|
|
BuildRequires: %{python_module korean-lunar-calendar}
|
2021-05-03 13:21:57 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
|
#BuildRequires: %%{python_module lag_baomer}
|
2019-03-15 13:20:55 +00:00
|
|
|
BuildRequires: %{python_module python-dateutil}
|
2019-03-12 09:07:33 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2021-05-03 13:18:24 +00:00
|
|
|
BuildRequires: %{python_module testsuite}
|
2019-03-12 09:07:33 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
2020-04-09 10:38:23 +00:00
|
|
|
Requires: python-convertdate
|
Accepting request 870207 from system:homeautomation:home-assistant
- update to version 0.10.5.2
* Dropped support for Python 2 (dr-p)
* Removed convertdate<=2.2.0 constraint (dr-p)
* Travis CI integration review (dr-p)
* Support for Mozambique (jusce17)
* Angola fixes (jusce17)
* Portugal localized holidays (jusce17)
* Disable year expansion on name search #411 (giladmaya)
* Israel fixes (new convertdate version) #407 (giladmaya)
* Ireland fixes (ISO-2 code, partial split from UK) #417 (javicalle)
* Honduras fix (ISO-2 code) #405 (dr-p, agorajek)
- had to disable lag-boamer support due lack of official resource for it
via disable-lag-baomer.patch
- update to version 0.10.4
* Dropped support for Python 3.5
* Support for Djibouti (Abdisamade)
* Support for United Arab Emirates (marcomasulli, mborsetti)
* Support for Chile (mborsetti, dr-p)
* Support for Angola (jusce17, pietervdw115, dr-p)
* Support for Malawi (pietervdw115)
* Support for Bangladesh (dr-p, tasnimislam)
* Korea fixes (MYUNGJE, dr-p, hiddentrap)
* Australia 2020 fix (bencollerson, trauty-is-me)
* Croatia fixes and updates (jangrg, mborsetti, dr-p)
* United States fixes (raffg, bgmiles, dr-p)
* UK fixes/improvements (dr-p, richard-kunert, emreay-)
* Russia fixes (tserekh)
* Ireland fixes (chiuczek)
* Spain observed holidays fix (sermayoral)
OBS-URL: https://build.opensuse.org/request/show/870207
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-holidays?expand=0&rev=16
2021-02-08 15:24:17 +00:00
|
|
|
Requires: python-hijri-converter
|
Accepting request 822929 from system:homeautomation:home-assistant:unstable
- Update to version 0.10.3
Released July 15, 2020
- Added get_named(substring) method to retrieve holidays by name (dr-p)
- Added pop_named(substring) method to pop specific holiday/s by name (samtregar, dr-p)
- Support for Burundi (bmwachajr)
- Support for Latvia (rolandinsh)
- Support for Romania (dorianm)
- Spain fix (dr-p)
- Netherlands fix (RooieRakkert)
- Switzerland fixes (cgrigis)
- Germany fix (MikeTsenatek)
- Added korean_cal attribute to Korea and Vietnam (seriousran, pelennor)
- United States fixes (patrick-nicholson, dr-p)
- Singapore fixes + 2021 holidays (mborsetti)
Version 0.10.2
==============
Released April 13, 2020
- Support for Spain (piliamaurizio, jbroudou, dr-p, gerardo15)
- Support for Turkey (cemkaragozlu)
- Support for Korea (1kko, dr-p)
- Support for Vietnam (1kko, dr-p)
- Support for Morocco (abensrhir, dr-p)
- Mexico fix (Rosi2143, dr-p)
- Croatia fix (sebojanko, dr-p)
- US Georgia fix (jbroudou, dr-p)
- Austria province ISO3166-2 adoption (jbroudou, dr-p)
- Portugal typos & name fixes (reinaldoramosarxi)
- US MLK renamed (snoopyjc, dr-p)
- ISO-3 codes export fix (dr-p)
OBS-URL: https://build.opensuse.org/request/show/822929
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-holidays?expand=0&rev=14
2020-07-29 10:47:07 +00:00
|
|
|
Requires: python-korean-lunar-calendar
|
Accepting request 870207 from system:homeautomation:home-assistant
- update to version 0.10.5.2
* Dropped support for Python 2 (dr-p)
* Removed convertdate<=2.2.0 constraint (dr-p)
* Travis CI integration review (dr-p)
* Support for Mozambique (jusce17)
* Angola fixes (jusce17)
* Portugal localized holidays (jusce17)
* Disable year expansion on name search #411 (giladmaya)
* Israel fixes (new convertdate version) #407 (giladmaya)
* Ireland fixes (ISO-2 code, partial split from UK) #417 (javicalle)
* Honduras fix (ISO-2 code) #405 (dr-p, agorajek)
- had to disable lag-boamer support due lack of official resource for it
via disable-lag-baomer.patch
- update to version 0.10.4
* Dropped support for Python 3.5
* Support for Djibouti (Abdisamade)
* Support for United Arab Emirates (marcomasulli, mborsetti)
* Support for Chile (mborsetti, dr-p)
* Support for Angola (jusce17, pietervdw115, dr-p)
* Support for Malawi (pietervdw115)
* Support for Bangladesh (dr-p, tasnimislam)
* Korea fixes (MYUNGJE, dr-p, hiddentrap)
* Australia 2020 fix (bencollerson, trauty-is-me)
* Croatia fixes and updates (jangrg, mborsetti, dr-p)
* United States fixes (raffg, bgmiles, dr-p)
* UK fixes/improvements (dr-p, richard-kunert, emreay-)
* Russia fixes (tserekh)
* Ireland fixes (chiuczek)
* Spain observed holidays fix (sermayoral)
OBS-URL: https://build.opensuse.org/request/show/870207
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-holidays?expand=0&rev=16
2021-02-08 15:24:17 +00:00
|
|
|
#Requires: python-lag_baomer
|
2019-03-15 13:20:55 +00:00
|
|
|
Requires: python-python-dateutil
|
2019-03-12 09:07:33 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
%description
|
2019-03-17 15:31:46 +00:00
|
|
|
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.
|
2019-03-12 09:07:33 +00:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n holidays-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%python_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%python_install
|
2019-03-15 13:20:55 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
%check
|
2021-05-03 13:21:57 +00:00
|
|
|
%pytest
|
2019-03-12 09:07:33 +00:00
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc CHANGES README.rst
|
|
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|