1
0
forked from ports/opt

python3-packaging: minor change

This commit is contained in:
Tim Biermann 2022-12-10 10:44:09 +00:00
parent ced500f9ab
commit 7707c5a8e3
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/ewGgUva3THh4g0Pwr9dpkE6duWpXrveSlBTvUbDYnDs41KwRCIKxjxBMFeuApbRNVTs7kJ4ESrVahQqNe294go=
SHA256 (Pkgfile) = 029fc890c2c38f7f13ab54005eef85353ba9cc408ee3e969e238224290d32581
RWSE3ohX2g5d/eVcc32IFZjwiNe5D4Kk9U3TpPkrmX0cIUcinsbc1YYFaVt7calDhaZJFuXqhpmuLu77Q/LJ9+wP4KfQfBongAY=
SHA256 (Pkgfile) = 9601d2d648311833fc97990313c4365839136a25d5ac42c0ff69f31cf9195e8f
SHA256 (.footprint) = f6f7dcd398e096f11b820791952b047aae535afe8c0509ecbbef0543e077e742
SHA256 (packaging-22.0.tar.gz) = 2198ec20bd4c017b8f9717e00f0c8714076fc2fd93816750ab48e2c41de2cfd3

View File

@ -17,6 +17,6 @@ build() {
/usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl
else
/usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps packaging
rm -rf $PKG/usr/lib/python3.10/site-packages/packaging-22.0.dist-info/{INSTALLER,REQUESTED}
rm -rf $PKG/usr/lib/python*/site-packages/packaging-$version.dist-info/{INSTALLER,REQUESTED}
fi
}