diff --git a/holidays-0.59.tar.gz b/holidays-0.59.tar.gz deleted file mode 100644 index 5652689773fe4a61636df3e3a5def4c1ed7f6702..0000000000000000000000000000000000000000 Binary files a/holidays-0.59.tar.gz and /dev/null differ diff --git a/holidays-0.84.tar.gz b/holidays-0.84.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..33cb367b8cc527464cb53e0fc26f7ef00e41b443 Binary files /dev/null and b/holidays-0.84.tar.gz differ diff --git a/python-holidays.spec b/python-holidays.spec index 4ac390fc88b6426c08551cad2b9b1a31d46f89e1..a4c3d51ec09616a1a21bc924fcb4deb670b74fa4 100644 --- a/python-holidays.spec +++ b/python-holidays.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-holidays -Version: 0.59 +Version: 0.84 Release: 1 Summary: Generate and work with holidays in Python License: MIT -URL: https://github.com/dr-prodigy/python-holidays -Source0: https://files.pythonhosted.org/packages/1b/cf/0c8883a9d5e1bcd8b56ba53265995bd08c679109e331e96699661dfafd55/holidays-0.59.tar.gz +URL: https://github.com/vacanza/holidays +Source0: https://files.pythonhosted.org/packages/2b/91/7301d71a49cfbb499c704615565199180676131da1a56896365bfff6df52/holidays-0.84.tar.gz BuildArch: noarch Requires: python3-convertdate @@ -24,6 +24,7 @@ Summary: Generate and work with holidays in Python Provides: python-holidays BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-pip %description -n python3-holidays 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 @@ -39,10 +40,10 @@ Development documents and examples for holidays %autosetup -n holidays-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -71,11 +72,23 @@ mv %{buildroot}/doclist.lst . %files -n python3-holidays -f filelist.lst %dir %{python3_sitelib}/* +%exclude %{python3_sitelib}/holidays/__pycache__/*.pyc +%exclude %{python3_sitelib}/holidays/calendars/__pycache__/*.pyc +%exclude %{python3_sitelib}/holidays/countries/__pycache__/*.pyc +%exclude %{python3_sitelib}/holidays/deprecations/__pycache__/*.pyc +%exclude %{python3_sitelib}/holidays/financial/__pycache__/*.pyc +%exclude %{python3_sitelib}/holidays/groups/__pycache__/*.pyc +%exclude %{python3_sitelib}/holidays/mixins/__pycache__/*.pyc %files help -f doclist.lst %{_docdir}/* %changelog +* Thu Nov 13 2025 dongjiao - 0.84-1 +- Update package to version 0.84 + Drop Python 3.9 support. + Update and refactor many country holidays. + * Fri Nov 1 2024 wanggang - 0.59-1 - Update package to version 0.59 in Version 0.59,changes: