diff --git a/dev-python/haiku-pyapi/haiku_pyapi-0.3.recipe b/dev-python/haiku-pyapi/haiku_pyapi-0.4.recipe similarity index 72% rename from dev-python/haiku-pyapi/haiku_pyapi-0.3.recipe rename to dev-python/haiku-pyapi/haiku_pyapi-0.4.recipe index b24615d64..51ec6f843 100644 --- a/dev-python/haiku-pyapi/haiku_pyapi-0.3.recipe +++ b/dev-python/haiku-pyapi/haiku_pyapi-0.4.recipe @@ -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/ }