forked from pool/python-holidays
Accepting request 1245043 from home:glaubitz:branches:devel:languages:python
- Update to 0.66 * Add Sri Lanka holidays * Fix typo in CONTRIBUTING.rst * Update Czechia holidays * Update Germany holidays: add Corpus Christi in CATHOLIC category * Update Iceland holidays: add HALF_DAY holidays * Update Iran holidays * Update PR exclusion logic * Update Slovakia holidays: Constitution Day is working day since 2024 * Update Slovenia holidays * Update Sweden holidays: fix All Saints' Day * Update Thailand holidays: refactor Royal Ploughing Ceremony code * Update United Arab Emirates holidays: add `th` l10n, exact 2017-2025 entries * Update Vatican City holidays: add missing holidays, l10n support * Update automatic snapshots update workflow * Update some holidays Ukrainian translations * Add Israel holidays localization: th * Add West Frisian language * Pin CI/CD Ubuntu version * Remove .po files from distribution bundles - from version 0.65 * Update Afghanistan and Iran holidays: change weekend to FRI-SAT and FRI respectively * Update Afghanistan holidays * Update South Korea holidays: 2025 temporary public holidays * Update ruff from v0.8.6 to v0.9.1 * Add faster date parsing from strings in ISO 8601 format * Add signed artifacts path - from version 0.64 * Introduce `common.WorkingDayTests` class * Refactor XNYS holidays: standardize US market holidays days of mourning entries OBS-URL: https://build.opensuse.org/request/show/1245043 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-holidays?expand=0&rev=48
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-holidays
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,8 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-holidays
|
||||
Version: 0.56
|
||||
Version: 0.66
|
||||
Release: 0
|
||||
Summary: Python library for generating holidays on the fly
|
||||
License: MIT
|
||||
@@ -46,7 +47,7 @@ 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-%{version}
|
||||
%setup -q -n holidays-%{version}
|
||||
|
||||
%build
|
||||
scripts/l10n/generate_mo_files.py
|
||||
@@ -57,6 +58,7 @@ scripts/l10n/generate_mo_files.py
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
sed -i '/"--cov-fail-under=100",/d' pyproject.toml
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
|
||||
Reference in New Issue
Block a user