asciidoc, revbump for python changes (#9182)

This commit is contained in:
Schrijvers Luc
2023-08-11 17:10:32 +00:00
committed by GitHub
parent 2a22fe13fd
commit 730b3cb006

View File

@@ -10,7 +10,7 @@ HOMEPAGE="https://asciidoc.org/"
COPYRIGHT="2002-2013 Stuart Rackham
2013-2020 AsciiDoc Contributors"
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/asciidoc/asciidoc-py3/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="684ea53c1f5b71d6d1ac6086bbc96906b1f709ecc7ab536615b0f0c9e1baa3cc"
SOURCE_FILENAME="asciidoc-$portVersion.tar.gz"
@@ -34,7 +34,7 @@ BUILD_REQUIRES="
haiku_devel
docbook_xml_dtd
docbook_xsl_stylesheets
setuptools_python39
setuptools_python310
"
BUILD_PREREQUIRES="
cmd:aclocal
@@ -42,14 +42,14 @@ BUILD_PREREQUIRES="
cmd:automake
cmd:gawk
cmd:make
cmd:python3.9
cmd:python3
cmd:sed
cmd:xmllint
cmd:xsltproc
"
TEST_REQUIRES="
pytest_python39
pytest_mock_python39
pytest_python310
pytest_mock_python310
"
BUILD()
@@ -63,11 +63,11 @@ BUILD()
INSTALL()
{
python=python3.9
python=python3.10
installLocation=$prefix/lib/$python/vendor-packages/
export PYTHONPATH=$installLocation:$PYTHONPATH
$python setup.py build install \
--root=/ --prefix=$prefix
--root=/ --prefix=$prefix
make docs
}