[crux-commits] ports/contrib (refs/remotes/origin/3.6): python3-wheel: initial import

crux at crux.nu crux at crux.nu
Sat Apr 10 19:05:46 UTC 2021


commit 6261bd6ddbeff68d87e0bad2dae0e1fc46577321
Author: Danny Rawlins <contact at romster.me>
Date:   Mon Mar 8 13:22:38 2021 +1100

    python3-wheel: initial import

diff --git a/python3-wheel/.footprint b/python3-wheel/.footprint
new file mode 100644
index 000000000..dba8810dd
--- /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.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
diff --git a/python3-wheel/.signature b/python3-wheel/.signature
new file mode 100644
index 000000000..8358cb976
--- /dev/null
+++ b/python3-wheel/.signature
@@ -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
diff --git a/python3-wheel/Pkgfile b/python3-wheel/Pkgfile
new file mode 100644
index 000000000..41df261f1
--- /dev/null
+++ b/python3-wheel/Pkgfile
@@ -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
+}


More information about the crux-commits mailing list