Projects
Eulaceura:Factory
python-holidays
_service:obs_scm:python-holidays.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-holidays.spec of Package python-holidays
%global _empty_manifest_terminate_build 0 Name: python-holidays Version: 0.59 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 BuildArch: noarch Requires: python3-convertdate Requires: python3-hijri-converter Requires: python3-korean-lunar-calendar Requires: python3-dateutil Requires: python3-six %description 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 as fast and flexible as possible. %package -n python3-holidays Summary: Generate and work with holidays in Python Provides: python-holidays BuildRequires: python3-devel BuildRequires: python3-setuptools %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 as fast and flexible as possible. %package help Summary: Development documents and examples for holidays Provides: python3-holidays-doc %description help Development documents and examples for holidays %prep %autosetup -n holidays-%{version} %build %py3_build %install %py3_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 if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-holidays -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri Nov 1 2024 wanggang <wanggang1@kylinos.cn> - 0.59-1 - Update package to version 0.59 in Version 0.59,changes: Update Vietnam holidays: add th localization (#2060 by @PPsyrius) Update Germany holidays: add Liberation from Nazi Regime Day 2025 in Berlin (#2052 by @hf-kklein, @PPsyrius) Update Johor (Malaysia) and United Arab Emirates weekend observance, cleanup others (#2048 by @PPsyrius) Update Vietnam holidays (#2049 by @KJhellico) Update InternationalHolidays::_add_world_war_two_victory_day() method (#2064 by @KJhellico) Update holidays package metadata (#2063 by @arkid15r) Update metadata Python versions (#2069 by @arkid15r) Add EasternCalendarHolidays to holidays groups (#2062 by @KJhellico) Drop Python 3.8 support (#2042 by @PPsyrius) Satisfy mypy requirements (#2053 by @arkid15r) In Version 0.58, changes: Add Congo holidays (#2037 by @PPsyrius) Add Saint Kitts & Nevis holidays (#2005 by @PPsyrius, @arkid15r) Add Vietnamese translation of VietNam holidays (#2025 by @vunhatchuong, @arkid15r) Update Kazakhstan holidays: add substituted holidays, localization (#2023 by @KJhellico) Update Malaysia holidays: add th localization (#2030 by @PPsyrius) Update Singapore holidays: add en_SG, en_US, th localization (#2031 by @PPsyrius) Update Sweden holidays: add th localization (#2029 by @PPsyrius) Update Azerbaijan holidays in 2024 (#2018 by @KJhellico) Update Curaçao holidays: add HALF_DAY holidays (#2039 by @KJhellico) Update Japan holidays (#2013 by @KJhellico) Update Nicaragua holidays (#2011 by @KJhellico) Update Taiwan holidays (#2026 by @KJhellico, @arkid15r) Update US holidays: American Samoa holidays (#2017 by @KJhellico) Update United States holidays: fix Washington's Birthday in GA & IN (#2014 by @KJhellico) Update ci label configuration (#2009 by @arkid15r) Update apostrophes: change ’ to ' (#2016 by @arkid15r) Update working day related calculations (#2010 by @KJhellico, @arkid15r) Add @PPsyrius to CODEOWNERS (#2008 by @arkid15r) Move to holidays from python-holidays (#2027 by @arkid15r) Remove deprecated fix-encoding-pragma, add pyupgrade (#2007 by @PPsyrius, @arkid15r) * Fri Sep 20 2024 kkz <zhaoshuang@uniontech.com> - 0.57-1 - Update package to version 0.57 Update Australia holidays: add en_AU, en_US, th localization (#1977 by @PPsyrius) Fix some docstrings (#1994 by @KJhellico) Update Australia holidays: fix Christmas Day in ACT (#1986 by @KJhellico) Update Germany holidays: add th localization, deprecated non-standard ISO code, add subdivision aliases (#1979 by @PPsyrius, @arkid15r) Update Jersey holidays (#1971 by @PPsyrius) Update South Korea holidays: add Armed Forces Day in 2024 (#1973 by @KJhellico) Update examples to reflect recent holidays changes (#1978 by @KJhellico) Add Frances Xavier Cabrini Day for United States, Colorado (#1995 by @e2thenegpii, @arkid15r) Extend _ThaiLunisolar calendar support to 2157 (#1981 by @PPsyrius) Unify en_US Islamic holidays name translation (#1984 by @KJhellico) * Fri Feb 23 2024 wangjunqi <wangjunqi@kylinos.cn> - 0.43-1 - Update package to version 0.43 Introduce subdivisions aliases (#1662 by @sphh, @arkid15r) Update Ireland holidays (#1687 by @KJhellico) Update Portugal holidays: fix Carnival date (#1694 by @DgRosa) Update Taiwan holidays (#1688 by @KJhellico) Update Thailand holidays: add Bridge Public Holiday on Apr 12, 2024 (#1690 by @PPsyrius) * Fri Dec 08 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 0.38-1 - Update package to version 0.38 * Thu Jul 6 2023 sunhui <sunhui@kylinos.cn> - 0.27.1-1 - Update package to version 0.27.1 * Sun May 23 2021 Python_Bot <Python_Bot@openeuler.org> - Package Spec generated
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2