forked from pool/python-holidays
Accepting request 1140748 from devel:languages:python
- Update to 0.41: * Introduce observed_estimated_label * Update Argentina holidays * Update Cyprus holidays * Update Malaysia holidays * Update Paraguay holidays * Update Thailand holidays * Add Papua New Guinea holidays * Fix United States and Guam holidays * Extend native holiday categories support * Update NYSE holidays: fix New Year's Day observed * Update Netherlands holidays: fix Liberation Day * Add categories and subdivisions support to special observed holidays * Add categories and subdivisions support to substituted holidays * Update Israel holidays * Update Ukraine holidays * Migrate NYSE holidays to ObservedHolidayBase * Add special holidays per subdivisions support * Add special_holidays_observed support * Add Bahamas holidays * Add Timor-Leste holidays * Add Tonga holidays * Update Portugal holidays: add holiday categories * Add Maldives holidays * Add Tanzania holidays * Implement Tanzania `StaticHolidays` * Add Laos holidays * Update Belarus holidays: add substituted holidays * Update NYSE holidays: fix Juneteenth National Independence Day start year * Update Spain holidays OBS-URL: https://build.opensuse.org/request/show/1140748 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-holidays?expand=0&rev=12
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8c5e4ef7c117aa57e0e91eb96cbc6d5b3376c5e5dcf5f4d3d744a0e05c8fbfeb
|
||||
size 278862
|
||||
3
holidays-0.41.tar.gz
Normal file
3
holidays-0.41.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:049aee44431455f051402d30ff378c4c8b718a7781fa88dd4bbec8a466f4272e
|
||||
size 3555061
|
||||
@@ -1,3 +1,92 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 23 03:11:25 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 0.41:
|
||||
* Introduce observed_estimated_label
|
||||
* Update Argentina holidays
|
||||
* Update Cyprus holidays
|
||||
* Update Malaysia holidays
|
||||
* Update Paraguay holidays
|
||||
* Update Thailand holidays
|
||||
* Add Papua New Guinea holidays
|
||||
* Fix United States and Guam holidays
|
||||
* Extend native holiday categories support
|
||||
* Update NYSE holidays: fix New Year's Day observed
|
||||
* Update Netherlands holidays: fix Liberation Day
|
||||
* Add categories and subdivisions support to special observed holidays
|
||||
* Add categories and subdivisions support to substituted holidays
|
||||
* Update Israel holidays
|
||||
* Update Ukraine holidays
|
||||
* Migrate NYSE holidays to ObservedHolidayBase
|
||||
* Add special holidays per subdivisions support
|
||||
* Add special_holidays_observed support
|
||||
* Add Bahamas holidays
|
||||
* Add Timor-Leste holidays
|
||||
* Add Tonga holidays
|
||||
* Update Portugal holidays: add holiday categories
|
||||
* Add Maldives holidays
|
||||
* Add Tanzania holidays
|
||||
* Implement Tanzania `StaticHolidays`
|
||||
* Add Laos holidays
|
||||
* Update Belarus holidays: add substituted holidays
|
||||
* Update NYSE holidays: fix Juneteenth National Independence Day start year
|
||||
* Update Spain holidays
|
||||
* Add merge queue support
|
||||
* Update Belgium holidays: add bank holidays
|
||||
* Update Canada holidays
|
||||
* Update Liechtenstein holidays: specify bank holidays
|
||||
* Update United Kingdom holidays
|
||||
* Add subdivision category holidays support
|
||||
* Add Barbados holidays
|
||||
* Add Iran holidays
|
||||
* Add Vanuatu holidays
|
||||
* Update Barbados holidays
|
||||
* Update Singapore holidays: add 2023 Polling Day
|
||||
* Update Slovenia holidays: add 2023 Solidarity Day
|
||||
* Update Vanuatu holidays
|
||||
* Update South Korea holidays
|
||||
* Update Taiwan holidays
|
||||
* Update Uruguay holidays
|
||||
* Add JULIAN_REVISED_CALENDAR calendar
|
||||
* Add Guatemala holidays
|
||||
* Update United Kingdom holidays: update certain holidays start years
|
||||
* Add HolidayBase methods for relative weekdays calculation
|
||||
* Add Brunei Darussalam holidays
|
||||
* Add Burkina Faso holidays
|
||||
* Add Cambodia holidays
|
||||
* Add Chad holidays
|
||||
* Add Columbus day to InternationalHolidays
|
||||
* Allow using ISO 639-2 (three-letter) language codes
|
||||
* Make Tynwald Day movable from 1992 onwards for Isle of Man
|
||||
* Use aware UTC datetimes internally
|
||||
* Introduce Asian holidays pre-calculated data
|
||||
* Add Belize holidays
|
||||
* Add Cameroon holidays
|
||||
* Add El Salvador holidays
|
||||
* Add Gabon holidays
|
||||
* Update Azerbaijan holidays: use custom Islamic calendar
|
||||
* Update Morocco holidays
|
||||
* Update Vatican City holidays
|
||||
* Introduce entity lazy loading
|
||||
* Add Algeria holidays
|
||||
* Update coverage upload process
|
||||
* Add Ecuador holidays
|
||||
* Add polib as a deploy process dependency
|
||||
* Introduce subdivision holidays methods
|
||||
* Refactor .po and .mo files generation
|
||||
* Update Andorra parish holidays
|
||||
* Add Costa Rica holidays
|
||||
* Update Portugal holidays
|
||||
* Fix NYSE New Year's Day observance calculation
|
||||
* Update Ireland holidays: St. Bridget's Day
|
||||
* Update Mexico holidays
|
||||
* Update Saudi Arabia holidays
|
||||
* Add functions for relative weekdays calculation
|
||||
* Use the built-in library for time zone functions
|
||||
- Update Source and URL.
|
||||
- Switch to pyproject macros.
|
||||
- Stop using greedy globs in %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 3 06:56:02 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-holidays
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,26 +17,24 @@
|
||||
|
||||
|
||||
Name: python-holidays
|
||||
Version: 0.20
|
||||
Version: 0.41
|
||||
Release: 0
|
||||
Summary: Python library for generating holidays on the fly
|
||||
License: MIT
|
||||
URL: https://github.com/dr-prodigy/python-holidays
|
||||
Source: https://github.com/dr-prodigy/python-holidays/archive/refs/tags/v.%{version}.tar.gz#/holidays-%{version}.tar.gz
|
||||
URL: https://github.com/vacanza/python-holidays
|
||||
Source: https://github.com/vacanza/python-holidays/archive/refs/tags/v%{version}.tar.gz#/holidays-%{version}.tar.gz
|
||||
BuildRequires: %{python_module convertdate}
|
||||
BuildRequires: %{python_module hijri-converter >= 2.2}
|
||||
BuildRequires: %{python_module korean-lunar-calendar}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module polib}
|
||||
BuildRequires: %{python_module pytest}
|
||||
#BuildRequires: %%{python_module lag_baomer}
|
||||
BuildRequires: %{python_module python-dateutil}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module testsuite}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-convertdate
|
||||
Requires: python-hijri-converter >= 2.2
|
||||
Requires: python-korean-lunar-calendar
|
||||
#Requires: python-lag_baomer
|
||||
Requires: python-python-dateutil
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
@@ -46,21 +44,23 @@ A Python library for generating country, province and state specific sets of hol
|
||||
It makes determining whether a specific date is a holiday possible.
|
||||
|
||||
%prep
|
||||
%setup -q -n python-holidays-v.%{version}
|
||||
%setup -q -n python-holidays-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
scripts/l10n/generate_mo_files.py
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc CHANGES README.rst
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/holidays
|
||||
%{python_sitelib}/holidays-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user