1
0
forked from ports/opt

python3-installer: initial commit, version 0.5.1

This commit is contained in:
Tim Biermann 2022-07-10 19:43:55 +02:00
parent e9655c8f29
commit 9454c091b9
3 changed files with 71 additions and 0 deletions

View File

@ -0,0 +1,41 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python3.9/
drwxr-xr-x root/root usr/lib/python3.9/site-packages/
drwxr-xr-x root/root usr/lib/python3.9/site-packages/installer-0.5.1.dist-info/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer-0.5.1.dist-info/LICENSE
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer-0.5.1.dist-info/METADATA
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer-0.5.1.dist-info/RECORD
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer-0.5.1.dist-info/WHEEL
drwxr-xr-x root/root usr/lib/python3.9/site-packages/installer/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/__init__.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/__main__.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/installer/__pycache__/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/__pycache__/__main__.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/__pycache__/_core.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/__pycache__/destinations.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/__pycache__/exceptions.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/__pycache__/records.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/__pycache__/scripts.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/__pycache__/sources.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/__pycache__/utils.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/_core.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/installer/_scripts/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/_scripts/__init__.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/installer/_scripts/__pycache__/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/_scripts/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/_scripts/t32.exe
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/_scripts/t64-arm.exe
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/_scripts/t64.exe
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/_scripts/t_arm.exe
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/_scripts/w32.exe
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/_scripts/w64-arm.exe
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/_scripts/w64.exe
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/_scripts/w_arm.exe
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/destinations.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/exceptions.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/records.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/scripts.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/sources.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/installer/utils.py

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/XK1chD5YfOazx7gVXu5P2b5qfh1/j0VXk4emMwKjb0N3qygCWtY5vp5ogI/aafcp93f3/3zr26SEDoAw6yrNAw=
SHA256 (Pkgfile) = e260e823de6670f9077f626e9b8ad6a3f382c04d1e379a3ac0e22c0a6d13c022
SHA256 (.footprint) = 495bde3c9a43a334ca3af9b21b7eb73dc17de287827dcc0cd3d9fdf130b477e7
SHA256 (installer-0.5.1.tar.gz) = f970995ec2bb815e2fdaf7977b26b2091e1e386f0f42eafd5ac811953dc5d445

25
python3-installer/Pkgfile Normal file
View File

@ -0,0 +1,25 @@
# 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
name=python3-installer
version=0.5.1
release=1
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}
}