python-markdown-it-py/python-markdown-it-py.spec
2023-08-01 16:11:45 +08:00

53 lines
1.3 KiB
RPMSpec

%global _empty_manifest_terminate_build 0
Name: python-markdown-it-py
Version: 3.0.0
Release: 1
Summary: Python port of markdown-it and some of its associated plugins.
License: MIT
URL: https://github.com/executablebooks/markdown-it-py
Source: https://files.pythonhosted.org/packages/38/71/3b932df36c1a044d397a1f92d1cf91ee0a503d91e470cbd670aa66b07ed0/markdown-it-py-3.0.0.tar.gz
Patch1: 0001-modify-the-operator-of-version-required-to-gt.patch
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-pytest
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
BuildRequires: python3-flit-core
%global _description %{expand:
Python port of markdown-it and some of its associated plugins.}
%description %_description
%package -n python3-markdown-it-py
Summary: %{summary}
%description -n python3-markdown-it-py %_description
%prep
%autosetup -p1 -n markdown-it-py-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-markdown-it-py
%doc README.md
%license LICENSE*
%{_bindir}/markdown-it
%{python3_sitelib}/markdown_it
%{python3_sitelib}/markdown_it_py*.dist-info/
%changelog
* Tue Aug 1 2023 Dongxing Wang <dxwangk@isoftstone.com> - 3.0.0-1
- Initial package