%global giturl https://github.com/executablebooks/sphinx-thebe Name: python-sphinx-thebe Version: 0.3.1 Release: %autorelease Summary: Integrate interactive code blocks into your documentation License: MIT BuildArch: noarch URL: https://sphinx-thebe.readthedocs.io/en/latest/ VCS: git:%{giturl}.git Source: %{giturl}/archive/v%{version}/sphinx-thebe-%{version}.tar.gz BuildSystem: pyproject BuildOption(generate_buildrequires): -t -x test BuildOption(install): -l sphinx_thebe %global _description %{expand: Integrate interactive code blocks into your documentation with Thebe and Binder.} %description %_description %package -n python3-sphinx-thebe Summary: Integrate interactive code blocks into your documentation %description -n python3-sphinx-thebe %_description %generate_buildrequires -p export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}' %build -p export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}' %install -p export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}' %check %tox %files -n python3-sphinx-thebe -f %{pyproject_files} %doc CHANGELOG.md README.md %changelog %autochangelog