python3-nanobind: update to 2.1.0.

This commit is contained in:
Andrew J. Hesford 2024-08-13 17:05:03 -04:00
parent 5e76de9c05
commit 31ab84bc4e
1 changed files with 6 additions and 4 deletions

View File

@ -1,9 +1,9 @@
# Template file for 'python3-nanobind'
pkgname=python3-nanobind
version=2.0.0
version=2.1.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
build_style=python3-pep517
hostmakedepends="python3-scikit-build-core ninja"
depends="python3"
checkdepends="cmake python3-devel python3-pytest"
short_desc="Tiny and efficient C++/Python bindings"
@ -14,10 +14,12 @@ _robin_map_hash="188c45569cc2a5dd768077c193830b51d33a5020"
distfiles="${homepage}/archive/v${version}.tar.gz
https://github.com/Tessil/robin-map/archive/${_robin_map_hash}.tar.gz
"
checksum="2e70727484edb7a8645d26f6a9f67352a668657c34de7a603bf9c68e5cbf8ff9
checksum="c37c53c60ada5fe1c956e24bd4b83af669a2309bf952bd251f36a7d2fa3bacf0
2f4be670fa4f53c3261ed7af392b414a00e75591f87da0a8dd525de376430747"
skip_extraction="${_robin_map_hash}.tar.gz"
export CMAKE_ARGS="-DPython_INCLUDE_DIR:PATH=${XBPS_CROSS_BASE}/${py3_inc}"
post_extract() {
vsrcextract -C ext/robin_map "${_robin_map_hash}.tar.gz"
}