summaryrefslogtreecommitdiff
path: root/python-markdown-it-py.spec
blob: 4bf955dc900db270cf0ec34dd17e8de89bd4d6a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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