Files
pyp2spec/tests/expected_specfiles/python-markdown-it-py.spec
T

68 lines
1.5 KiB
RPMSpec

Name: python-markdown-it-py
Version: 1.1.0
Release: 3%{?dist}
Summary: Python port of markdown-it
License: MIT
URL: https://github.com/executablebooks/markdown-it-py
Source0: %{url}/archive/v%{version}/markdown-it-py-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
%global _description %{expand:
Markdown parser done right. Its features:
Follows the CommonMark spec for baseline parsing.
Has configurable syntax: you can add new rules and even replace existing ones.
Pluggable: Adds syntax extensions to extend the parser.
High speed & safe by default
}
BuildRequires: python3-setuptools
BuildRequires: python3-pytest
BuildRequires: python3-pytest-benchmark
BuildRequires: python3-psutil
%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}
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files markdown_it
%check
%pytest -k "not test_pretty and \
not test_table_tokens and \
not test_file and \
not test_use_existing_env and \
not test_store_labels and \
not test_linkify"
%files -n python3-markdown-it-py -f %{pyproject_files}
%doc README.md
%license LICENSE LICENSE.markdown-it
%{_bindir}/markdown-it
%changelog
* Fri Jul 23 2021 Package Maintainer <package@maintainer.com> - 1.1.0-3
- Rebuilt