Name: python-markdown-exec Version: 1.10.0 Release: %autorelease Summary: Utilities to execute code blocks in Markdown files. License: ISC URL: https://pawamoy.github.io/markdown-exec Source: %{pypi_source markdown_exec} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: This package provides utilities to execute code blocks in Markdown files. For example, you write a Python code block that computes some HTML, and this HTML is injected in place of the code block.} %description %_description %package -n python3-markdown-exec Summary: %{summary} %description -n python3-markdown-exec %_description %pyproject_extras_subpkg -n python3-markdown-exec ansi %prep %autosetup -p1 -n markdown_exec-%{version} %generate_buildrequires %pyproject_buildrequires -x ansi %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -L markdown_exec %check %pytest %files -n python3-markdown-exec -f %{pyproject_files} %license LICENSE %doc README.md CHANGELOG.md %changelog %autochangelog