diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-18 13:58:54 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-18 13:58:54 +0000 |
commit | 6100dc965c01b8d72246c3847ce24cbb5834cdbb (patch) | |
tree | 78b5b6853b0f9f5749b1e4bd6c3df505e44aec86 /python-markdown-it-py.spec | |
parent | e71652f834b4dcd9bc39709615d7b16380fdf11c (diff) |
automatic import of python-markdown-it-pyopeneuler23.09
Diffstat (limited to 'python-markdown-it-py.spec')
-rw-r--r-- | python-markdown-it-py.spec | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/python-markdown-it-py.spec b/python-markdown-it-py.spec new file mode 100644 index 0000000..4bf955d --- /dev/null +++ b/python-markdown-it-py.spec @@ -0,0 +1,52 @@ +%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 |