asciinema: bump version

This commit is contained in:
Jerome Duval
2023-03-06 23:03:57 +01:00
parent c1113681e4
commit 38840b97f8

View File

@@ -5,9 +5,9 @@ asciinema.org."
HOMEPAGE="https://asciinema.org/"
COPYRIGHT="2011-2018 Marcin Kulik"
LICENSE="GNU GPL v3"
REVISION="3"
REVISION="1"
SOURCE_URI="https://github.com/asciinema/asciinema/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="2578a1b5611e5375771ef6582a6533ef8d40cdbed1ba1c87786fd23af625ab68"
CHECKSUM_SHA256="cce6f0ed6bcf47d54fe5caae14862bfb5a2e39eec1b3b467a8ed1050c298d0ec"
SOURCE_FILENAME="asciinema-$portVersion.tar.gz"
ARCHITECTURES="any"
@@ -25,13 +25,13 @@ REQUIRES="
haiku
cmd:python3
"
REPLACES="
python3_asciinema
"
BUILD_REQUIRES="
haiku_devel
setuptools_python3
build_python39
installer_python39
setuptools_python39
wheel_python39
"
BUILD_PREREQUIRES="
cmd:python3
@@ -41,16 +41,16 @@ BUILD_PREREQUIRES="
PATCH()
{
sed -i "s|share/doc/asciinema|$relativeDocDir|
s|share/man|$relativeManDir|" setup.py
s|share/man|$relativeManDir|" setup.cfg
}
BUILD()
{
rm -rf build
python3 setup.py build
python3 -m build --wheel --no-isolation
}
INSTALL()
{
python3 setup.py install --skip-build --prefix="$prefix" --root=/
python3 -m installer -p $prefix dist/*.whl
}