haiku-pyapi: Release 0.4 (#13604)

This commit is contained in:
Zardshard
2026-01-10 08:22:15 +00:00
committed by GitHub
parent e44b520baa
commit 5937544a1f

View File

@@ -1,24 +1,24 @@
SUMMARY="Python bindings for the Haiku API"
DESCRIPTION="This lets you build apps for Haiku using the Haiku API directly from Python.
For the most part, Haiku-PyAPI tries to copy the C++ API. There are some \
places where we have had to deviate from the C++ API, however.
Haiku-PyAPI follows the C++ API as closely as possible. We also provide \
variants of some of the functions that are more natural to use in Python.
Currently the library is unstable and has plenty of bugs."
HOMEPAGE="https://github.com/coolcoder613eb/Haiku-PyAPI/"
COPYRIGHT="2023-2024 Elozor Bruce
2023-2024 Zardshard
2023-2024 TmTFx
COPYRIGHT="2023-2025 Elozor Bruce
2023-2026 Zardshard
2023-2026 TmTFx
2023 OscarL"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://github.com/coolcoder613eb/Haiku-PyAPI/archive/refs/tags/v$portVersion.tar.gz"
CHECKSUM_SHA256="3c78f37fc64bd9fbdfedf033f57136dc4f8f05f6872bb60d21c182c1ceddf330"
CHECKSUM_SHA256="3a03afdb89bc0b43ee861c62c5fe093a13d62698a59dd33296789ee69451fe4d"
SOURCE_DIR="Haiku-PyAPI-$portVersion"
# pybind11 needs smart_holder branch
srcGitRev="d8b1541168e58444597f25e85e78356de9b67d34"
SOURCE_URI_2="https://github.com/pybind/pybind11/archive/$srcGitRev.zip"
CHECKSUM_SHA256_2="6c6ce8f70f6973f4c128b93f1911d14178cc1ea9e7558f01c8aec6e567a00163"
# Haiku-PyAPI needs smart_holder support from pybind11
pybindVersion="3.0.1"
SOURCE_URI_2="https://github.com/pybind/pybind11/archive/refs/tags/v$pybindVersion.tar.gz"
CHECKSUM_SHA256_2="741633da746b7c738bb71f1854f957b9da660bcd2dce68d71949037f0969d0ca"
ARCHITECTURES="all !x86_gcc2"
@@ -64,7 +64,7 @@ done
BUILD()
{
cp -rd $sourceDir2/pybind11-$srcGitRev/* \
cp -rd $sourceDir2/pybind11-$pybindVersion/* \
./pybind11/
}