python3-docutils: update to 0.21.2.
This commit is contained in:
parent
7457e54b32
commit
9d0ac5b53a
24
srcpkgs/python3-docutils/patches/fix-test.patch
Normal file
24
srcpkgs/python3-docutils/patches/fix-test.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
--- a/test/test_parsers/test_rst/test_directives/test_code.py
|
||||||
|
+++ b/test/test_parsers/test_rst/test_directives/test_code.py
|
||||||
|
@@ -167,7 +167,8 @@
|
||||||
|
7 \n\
|
||||||
|
<inline classes="keyword">
|
||||||
|
def
|
||||||
|
- \n\
|
||||||
|
+ <inline classes="whitespace">
|
||||||
|
+ \n\
|
||||||
|
<inline classes="name function">
|
||||||
|
my_function
|
||||||
|
<inline classes="punctuation">
|
||||||
|
--- a/test/test_parsers/test_rst/test_directives/test_code_long.py
|
||||||
|
+++ b/test/test_parsers/test_rst/test_directives/test_code_long.py
|
||||||
|
@@ -62,7 +62,8 @@
|
||||||
|
7 \n\
|
||||||
|
<inline classes="keyword">
|
||||||
|
def
|
||||||
|
- \n\
|
||||||
|
+ <inline classes="whitespace">
|
||||||
|
+ \n\
|
||||||
|
<inline classes="name function">
|
||||||
|
my_function
|
||||||
|
<inline classes="punctuation">
|
@ -1,9 +1,9 @@
|
|||||||
# Template file for 'python3-docutils'
|
# Template file for 'python3-docutils'
|
||||||
pkgname=python3-docutils
|
pkgname=python3-docutils
|
||||||
version=0.20.1
|
version=0.21.2
|
||||||
revision=3
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-pep517
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-flit_core"
|
||||||
# docutils/writers/odf_odt/pygmentsformatter.py
|
# docutils/writers/odf_odt/pygmentsformatter.py
|
||||||
depends="python3-Pygments"
|
depends="python3-Pygments"
|
||||||
checkdepends="${depends} python3-pytest"
|
checkdepends="${depends} python3-pytest"
|
||||||
@ -12,21 +12,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
|||||||
license="Public Domain, BSD-2-Clause, GPL-3.0-or-later, Python-2.0"
|
license="Public Domain, BSD-2-Clause, GPL-3.0-or-later, Python-2.0"
|
||||||
homepage="https://docutils.sourceforge.io"
|
homepage="https://docutils.sourceforge.io"
|
||||||
distfiles="${PYPI_SITE}/d/docutils/docutils-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/d/docutils/docutils-${version}.tar.gz"
|
||||||
checksum=f08a4e276c3a1583a86dce3e34aba3fe04d02bba2dd51ed16106244e8a923e3b
|
checksum=3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f
|
||||||
|
|
||||||
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"
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING.txt COPYING
|
vlicense COPYING.txt COPYING
|
||||||
|
Loading…
x
Reference in New Issue
Block a user