1
0
forked from ports/contrib

python3-wheel: initial import

This commit is contained in:
Danny Rawlins 2021-03-08 13:22:38 +11:00
parent 53c5246fc5
commit 6261bd6ddb
3 changed files with 84 additions and 0 deletions

54
python3-wheel/.footprint Normal file
View File

@ -0,0 +1,54 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/wheel
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/wheel-0.36.2-py3.9.egg-info/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel-0.36.2-py3.9.egg-info/PKG-INFO
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel-0.36.2-py3.9.egg-info/SOURCES.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel-0.36.2-py3.9.egg-info/dependency_links.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel-0.36.2-py3.9.egg-info/entry_points.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel-0.36.2-py3.9.egg-info/not-zip-safe
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel-0.36.2-py3.9.egg-info/requires.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel-0.36.2-py3.9.egg-info/top_level.txt
drwxr-xr-x root/root usr/lib/python3.9/site-packages/wheel/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/__init__.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/__main__.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/wheel/__pycache__/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/__pycache__/__init__.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/__pycache__/__main__.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/__pycache__/__main__.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/__pycache__/bdist_wheel.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/__pycache__/bdist_wheel.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/__pycache__/macosx_libfile.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/__pycache__/macosx_libfile.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/__pycache__/metadata.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/__pycache__/metadata.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/__pycache__/pkginfo.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/__pycache__/pkginfo.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/__pycache__/util.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/__pycache__/util.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/__pycache__/wheelfile.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/__pycache__/wheelfile.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/bdist_wheel.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/wheel/cli/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/cli/__init__.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/wheel/cli/__pycache__/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/cli/__pycache__/__init__.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/cli/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/cli/__pycache__/convert.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/cli/__pycache__/convert.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/cli/__pycache__/pack.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/cli/__pycache__/pack.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/cli/__pycache__/unpack.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/cli/__pycache__/unpack.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/cli/convert.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/cli/pack.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/cli/unpack.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/macosx_libfile.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/metadata.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/pkginfo.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/util.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel/wheelfile.py

5
python3-wheel/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3xsyImzpbQh7ybqmvNIsmRNChytLX65EbRzPk8Gro1ROjwDF6FE1pGbvaM7b1LqIP0qguEusygPLwYiP5ggY+AY=
SHA256 (Pkgfile) = 5ae4d8aea1ab8e2ea678d5bf114f6dc1ced46d56e5fadfb03d4ecea7e73b6099
SHA256 (.footprint) = 832ed1a9a758718621871f501cc25880bd350b13368f7447c0944fafb0449d5f
SHA256 (wheel-0.36.2.tar.gz) = 140ed102dd17e27e7cfd20c431b0b7204317ff44ab2cd382d0d8046d1db85a46

25
python3-wheel/Pkgfile Normal file
View File

@ -0,0 +1,25 @@
# Description: A built-package format for Python
# URL: https://pypi.python.org/pypi/wheel
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-setuptools
name=python3-wheel
version=0.36.2
release=1
source=(# https://files.pythonhosted.org/packages/source/w/wheel/${name#*-}-$version.tar.gz
# bsdtar: Pathname can't be converted from UTF-8 to current locale.
# bsdtar: Error exit delayed from previous errors.
http://crux.ster.zone/downloads/$name/${name#*-}-$version.tar.gz)
build() {
cd ${name#*-}-$version
export PYTHONHASHSEED=0
# https://github.com/pypa/wheel/pull/365
rm -r src/wheel/vendored
sed -i 's/from .vendored.packaging import tags/from packaging import tags/' src/wheel/bdist_wheel.py
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 --skip-build
}