64 lines
1.6 KiB
RPMSpec
64 lines
1.6 KiB
RPMSpec
Name: python-mistune
|
|
Version: 2.0.4
|
|
Release: 1
|
|
Summary: A Python Markdown Parser
|
|
License: BSD-3-Clause
|
|
URL: https://github.com/lepture/mistune
|
|
Source0: %url/archive/v%{version}/mistune-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-pbr
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-hatchling
|
|
BuildRequires: python3-pytest
|
|
|
|
%description
|
|
The python-mistune package is a fast yet powerful Python Markdown
|
|
parser with renderers and plugins, compatible with sane CommonMark
|
|
rules.
|
|
|
|
%package -n python3-mistune
|
|
Summary: A Python Markdown Parser
|
|
|
|
%description -n python3-mistune
|
|
The python-mistune package is a fast yet powerful Python Markdown
|
|
parser with renderers and plugins, compatible with sane CommonMark
|
|
rules.
|
|
|
|
%prep
|
|
%autosetup -n mistune-%{version} -p1
|
|
|
|
%build
|
|
%pyproject_build
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
%check
|
|
%pytest
|
|
|
|
%files -n python3-mistune
|
|
%doc LICENSE README.rst
|
|
%{python3_sitelib}/mistune
|
|
%{python3_sitelib}/mistune-*.dist-info
|
|
|
|
%changelog
|
|
* Tue Nov 7 2023 Dongxing Wang <dxwangk@isoftstone.com> - 2.0.4-1
|
|
- Upgrade package to version 2.0.4
|
|
|
|
* Thu May 5 2022 caodongxia <caodongxia@h-partners.com> - 0.8.3-9
|
|
- Remove dependency on python-nose
|
|
|
|
* Fri Apr 01 2022 yangping <yangping69@huawei.com> - 0.8.3-8
|
|
- Fix build error caused by py3.10+ wildcard
|
|
|
|
* Thu Jul 22 2021 wangyue <wangyue92@huawei.com> - 0.8.3-7
|
|
- Remove python2-mistune subpackage and remove python2 related buildrequire
|
|
|
|
* Thu Mar 05 2020 Jiangping Hu <hujp1985@foxmail.com> - 0.8.3-6
|
|
- Package init
|