python3-typing_extensions: changed pip routine: install specific version

This commit is contained in:
Tim Biermann 2023-04-02 17:00:54 +02:00
parent 518d5740ec
commit b1223b6a49
Signed by: 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/contrib.pub
RWSagIOpLGJF3xzjdo4GAXdBWvN/q8SAR3r4F65Q36nuL8oH+CjJqYKZ/lKq37+nzQDqUI0OVJhLv151y9tqa/8c2Zp2vKOi7QE=
SHA256 (Pkgfile) = 6b7fb578f49ce5d07ae59949f33406ceef03df555160dbea9101f9c572665c4d
RWSagIOpLGJF38WCuBRZ8M8KstgXDvLFJevDo+uZqs7LjulN78bZ04kuPqsLjO7TJ+qtKfjZZVS1d/Pt35oSiw4JrqEgShv19Ao=
SHA256 (Pkgfile) = 2269c69d725008b7fa8d7f72821627e803faf9c392ebb8f92c27f6d17517c840
SHA256 (.footprint) = 41365f1c7ed9e3c3979f33f77b51c73c37fcac1fd7144f4c310064b35386c68e
SHA256 (typing_extensions-4.5.0.tar.gz) = 5cb5f4a79139d699607b3ef622a1dedafa84e115ab0024e0d9c044a9479ca7cb

View File

@ -18,7 +18,7 @@ build() {
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl
else
/usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps typing_extensions
/usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps typing_extensions==$version
fi
rm -rf $PKG/usr/lib/python$_pyver/site-packages/typing_extensions-$version.dist-info/{INSTALLER,REQUESTED}