python-yarl/python-yarl.spec

99 lines
3.2 KiB
RPMSpec
Raw Permalink Normal View History

%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-yarl
Version: 1.9.9
Release: 1mamba
Summary: Yet another URL library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.org/project/yarl/
Source: https://pypi.debian.net/yarl/yarl-%{version}.tar.gz
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(idna)
BuildRequires: python3.11dist(multidict)
## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
BuildRequires: python-expandvars-py3
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n yarl-%{version}
%build
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
#%if "%{?with_pyver}" != "3"
## Rename any conflicting file outside of python site packages tree
#for f in %{_bindir}/pdm; do
# mv %{buildroot}${f}{,-%{?pyappend}}
#done
#%endif
%files %{?pyappend}
%defattr(-,root,root)
%dir %{python_sitearch}/%{pkgname}-%{version}.dist-info
%{python_sitearch}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitearch}/%{pkgname}
%{python_sitearch}/%{pkgname}/*
%doc LICENSE
%changelog
* Thu Sep 05 2024 Automatic Build System <autodist@openmamba.org> 1.9.9-1mamba
- automatic version update by autodist
* Wed Sep 04 2024 Automatic Build System <autodist@openmamba.org> 1.9.8-1mamba
- automatic version update by autodist
* Mon Sep 02 2024 Automatic Build System <autodist@openmamba.org> 1.9.7-1mamba
- automatic version update by autodist
* Sat Aug 31 2024 Automatic Build System <autodist@openmamba.org> 1.9.6-1mamba
- automatic version update by autodist
* Sat Aug 31 2024 Automatic Build System <autodist@openmamba.org> 1.9.5-1mamba
- automatic version update by autodist
* Tue Mar 19 2024 Automatic Build System <autodist@openmamba.org> 1.9.4-1mamba
- automatic version update by autodist
* Wed Sep 27 2023 Automatic Build System <autodist@mambasoft.it> 1.9.2-2mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
* Wed Apr 26 2023 Automatic Build System <autodist@mambasoft.it> 1.9.2-1mamba
- automatic version update by autodist
* Sun Apr 23 2023 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
- automatic version update by autodist
* Sat Dec 03 2022 Automatic Build System <autodist@mambasoft.it> 1.8.2-1mamba
- automatic version update by autodist
* Wed Aug 03 2022 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
- automatic version update by autodist
* Tue Nov 02 2021 Automatic Build System <autodist@mambasoft.it> 1.7.2-1mamba
- automatic version update by autodist
* Sun Oct 10 2021 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
- automatic version update by autodist
* Thu Jan 21 2021 Automatic Build System <autodist@mambasoft.it> 1.6.3-1mamba
- automatic version update by autodist
* Wed Sep 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.0-1mamba
- package created using the webbuild interface