diff options
Diffstat (limited to 'gis/python3-xarray/python3-xarray.SlackBuild')
-rw-r--r-- | gis/python3-xarray/python3-xarray.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gis/python3-xarray/python3-xarray.SlackBuild b/gis/python3-xarray/python3-xarray.SlackBuild index 2878d456d6ea5..92d7f121e6db2 100644 --- a/gis/python3-xarray/python3-xarray.SlackBuild +++ b/gis/python3-xarray/python3-xarray.SlackBuild @@ -66,7 +66,8 @@ find -L . \ -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + -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 --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl |