pybind11, add python3.10 (#7220)

This commit is contained in:
Schrijvers Luc
2022-09-17 19:15:04 +02:00
committed by GitHub
parent 4f5de3f83a
commit 1f2b516a13

View File

@@ -8,7 +8,7 @@ by inferring type information using compile-time introspection."
HOMEPAGE="https://pypi.org/project/pybind11/"
COPYRIGHT="2015-2019 Wenzel Jakob"
LICENSE="BSD (2-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/pybind/pybind11/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="8ff2fff22df038f5cd02cea8af56622bc67f5b64534f1b83b9f133b8366acff2"
SOURCE_FILENAME="pybind11-v$portVersion.tar.gz"
@@ -17,14 +17,14 @@ ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
pybind11$secondaryArchSuffix = $portVersion
$portName = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
PYTHON_PACKAGES=(python3 python38 python39)
PYTHON_VERSIONS=(3.7 3.8 3.9)
PYTHON_PACKAGES=(python3 python38 python39 python310)
PYTHON_VERSIONS=(3.7 3.8 3.9 3.10)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}