99 lines
3.2 KiB
RPMSpec
99 lines
3.2 KiB
RPMSpec
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
|
Name: python-beautifulsoup4
|
|
Version: 4.12.2
|
|
Release: 1mamba
|
|
Summary: A library that makes it easy to scrape information from web pages
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://www.crummy.com/software/BeautifulSoup/
|
|
Source: https://pypi.debian.net/beautifulsoup4/beautifulsoup4-%{version}.tar.gz
|
|
License: MIT
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython311-devel
|
|
BuildRequires: python3.11dist(soupsieve)
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%if 0%{?with_pyver}
|
|
%pyver_package
|
|
%endif
|
|
|
|
%prep
|
|
%setup -q -n beautifulsoup4-%{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_sitelib}/%{pkgname}-%{version}.dist-info
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
%dir %{python_sitelib}/bs4
|
|
%{python_sitelib}/bs4/*
|
|
%doc LICENSE
|
|
|
|
%changelog
|
|
* Fri Dec 01 2023 Automatic Build System <autodist@mambasoft.it> 4.12.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 4.12.0-2mamba
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
* Tue Mar 21 2023 Automatic Build System <autodist@mambasoft.it> 4.12.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Feb 01 2023 Automatic Build System <autodist@mambasoft.it> 4.11.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed May 04 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.1-3mamba
|
|
- build with python 3.10
|
|
|
|
* Fri Apr 29 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.1-2mamba
|
|
- rebuilt with distdeps
|
|
|
|
* Sat Apr 09 2022 Automatic Build System <autodist@mambasoft.it> 4.11.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Apr 08 2022 Automatic Build System <autodist@mambasoft.it> 4.11.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Oct 11 2021 Automatic Build System <autodist@mambasoft.it> 4.10.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Oct 04 2020 Automatic Build System <autodist@mambasoft.it> 4.9.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Sep 27 2020 Automatic Build System <autodist@mambasoft.it> 4.9.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue May 19 2020 Automatic Build System <autodist@mambasoft.it> 4.9.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Apr 23 2020 Automatic Build System <autodist@mambasoft.it> 4.9.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Dec 31 2019 Automatic Build System <autodist@mambasoft.it> 4.8.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Nov 15 2019 Automatic Build System <autodist@mambasoft.it> 4.8.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Aug 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.0-1mamba
|
|
- package created using the webbuild interface
|