diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-03-31 11:33:40 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-05 15:18:09 +0700 |
commit | ac4d7d7f1a34f63c8cfdec9ab266a9d863c45125 (patch) | |
tree | 820ce80c959987f953a7c34a2bb779aac36590df /gis | |
parent | 576e459bcd9865a5ea22950c2f9f7599880557cd (diff) |
gis/python3-netcdf4-python: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis')
-rw-r--r-- | gis/python3-netcdf4-python/python3-netcdf4-python.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gis/python3-netcdf4-python/python3-netcdf4-python.SlackBuild b/gis/python3-netcdf4-python/python3-netcdf4-python.SlackBuild index 3a0ac454f05eb..1e9dffc2247b3 100644 --- a/gis/python3-netcdf4-python/python3-netcdf4-python.SlackBuild +++ b/gis/python3-netcdf4-python/python3-netcdf4-python.SlackBuild @@ -71,7 +71,8 @@ sed -i 's/oldest-supported-numpy/numpy>=1.19.3/' pyproject.toml # Requires newer version of setuptools than available in -stable. Has not # effect on -current -export PYTHONPATH=/opt/python3.9/site-packages +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages python3 -m build --no-isolation python3 -m installer -d "$PKG" dist/*.whl |