2024-01-05 16:49:10 +01:00
|
|
|
Name: python-tz
|
2024-01-05 16:49:11 +01:00
|
|
|
Version: 2022.7.1
|
2024-01-05 16:49:12 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 16:49:10 +01:00
|
|
|
Summary: World Timezone Definitions for Python
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 16:49:11 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://pythonhosted.org/pytz/
|
2024-01-05 16:49:10 +01:00
|
|
|
Source: http://pypi.debian.net/pytz/pytz-%{version}.tar.gz
|
2024-01-05 16:49:10 +01:00
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 16:49:11 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-05 16:49:10 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
pytz brings the Olson tz database into Python.
|
|
|
|
This library allows accurate and cross platform timezone calculations using Python 2.3 or higher.
|
|
|
|
It also solves the issue of ambiguous times at the end of daylight savings, which you can read more about in the Python Library Reference (datetime.tzinfo).
|
|
|
|
|
2024-01-05 16:49:10 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-05 16:49:10 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n pytz-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%{__python} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{_includedir}/python \
|
|
|
|
--install-lib=%{python_sitearch} \
|
|
|
|
--single-version-externally-managed \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
2024-01-05 16:49:11 +01:00
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-05 16:49:10 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 16:49:10 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-05 16:49:10 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 16:49:11 +01:00
|
|
|
%dir %{python_sitearch}/pytz-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/pytz-%{version}-py*.egg-info/*
|
|
|
|
%doc LICENSE.txt
|
2024-01-05 16:49:10 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 16:49:12 +01:00
|
|
|
* Thu Mar 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2022.7.1-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-05 16:49:11 +01:00
|
|
|
* Sun Jan 15 2023 Automatic Build System <autodist@mambasoft.it> 2022.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:49:11 +01:00
|
|
|
* Sun Dec 18 2022 Automatic Build System <autodist@mambasoft.it> 2022.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:49:11 +01:00
|
|
|
* Tue Nov 01 2022 Automatic Build System <autodist@mambasoft.it> 2022.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:49:11 +01:00
|
|
|
* Wed Oct 19 2022 Automatic Build System <autodist@mambasoft.it> 2022.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:49:11 +01:00
|
|
|
* Sun Oct 02 2022 Automatic Build System <autodist@mambasoft.it> 2022.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:49:11 +01:00
|
|
|
* Sun Aug 14 2022 Automatic Build System <autodist@mambasoft.it> 2022.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:49:11 +01:00
|
|
|
* Sat Aug 13 2022 Automatic Build System <autodist@mambasoft.it> 2022.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:49:11 +01:00
|
|
|
* Mon Mar 21 2022 Automatic Build System <autodist@mambasoft.it> 2022.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 16:49:11 +01:00
|
|
|
* Sun Oct 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2021.3-1mamba
|
|
|
|
- update to 2021.3
|
|
|
|
|
2024-01-05 16:49:11 +01:00
|
|
|
* Fri Apr 09 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2021.1-2mamba
|
|
|
|
- rebuilt with distdeps
|
|
|
|
|
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 2021.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Sep 10 2020 Automatic Build System <autodist@mambasoft.it> 2020.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:49:10 +01:00
|
|
|
* Fri Aug 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2019.2-1mamba
|
|
|
|
- update to 2019.2
|
|
|
|
|
2024-01-05 16:49:10 +01:00
|
|
|
* Thu May 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2019.1-1mamba
|
|
|
|
- update to 2019.1
|
|
|
|
|
2024-01-05 16:49:10 +01:00
|
|
|
* Thu Oct 26 2017 Automatic Build System <autodist@mambasoft.it> 2016.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:49:10 +01:00
|
|
|
* Sat Sep 17 2016 Automatic Build System <autodist@mambasoft.it> 2016.6.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 16:49:10 +01:00
|
|
|
* Fri Mar 20 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2014.10-1mamba
|
|
|
|
- update to 2014.10
|
|
|
|
|
2024-01-05 16:49:10 +01:00
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2012h-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Sun Nov 04 2012 Automatic Build System <autodist@mambasoft.it> 2012h-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Oct 31 2012 Automatic Build System <autodist@mambasoft.it> 2012g-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Oct 11 2012 Automatic Build System <autodist@mambasoft.it> 2012f-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Aug 09 2012 Automatic Build System <autodist@mambasoft.it> 2012d-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Mar 10 2012 Automatic Build System <autodist@mambasoft.it> 2012b-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Mar 12 2011 Automatic Build System <autodist@mambasoft.it> 2011c-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 11 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2010l-1mamba
|
|
|
|
- package created by autospec
|