2024-01-06 11:18:34 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
2024-01-06 11:18:32 +01:00
|
|
|
Name: python-isodate
|
2024-10-18 23:01:20 +02:00
|
|
|
Version: 0.7.2
|
|
|
|
Release: 1mamba
|
2024-01-06 11:18:32 +01:00
|
|
|
Summary: An ISO 8601 date/time/duration parser and formatter
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 11:18:32 +01:00
|
|
|
URL: https://pypi.org/project/isodate/
|
|
|
|
Source: https://pypi.debian.net/isodate/isodate-%{version}.tar.gz
|
2024-01-06 11:18:32 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 11:18:33 +01:00
|
|
|
BuildRequires: libpython311-devel
|
2024-01-06 11:18:32 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 11:18:33 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-06 11:18:32 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
2024-01-06 11:18:32 +01:00
|
|
|
%if 0%{?with_pyver}
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 11:18:32 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n isodate-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-06 11:18:34 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
2024-01-06 11:18:32 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 11:18:34 +01:00
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
2024-01-06 11:18:32 +01:00
|
|
|
|
2024-01-06 11:18:34 +01:00
|
|
|
#%if "%{?with_pyver}" != "3"
|
|
|
|
## Rename any conflicting file outside of python site packages tree
|
|
|
|
#for f in %{_bindir}/{csv2rdf}; do
|
|
|
|
# mv %{buildroot}${f}{,-%{?pyappend}}
|
|
|
|
#done
|
|
|
|
#%endif
|
2024-01-06 11:18:32 +01:00
|
|
|
|
2024-01-06 11:18:34 +01:00
|
|
|
%files %{?pyappend}
|
2024-01-06 11:18:32 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 11:18:34 +01:00
|
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
|
|
%dir %{python_sitelib}/%{pkgname}
|
|
|
|
%{python_sitelib}/%{pkgname}/*
|
2024-01-06 11:18:32 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-10-18 23:01:20 +02:00
|
|
|
* Thu Oct 10 2024 Automatic Build System <autodist@openmamba.org> 0.7.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 08 2024 Automatic Build System <autodist@openmamba.org> 0.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:18:34 +01:00
|
|
|
* Tue Dec 26 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.1-4mamba
|
|
|
|
- rebuilt with python-build and distdeps
|
|
|
|
|
2024-01-06 11:18:33 +01:00
|
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 0.6.1-3mamba
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
2024-01-06 11:18:32 +01:00
|
|
|
* Sun Sep 10 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.1-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-06 11:18:32 +01:00
|
|
|
* Tue Dec 14 2021 Automatic Build System <autodist@mambasoft.it> 0.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:18:32 +01:00
|
|
|
* Tue Jan 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.0-2mamba
|
|
|
|
- rebuilt with python3
|
|
|
|
|
2024-01-06 11:18:32 +01:00
|
|
|
* Tue May 01 2018 Automatic Build System <autodist@mambasoft.it> 0.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:18:32 +01:00
|
|
|
* Tue Nov 03 2015 Automatic Build System <autodist@mambasoft.it> 0.5.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 11:18:32 +01:00
|
|
|
* Wed Dec 03 2014 Automatic Build System <autodist@mambasoft.it> 0.5.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 11:18:32 +01:00
|
|
|
* Thu Feb 27 2014 Automatic Build System <autodist@mambasoft.it> 0.5.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.9-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Tue Oct 30 2012 Automatic Build System <autodist@mambasoft.it> 0.4.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Sep 04 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.8-1mamba
|
|
|
|
- package created by autospec
|