Group :: Development/Python3
RPM: python3-module-docutils
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname docutils
%def_enable check
Summary: Docutils -- Python Documentation Utilities
Version: 0.20.1
Release: alt1
Name: python3-module-%oname
License: PDDL and Python and BSD and GPLv3
Group: Development/Python3
BuildArch: noarch
URL: http://docutils.sourceforge.net/
# https://pypi.org/project/docutils/
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel
Conflicts: python-module-docutils
%add_python3_req_skip pygments
%add_python3_req_skip pygments.formatter
%description
Docutils is a modular system for processing documentation
into useful formats, such as HTML, XML, and LaTeX. For
input Docutils supports reStructuredText, an easy-to-read,
what-you-see-is-what-you-get plaintext markup syntax.
%prep
%setup -q
%build
%python3_build
%install
%python3_install
pushd %buildroot%_bindir
for i in *.py; do
mv $i $(basename $i .py)
done
popd
%check
python3 test/alltests.py
%files
%_bindir/*
%python3_sitelibdir/*
%changelog
…
Full changelog you can see here
%define oname docutils
%def_enable check
Summary: Docutils -- Python Documentation Utilities
Version: 0.20.1
Release: alt1
Name: python3-module-%oname
License: PDDL and Python and BSD and GPLv3
Group: Development/Python3
BuildArch: noarch
URL: http://docutils.sourceforge.net/
# https://pypi.org/project/docutils/
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-devel
Conflicts: python-module-docutils
%add_python3_req_skip pygments
%add_python3_req_skip pygments.formatter
%description
Docutils is a modular system for processing documentation
into useful formats, such as HTML, XML, and LaTeX. For
input Docutils supports reStructuredText, an easy-to-read,
what-you-see-is-what-you-get plaintext markup syntax.
%prep
%setup -q
%build
%python3_build
%install
%python3_install
pushd %buildroot%_bindir
for i in *.py; do
mv $i $(basename $i .py)
done
popd
%check
python3 test/alltests.py
%files
%_bindir/*
%python3_sitelibdir/*
%changelog
…
Full changelog you can see here