mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
asciidoc: bump version
This commit is contained in:
@@ -10,9 +10,9 @@ HOMEPAGE="https://asciidoc.org/"
|
||||
COPYRIGHT="2002-2013 Stuart Rackham
|
||||
2013-2020 AsciiDoc Contributors"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/asciidoc/asciidoc-py3/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="fb0e683ae6a4baf34a8969c3af764ca729526196576729ee9275b9f39fd8b79c"
|
||||
CHECKSUM_SHA256="9aae9d37d01066d6281aa8eebd9c2ae288c60827f07024d7552e6f2d840267c6"
|
||||
SOURCE_DIR="asciidoc-py-$portVersion"
|
||||
SOURCE_FILENAME="asciidoc-$portVersion.tar.gz"
|
||||
|
||||
@@ -21,9 +21,7 @@ ARCHITECTURES="any"
|
||||
PROVIDES="
|
||||
asciidoc = $portVersion
|
||||
cmd:a2x = $portVersion compat >= 8
|
||||
cmd:a2x.py = $portVersion compat >= 8
|
||||
cmd:asciidoc = $portVersion compat >= 8
|
||||
cmd:asciidoc.py = $portVersion compat >= 8
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
@@ -36,17 +34,23 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
docbook_xml_dtd
|
||||
docbook_xsl_stylesheets
|
||||
setuptools_python3
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gawk
|
||||
cmd:make
|
||||
cmd:python3
|
||||
cmd:sed
|
||||
cmd:xmllint
|
||||
cmd:xsltproc
|
||||
"
|
||||
TEST_REQUIRES="
|
||||
pytest_python3
|
||||
pytest_mock_python3
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
@@ -54,12 +58,17 @@ BUILD()
|
||||
autoreconf -fi
|
||||
runConfigure ./configure \
|
||||
--sysconfdir=$dataDir
|
||||
make
|
||||
make build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
python=python3.7
|
||||
installLocation=$prefix/lib/$python/vendor-packages/
|
||||
export PYTHONPATH=$installLocation:$PYTHONPATH
|
||||
$python setup.py build install \
|
||||
--root=/ --prefix=$prefix
|
||||
make docs
|
||||
}
|
||||
|
||||
TEST()
|
||||
Reference in New Issue
Block a user