40 lines
1.2 KiB
Bash
40 lines
1.2 KiB
Bash
# Template file for 'python3-docutils'
|
|
pkgname=python3-docutils
|
|
version=0.18.1
|
|
revision=1
|
|
wrksrc="docutils-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
# docutils/writers/odf_odt/pygmentsformatter.py
|
|
depends="python3-Pygments"
|
|
checkdepends="${depends}"
|
|
short_desc="Python3 documentation utilities"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="Public Domain, BSD-2-Clause, GPL-3.0-or-later, Python-2.0"
|
|
homepage="http://docutils.sourceforge.net"
|
|
distfiles="${PYPI_SITE}/d/docutils/docutils-${version}.tar.gz"
|
|
checksum=679987caf361a7539d76e584cbeddc311e3aee937877c87346f31debc63e9d06
|
|
|
|
alternatives="
|
|
docutils:rst2html:/usr/bin/rst2html.py
|
|
docutils:rst2html4:/usr/bin/rst2html4.py
|
|
docutils:rst2html5:/usr/bin/rst2html5.py
|
|
docutils:rst2latex:/usr/bin/rst2latex.py
|
|
docutils:rst2man:/usr/bin/rst2man.py
|
|
docutils:rst2odt:/usr/bin/rst2odt.py
|
|
docutils:rst2odt_prepstyles:/usr/bin/rst2odt_prepstyles.py
|
|
docutils:rst2pseudoxml:/usr/bin/rst2pseudoxml.py
|
|
docutils:rst2s5:/usr/bin/rst2s5.py
|
|
docutils:rst2xetex:/usr/bin/rst2xetex.py
|
|
docutils:rst2xml:/usr/bin/rst2xml.py
|
|
docutils:rstpep2html:/usr/bin/rstpep2html.py"
|
|
|
|
do_check() {
|
|
cd test
|
|
python3 alltests.py
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING.txt COPYING
|
|
}
|