diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-09-10 05:10:26 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-09-14 23:37:03 +0700 |
commit | 1a47992379afd1fb1b31583676c7f217bd493127 (patch) | |
tree | bf38f0efb9d8c959f8ea214bf9d4854773580324 /python/BeautifulSoup4/BeautifulSoup4.SlackBuild | |
parent | 96d80485e6bb42085bdaaf51f8d611db473de83f (diff) | |
download | slackbuilds-1a47992379afd1fb1b31583676c7f217bd493127.tar.gz slackbuilds-1a47992379afd1fb1b31583676c7f217bd493127.tar.xz |
python/BeautifulSoup4: Fix for new hatchling.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r-- | python/BeautifulSoup4/BeautifulSoup4.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/BeautifulSoup4/BeautifulSoup4.SlackBuild b/python/BeautifulSoup4/BeautifulSoup4.SlackBuild index 67a9626f88..f773569eb0 100644 --- a/python/BeautifulSoup4/BeautifulSoup4.SlackBuild +++ b/python/BeautifulSoup4/BeautifulSoup4.SlackBuild @@ -66,6 +66,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +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 |