py-bqscales: add missing dependencies; use versioned python

Closes: https://trac.macports.org/ticket/74128
This commit is contained in:
Marius Schamschula
2026-06-22 07:34:20 -05:00
parent 3d50e8398f
commit 2f3c616468
2 changed files with 12 additions and 1 deletions
+2
View File
@@ -26,12 +26,14 @@ python.pep517_backend \
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-hatch \
port:py${python.version}-hatch-jupyter-builder \
port:py${python.version}-hatch-nodejs-version \
port:py${python.version}-hatch-build-scripts \
port:py${python.version}-jupyterlab
depends_lib-append \
port:py${python.version}-ipywidgets \
port:py${python.version}-jupyterlab_pygments \
port:py${python.version}-numpy \
port:py${python.version}-traitlets \
port:py${python.version}-traittypes
@@ -1,5 +1,14 @@
--- pyproject.toml.orig 2020-02-01 18:00:00
+++ pyproject.toml 2026-06-20 19:09:13
+++ pyproject.toml 2026-06-22 07:28:14
@@ -74,7 +74,7 @@
[[tool.hatch.build.hooks.build-scripts.scripts]]
work_dir = "."
-commands = ['python scripts/write_version.py']
+commands = ['python%PYVERSION% scripts/write_version.py']
# _version.py is already mentioned in top-level build artifact
artifacts = []
@@ -82,5 +82,5 @@
path = "."
build_cmd = "build"