automatic version update by autodist [release 1.5.3-1mamba;Fri Nov 17 2023]

This commit is contained in:
Automatic Build System 2024-01-06 11:27:53 +01:00
parent 21645b3d37
commit 0d18fdefec

View File

@ -1,20 +1,31 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-mkdocs
Version: 1.4.0
Release: 2mamba
Version: 1.5.3
Release: 1mamba
Summary: Project documentation with Markdown
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.mkdocs.org/
## GITSOURCE https://github.com/mkdocs/mkdocs.git 0.17.5
Source: https://github.com/mkdocs/mkdocs.git/%{version}/mkdocs-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(click)
BuildRequires: python3.11dist(ghp-import)
BuildRequires: python3.11dist(jinja2)
BuildRequires: python3.11dist(markdown)
BuildRequires: python3.11dist(markupsafe)
BuildRequires: python3.11dist(mergedeep)
BuildRequires: python3.11dist(packaging)
BuildRequires: python3.11dist(pathspec)
BuildRequires: python3.11dist(platformdirs)
BuildRequires: python3.11dist(pyyaml)
BuildRequires: python3.11dist(pyyaml-env-tag)
BuildRequires: python3.11dist(watchdog)
## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
Requires: python >= %python_version
%description
%{summary}.
@ -27,24 +38,35 @@ Requires: python >= %python_version
%setup -q -n mkdocs-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%if "%{?with_pyver}" != "3"
# Rename any conflicting file outside of python site packages tree
for f in %{_bindir}/mkdocs; do
mv %{buildroot}${f}{,-%{?pyappend}}
done
%endif
%files %{?pyappend} -f %{name}.filelist
%files %{?pyappend}
%defattr(-,root,root)
%{_bindir}/mkdocs*
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitelib}/%{pkgname}
%{python_sitelib}/%{pkgname}/*
%doc LICENSE
%changelog
* Fri Nov 17 2023 Automatic Build System <autodist@mambasoft.it> 1.5.3-1mamba
- automatic version update by autodist
* Sat Oct 07 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1mamba
- update to 1.4.2
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 1.4.0-2mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba