development/jupyter-nbconvert: Fix for new hatchling.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
fourtysixandtwo 2024-09-10 05:10:17 -06:00 committed by Willy Sudiarto Raharjo
parent cea966fc29
commit e7b26770b6
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -70,6 +70,9 @@ find -L . \
# https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-python/nbconvert/nbconvert-7.16.1.ebuild
sed -e 's:css = .*:raise PermissionError("You shall not fetch!"):' -i hatch_build.py
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