diff options
author | Tim Biermann <tbier@posteo.de> | 2022-07-10 19:43:42 +0200 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2022-07-10 19:46:27 +0200 |
commit | b84ffc020d2e9feff136a8bbb6ac198751419a37 (patch) | |
tree | f3c968b20eb847ab4302bacb3633a23440a3392c /python3-wheel | |
parent | 650be778515969bb3b44b679b157f37e6f814d7e (diff) | |
download | opt-b84ffc020d2e9feff136a8bbb6ac198751419a37.tar.gz opt-b84ffc020d2e9feff136a8bbb6ac198751419a37.tar.xz |
python3-wheel: initial commit, version 0.37.1
Diffstat (limited to 'python3-wheel')
-rw-r--r-- | python3-wheel/.footprint | 54 | ||||
-rw-r--r-- | python3-wheel/.signature | 5 | ||||
-rw-r--r-- | python3-wheel/Pkgfile | 33 |
3 files changed, 92 insertions, 0 deletions
diff --git a/python3-wheel/.footprint b/python3-wheel/.footprint new file mode 100644 index 000000000..2e2ef0b0f --- /dev/null +++ b/python3-wheel/.footprint @@ -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.37.1-py3.9.egg-info/ +-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel-0.37.1-py3.9.egg-info/PKG-INFO +-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel-0.37.1-py3.9.egg-info/SOURCES.txt +-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel-0.37.1-py3.9.egg-info/dependency_links.txt +-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel-0.37.1-py3.9.egg-info/entry_points.txt +-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel-0.37.1-py3.9.egg-info/not-zip-safe +-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel-0.37.1-py3.9.egg-info/requires.txt +-rw-r--r-- root/root usr/lib/python3.9/site-packages/wheel-0.37.1-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 diff --git a/python3-wheel/.signature b/python3-wheel/.signature new file mode 100644 index 000000000..732402e9f --- /dev/null +++ b/python3-wheel/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/URBATfWBInyjY/iTHMCsbDDK1C9SePFAbawGUSmr2aKy9WmrKLxsjWtKvgaL1uyJMUqAHEtCCHZlsJdCdvXEwQ= +SHA256 (Pkgfile) = dc9e27d86fad270d592e7b37296e7a05ec1f8057f3d5bcf62a325877b54d3c3c +SHA256 (.footprint) = d9428ef4e81d75862c1fe2c27fbf309dc2f169b394706a0dd9c9e97ec0735189 +SHA256 (wheel-0.37.1.tar.gz) = e9a504e793efbca1b8e0e9cb979a249cf4a0a7b5b8c9e8b65a5e39d49529c1c4 diff --git a/python3-wheel/Pkgfile b/python3-wheel/Pkgfile new file mode 100644 index 000000000..9652667d3 --- /dev/null +++ b/python3-wheel/Pkgfile @@ -0,0 +1,33 @@ +# 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.37.1 +release=1 +source=(https://files.pythonhosted.org/packages/source/w/wheel/${name#*-}-$version.tar.gz) + +unpack_source() { + for file in ${source[@]}; do + case ${file##*/} in + ${name#*-}-$version.tar.gz) + tar xfvz $(get_filename $file) -C $SRC ;; + *) + cp $(get_filename $file) $SRC ;; + esac + done +} + +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 +} |