Group :: Development/Python3
RPM: python3-module-recommonmark
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%global pypi_name recommonmark
# test suite is failing https://github.com/readthedocs/recommonmark/issues/219
# upstream will not fix it.
%def_without check
Name: python3-module-%pypi_name
Version: 0.7.1
Release: alt1
Summary: A markdown parser for docutils
License: MIT
Group: Development/Python3
Url: https://github.com/readthedocs/recommonmark
BuildArch: noarch
Packager: L.A. Kostis <lakostis at altlinux.ru>
Source0: %name-%version.tar
BuildRequires(pre): rpm-build-python3
# build backend and its deps
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
BuildRequires: python3(setuptools_scm)
%if_with check
BuildRequires: python3(pytest)
BuildRequires: python3(commonmark)
BuildRequires: python3(docutils)
BuildRequires: python3(sphinx)
BuildRequires: python3(sphinx_rtd_theme)
%endif
Conflicts: python-module-recommonmark
%description
A docutils-compatibility bridge to CommonMark.
This allows you to write CommonMark inside of Docutils & Sphinx projects.
Warning: recommonmark is now deprecated. Please use python3-module-myst-parser instead.
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_check_pyproject
%files
%doc *.md
%_bindir/*
%python3_sitelibdir/%pypi_name/*
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Todas as alterações você pod ver aqui
%global pypi_name recommonmark
# test suite is failing https://github.com/readthedocs/recommonmark/issues/219
# upstream will not fix it.
%def_without check
Name: python3-module-%pypi_name
Version: 0.7.1
Release: alt1
Summary: A markdown parser for docutils
License: MIT
Group: Development/Python3
Url: https://github.com/readthedocs/recommonmark
BuildArch: noarch
Packager: L.A. Kostis <lakostis at altlinux.ru>
Source0: %name-%version.tar
BuildRequires(pre): rpm-build-python3
# build backend and its deps
BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)
BuildRequires: python3(setuptools_scm)
%if_with check
BuildRequires: python3(pytest)
BuildRequires: python3(commonmark)
BuildRequires: python3(docutils)
BuildRequires: python3(sphinx)
BuildRequires: python3(sphinx_rtd_theme)
%endif
Conflicts: python-module-recommonmark
%description
A docutils-compatibility bridge to CommonMark.
This allows you to write CommonMark inside of Docutils & Sphinx projects.
Warning: recommonmark is now deprecated. Please use python3-module-myst-parser instead.
%prep
%setup
%build
%pyproject_build
%install
%pyproject_install
%check
%tox_check_pyproject
%files
%doc *.md
%_bindir/*
%python3_sitelibdir/%pypi_name/*
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Todas as alterações você pod ver aqui