Sisyphus repository
Last update: 22 october 2019 | SRPMs: 17517 | Visits: 15405722
en ru br
ALT Linux repos

Group :: Development/Python
RPM: python-module-m2r

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define github_name m2r
%define commit 871d57941e74e29bb66ae6d65fa0517e6001f62a

%def_without check
%def_with python3

%define modulename m2r
Name: python-module-m2r
Version: 0.11
Release: alt1

Summary: Markdown to reStructuredText converter

License: MIT
Group: Development/Python

Packager: Vitaly Lipatov <lav at>

# Source-url:{github_name}/archive/%{commit}/%{github_name}-%{commit}.tar.gz

Source: %name-%version.tar

BuildRequires: python-dev python-module-setuptools
BuildRequires: python-module-docutils
BuildRequires: python-module-mistune
BuildRequires: python-module-Pygments
BuildRequires: python-module-mock

BuildArch: noarch

%if_with python3
BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-devel python3-module-setuptools
BuildRequires: python3-module-docutils
BuildRequires: python3-module-mistune
BuildRequires: python3-module-Pygments
BuildRequires: python3-module-mock

M2R converts a markdown file including reST markups to a valid reST format.

%package -n python3-module-m2r
Summary: A featureful, correct URL for Python
Group: Development/Python3

%description -n python3-module-m2r
M2R converts a markdown file including reST markups to a valid reST format.


%if_with python3
cp -fR . ../python3


%if_with python3
pushd ../python3


%if_with python3
pushd ../python3


%if_with python3
%files -n python3-module-m2r


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin