python3-installer: always use python3-flit-core
This commit is contained in:
parent
1cb466edcc
commit
9c6842f304
@ -3,10 +3,13 @@ drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/python3.10/
|
||||
drwxr-xr-x root/root usr/lib/python3.10/site-packages/
|
||||
drwxr-xr-x root/root usr/lib/python3.10/site-packages/installer-0.7.0.dist-info/
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/installer-0.7.0.dist-info/INSTALLER
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/installer-0.7.0.dist-info/LICENSE
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/installer-0.7.0.dist-info/METADATA
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/installer-0.7.0.dist-info/RECORD
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/installer-0.7.0.dist-info/REQUESTED (EMPTY)
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/installer-0.7.0.dist-info/WHEEL
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/installer-0.7.0.dist-info/direct_url.json
|
||||
drwxr-xr-x root/root usr/lib/python3.10/site-packages/installer/
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/installer/__init__.py
|
||||
-rw-r--r-- root/root usr/lib/python3.10/site-packages/installer/__main__.py
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/SBoEoy2xxT7HaeXmUlEvDB9uSJ9rdZyMVsaFDV91ML/8DpTTQaADVrDK/yyOcI8gdaEN5Q7j2JpAYO/l2tBYgE=
|
||||
SHA256 (Pkgfile) = 47a1b01458159aed26af9eb1961738d029013e46831f818c7b8e552d48164a7b
|
||||
SHA256 (.footprint) = a4c9cf79ad406c1d45ecedc886b6e56238bdfb6def27af447609ab2c1b005e64
|
||||
RWSE3ohX2g5d/UX3V9EPo0BLyfYjGaIAkXKrkvH3bZzZMw0Pn64oDAS9/I6fVjR5fdT1ydjrBI6UAJ7U+RsahAZrRvwvqpcJ/gQ=
|
||||
SHA256 (Pkgfile) = 4ccfc091ea9dab35429b077f9752b1c532cad3e72bfa3797c0120799cf6af6b4
|
||||
SHA256 (.footprint) = cf050268a417fc82e4ddd9d3756cbde8d872505bdde0dc129903d46d3152278e
|
||||
SHA256 (installer-0.7.0.tar.gz) = a26d3e3116289bb08216e0d0f7d925fcef0b0194eedfa0c944bcaaa106c4b631
|
||||
|
@ -1,8 +1,7 @@
|
||||
# Description: A low-level library for installing from a Python wheel distribution
|
||||
# URL: https://github.com/pypa/installer
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: python3-pip
|
||||
# Optional: python3-flit-core
|
||||
# Depends on: python3-build python3-flit-core
|
||||
|
||||
name=python3-installer
|
||||
version=0.7.0
|
||||
@ -12,14 +11,7 @@ source=(https://pypi.org/packages/source/i/installer/installer-$version.tar.gz)
|
||||
build() {
|
||||
cd installer-$version
|
||||
|
||||
_pyver=$(/usr/bin/python3 -c 'import sys; print("%s.%s" % sys.version_info[:2])')
|
||||
|
||||
if prt-get isinst python3-flit-core; then
|
||||
/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 installer
|
||||
fi
|
||||
|
||||
rm -rf $PKG/usr/lib/python$_pyver/site-packages/installer-$version.dist-info/{INSTALLER,REQUESTED}
|
||||
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
||||
PIP_CONFIG_FILE=/dev/null /usr/bin/pip3 install --isolated --root=$PKG \
|
||||
--ignore-installed --no-deps $SRC/installer-$version/dist/*.whl
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user