2024-01-06 10:40:43 +01:00
|
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
2024-01-06 10:40:42 +01:00
|
|
|
|
Name: python-Markdown
|
2024-03-26 20:55:38 +01:00
|
|
|
|
Version: 3.6
|
2024-01-06 10:40:43 +01:00
|
|
|
|
Release: 1mamba
|
2024-01-06 10:40:42 +01:00
|
|
|
|
Summary: a Python implementation of John Gruber’s Markdown
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Vendor: openmamba
|
|
|
|
|
Distribution: openmamba
|
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
|
URL: https://pypi.org/project/Markdown/
|
|
|
|
|
Source: https://pypi.debian.net/Markdown/Markdown-%{version}.tar.gz
|
|
|
|
|
License: BSD
|
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 10:40:43 +01:00
|
|
|
|
BuildRequires: libpython311-devel
|
2024-01-06 10:40:42 +01:00
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 10:40:43 +01:00
|
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-06 10:40:42 +01:00
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_pyver}
|
|
|
|
|
%pyver_package
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Markdown-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
2024-01-06 10:40:43 +01:00
|
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
2024-01-06 10:40:42 +01:00
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 10:40:43 +01:00
|
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
2024-01-06 10:40:42 +01:00
|
|
|
|
|
2024-01-06 10:40:43 +01:00
|
|
|
|
%if "%{?with_pyver}" != "3"
|
|
|
|
|
# Rename any conflicting file outside of python site packages tree
|
|
|
|
|
for f in %{_bindir}/markdown_py; do
|
|
|
|
|
mv %{buildroot}${f}{,-%{?pyappend}}
|
|
|
|
|
done
|
2024-01-06 10:40:42 +01:00
|
|
|
|
%endif
|
|
|
|
|
|
2024-01-06 10:40:43 +01:00
|
|
|
|
%files %{?pyappend}
|
2024-01-06 10:40:42 +01:00
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 10:40:43 +01:00
|
|
|
|
%{_bindir}/markdown_py*
|
|
|
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
|
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
|
|
|
%dir %{python_sitelib}/markdown
|
|
|
|
|
%{python_sitelib}/markdown/*
|
2024-01-06 10:40:42 +01:00
|
|
|
|
|
|
|
|
|
%changelog
|
2024-03-26 20:55:38 +01:00
|
|
|
|
* Fri Mar 15 2024 Automatic Build System <autodist@openmamba.org> 3.6-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-11 10:36:34 +01:00
|
|
|
|
* Wed Jan 10 2024 Automatic Build System <autodist@openmamba.org> 3.5.2-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 10:40:43 +01:00
|
|
|
|
* Sat Nov 11 2023 Automatic Build System <autodist@mambasoft.it> 3.5.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 10:40:43 +01:00
|
|
|
|
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 3.4.1-2mamba
|
|
|
|
|
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
|
|
|
|
|
|
2024-01-06 10:40:42 +01:00
|
|
|
|
* Sat Jul 16 2022 Automatic Build System <autodist@mambasoft.it> 3.4.1-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 10:40:42 +01:00
|
|
|
|
* Sat May 07 2022 Automatic Build System <autodist@mambasoft.it> 3.3.7-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 10:40:42 +01:00
|
|
|
|
* Thu Nov 18 2021 Automatic Build System <autodist@mambasoft.it> 3.3.6-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 10:40:42 +01:00
|
|
|
|
* Thu Mar 18 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.4-2mamba
|
|
|
|
|
- rebuilt with python deps
|
|
|
|
|
|
2024-01-06 10:40:42 +01:00
|
|
|
|
* Thu Feb 25 2021 Automatic Build System <autodist@mambasoft.it> 3.3.4-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 10:40:42 +01:00
|
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 3.3.3-1mamba
|
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
2024-01-06 10:40:42 +01:00
|
|
|
|
* Tue Sep 08 2020 Automatic Build System <autodist@mambasoft.it> 3.2.2-1mamba
|
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
2024-01-06 10:40:42 +01:00
|
|
|
|
* Wed Jul 10 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1-2mamba
|
|
|
|
|
- fixed conflict in /usr/bin between different python package builds
|
|
|
|
|
|
2024-01-06 10:40:42 +01:00
|
|
|
|
* Sat Mar 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1-1mamba
|
|
|
|
|
- package created using the webbuild interface
|