From 5e796c208636268bb1db8f8557a2b013b0d29cd3 Mon Sep 17 00:00:00 2001 From: Victor Tebar Date: Tue, 18 Oct 2022 09:45:27 +0200 Subject: [PATCH] Python3-installer : Fix nested deps --- main/python3-installer/spkgbuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main/python3-installer/spkgbuild b/main/python3-installer/spkgbuild index ab015f5d8..3315c2664 100644 --- a/main/python3-installer/spkgbuild +++ b/main/python3-installer/spkgbuild @@ -1,6 +1,6 @@ # description : A low-level library for installing from a Python wheel distribution # homepage : https://github.com/pypa/installer -# depends : python3-flit-core python3-installer python3-build +# depends : python3-pip name=python3-installer version=0.5.1 @@ -12,8 +12,7 @@ build() { _pyver=$(/usr/bin/python3 -c 'import sys; print("%s.%s" % sys.version_info[:2])') - /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation - /usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl + /usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps installer rm -rf $PKG/usr/lib/python$_pyver/site-packages/installer-$version.dist-info/REQUESTED rm -rf $PKG/usr/lib/python$_pyver/site-packages/installer-$version.dist-info/INSTALLER