Compare commits

..

No commits in common. "f200b4b1a713bb715bba0d8cb1bd7bfb9dcef1d3" and "0fd2fde6fcb6720cdfaa549a6c250388a7c762ab" have entirely different histories.

3 changed files with 10 additions and 27 deletions

BIN
Markdown-3.3.1.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,16 +1,16 @@
%{!?python3_version: %global python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")} %{!?python3_version: %global python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")}
Name: python-markdown Name: python-markdown
Version: 3.5.1 Version: 3.3.1
Release: 1 Release: 4
Summary: A Python implementation of John Grubers Markdown Summary: A Python implementation of John Grubers Markdown
License: BSD-3-Clause License: BSD
URL: https://pypi.org/project/Markdown/ URL: https://pypi.org/project/Markdown/
Source0: %{pypi_source Markdown} Source0: https://pypi.python.org/packages/source/M/Markdown/Markdown-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel >= 3.1 python3-nose2 python3-pyyaml python3-pip python3-wheel BuildRequires: python3-devel >= 3.1 python3-nose2 python3-pyyaml
%description %description
This is a Python implementation of John Grubers Markdown. This is a Python implementation of John Grubers Markdown.
@ -30,40 +30,23 @@ though there are a few known issues.
%prep %prep
%autosetup -n Markdown-%{version} -p1 %autosetup -n Markdown-%{version} -p1
find markdown -type f -name '*.py' -exec sed -i -e '/^#!/{1D}' {} \;
find docs -type f -exec sed -i 's/\r//' {} \;
%build %build
%pyproject_build %{__python3} setup.py build
%install %install
%pyproject_install %{__python3} setup.py install -O1 --skip-build --root %{buildroot}
PYTHONPATH=%{buildroot}%{python3_sitelib} \
%{buildroot}%{_bindir}/markdown_py \
LICENSE.md > LICENSE.html
%check %check
%{__python3} -m unittest discover tests %{__python3} -m unittest discover tests
%files -n python3-markdown %files -n python3-markdown
%license LICENSE.html LICENSE.md
%{python3_sitelib}/* %{python3_sitelib}/*
%{_bindir}/markdown_py %{_bindir}/markdown_py
%changelog %changelog
* Mon Jan 8 2024 liyanan <liyanan61@h-partners.com> - 3.5.1-1
- Upgrade to 3.5.1
* Wed May 31 2023 chenchen <chen_aka_jan@163.com> - 3.4.1-1
- Upgrade to 3.4.1
* Tue Jan 17 2023 caofei <caofei@xfusion.com> - 3.3.7-2
- Update th/td to use style attribute
* Thu Jun 09 2022 SimpleUpdate Robot <tc@openeuler.org> - 3.3.7-1
- Upgrade to version 3.3.7
* Tue May 10 2022 Ge Wang <wangge20@h-partner.com> - 3.3.1-5
- License compliance rectification
* Wed Jan 05 2022 Ge Wang <wangge20@huawei.com> - 3.3.1-4 * Wed Jan 05 2022 Ge Wang <wangge20@huawei.com> - 3.3.1-4
- Change BuildRequires from python3-nose to python3-nose2 due to python3-nose is abandoned - Change BuildRequires from python3-nose to python3-nose2 due to python3-nose is abandoned