asciidoc: migrate from Python 3.7 to 3.9

This commit is contained in:
PulkoMandy
2022-12-18 11:36:07 +01:00
parent 85d0fd3ca0
commit a6a57a5792

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="9aae9d37d01066d6281aa8eebd9c2ae288c60827f07024d7552e6f2d840267c6"
SOURCE_DIR="asciidoc-py-$portVersion"
@@ -34,7 +34,7 @@ BUILD_REQUIRES="
haiku_devel
docbook_xml_dtd
docbook_xsl_stylesheets
setuptools_python3
setuptools_python39
"
BUILD_PREREQUIRES="
cmd:aclocal
@@ -42,7 +42,7 @@ BUILD_PREREQUIRES="
cmd:automake
cmd:gawk
cmd:make
cmd:python3
cmd:python3.9
cmd:sed
cmd:xmllint
cmd:xsltproc
@@ -63,7 +63,7 @@ BUILD()
INSTALL()
{
python=python3.7
python=python3.9
installLocation=$prefix/lib/$python/vendor-packages/
export PYTHONPATH=$installLocation:$PYTHONPATH
$python setup.py build install \