python-arrow/python-arrow.spec

131 lines
4.4 KiB
RPMSpec
Raw Normal View History

Name: python-arrow
Version: 1.3.0
Release: 2mamba
Summary: Better dates and times for Python
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://arrow.readthedocs.io/en/latest/
Source: https://pypi.debian.net/arrow/arrow-%{version}.tar.gz
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(python-dateutil)
BuildRequires: python3.11dist(types-python-dateutil)
## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
BuildArch: noarch
%description
%{summary}.
%if "%{?with_pyver}"
%if "%{?with_pyver}" == "3"
%define py_requires_append \
Obsoletes: python-arrow-py310 < 1.3.0-2mamba
%endif
%pyver_package
%endif
%prep
%setup -q -n arrow-%{version}
%build
CFLAGS="%{optflags}" %{__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} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/arrow-%{version}-py*.egg-info
%{python_sitearch}/arrow-%{version}-py*.egg-info/*
%changelog
* Thu Mar 14 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba
- obsolete python-arrow-py310
* Tue Nov 07 2023 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
* Wed Sep 27 2023 Automatic Build System <autodist@mambasoft.it> 1.2.3-3mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
* Fri Apr 07 2023 Sdk Build System <sdk@mambasoft.it> 1.2.3-2mamba
- rebuilt with python 3.10
* Mon Sep 12 2022 Automatic Build System <autodist@mambasoft.it> 1.2.3-1mamba
- automatic version update by autodist
* Thu Jan 27 2022 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
- automatic version update by autodist
* Mon Oct 25 2021 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- automatic version update by autodist
* Sat Oct 02 2021 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist
* Fri Jun 25 2021 Automatic Build System <autodist@mambasoft.it> 1.1.1-1mamba
- automatic version update by autodist
* Wed Apr 28 2021 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
- automatic version update by autodist
* Sun Apr 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3-1mamba
- update to 1.0.3
* Wed Oct 07 2020 Automatic Build System <autodist@mambasoft.it> 0.17.0-1mamba
- automatic version update by autodist
* Tue Aug 25 2020 Automatic Build System <autodist@mambasoft.it> 0.16.0-1mamba
- automatic version update by autodist
* Mon Aug 10 2020 Automatic Build System <autodist@mambasoft.it> 0.15.8-1mamba
- automatic version update by autodist
* Sat Jun 20 2020 Automatic Build System <autodist@mambasoft.it> 0.15.7-1mamba
- automatic version update by autodist
* Tue Jan 07 2020 Automatic Build System <autodist@mambasoft.it> 0.15.5-1mamba
- automatic version update by autodist
* Sun Sep 15 2019 Automatic Build System <autodist@mambasoft.it> 0.15.2-1mamba
- automatic version update by autodist
* Thu Sep 12 2019 Automatic Build System <autodist@mambasoft.it> 0.15.1-1mamba
- automatic version update by autodist
* Wed Sep 11 2019 Automatic Build System <autodist@mambasoft.it> 0.15.0-1mamba
- automatic version update by autodist
* Mon Aug 12 2019 Automatic Build System <autodist@mambasoft.it> 0.14.5-1mamba
- automatic version update by autodist
* Mon Aug 05 2019 Automatic Build System <autodist@mambasoft.it> 0.14.4-1mamba
- automatic version update by autodist
* Mon Jul 29 2019 Automatic Build System <autodist@mambasoft.it> 0.14.3-1mamba
- automatic version update by autodist
* Wed Jun 05 2019 Automatic Build System <autodist@mambasoft.it> 0.14.2-1mamba
- automatic version update by autodist
* Thu Feb 21 2019 Automatic Build System <autodist@mambasoft.it> 0.13.1-1mamba
- automatic version update by autodist
* Tue May 01 2018 Automatic Build System <autodist@mambasoft.it> 0.12.1-1mamba
- automatic version update by autodist
* Thu Jul 02 2015 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.5.4-1mamba
- package created using the webbuild interface