Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37721518
en ru br
ALT Linux repositórios
S:3.0.0-alt1

Group :: Development/Python3
RPM: python3-module-markdown-it

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _unpackaged_files_terminate_build 1

%define oname markdown-it
%define mname markdown_it
%define pypi_name markdown-it-py

%def_with check

Name: python3-module-%oname
Version: 3.0.0
Release: alt1
Summary: Python port of markdown-it. Markdown parsing, done right!
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/markdown-it-py/
Vcs: https://github.com/executablebooks/markdown-it-py
BuildArch: noarch
Source: %name-%version.tar
Source1: %pyproject_deps_config_name

BuildRequires(pre): rpm-build-pyproject

%pyproject_runtimedeps_metadata
%pyproject_builddeps_build

%if_with check
%pyproject_builddeps_metadata_extra testing
%pyproject_builddeps_metadata_extra linkify
%endif

Provides: python3-module-%pypi_name = %EVR

%description
Markdown parser done right.

* Follows the CommonMark spec for baseline parsing
* Configurable syntax: you can add new rules and even replace existing ones.
* Pluggable: Adds syntax extensions to extend the parser (see the plugin list).
* High speed (see our benchmarking tests)
* Safe by default

This is a Python port of markdown-it, and some of its associated plugins.
For more details see: https://markdown-it-py.readthedocs.io.

%package -n %oname
Summary: Python port of markdown-it. Markdown parsing, done right!
Group: Development/Python3
Requires: %name = %EVR

%description -n %oname
Markdown parser done right.

* Follows the CommonMark spec for baseline parsing
* Configurable syntax: you can add new rules and even replace existing ones.
* Pluggable: Adds syntax extensions to extend the parser (see the plugin list).
* High speed (see our benchmarking tests)
* Safe by default

This is a Python port of markdown-it, and some of its associated plugins.
For more details see: https://markdown-it-py.readthedocs.io.

%prep
%setup
%pyproject_deps_resync_build
%pyproject_deps_resync_metadata

%build
%pyproject_build

%install
%pyproject_install

%check
%tox_check_pyproject
%pyproject_run_pytest -ra tests

%files
%doc README.md
%python3_sitelibdir/%mname/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/

%files -n %oname
%_bindir/%oname

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009