forked from ports/contrib
python3-wheel: moved to opt
This commit is contained in:
parent
25c982b0a5
commit
0144e99794
@ -1,54 +0,0 @@
|
||||
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
|
@ -1,5 +0,0 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3wJXmKsqHbzuOzl1YdWvU9WSdU2lFVF07FY/SwkBEQyTF3kPApLJRA5xmrYH8V6Ia4E4g4kiC2dfEOIZDCALeQo=
|
||||
SHA256 (Pkgfile) = 876b0766e64392017a862b5868e93001dcf11d3c71f8937cccc33741df4f9a16
|
||||
SHA256 (.footprint) = d9428ef4e81d75862c1fe2c27fbf309dc2f169b394706a0dd9c9e97ec0735189
|
||||
SHA256 (wheel-0.37.1.tar.gz) = e9a504e793efbca1b8e0e9cb979a249cf4a0a7b5b8c9e8b65a5e39d49529c1c4
|
@ -1,36 +0,0 @@
|
||||
# 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
|
||||
# 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)
|
||||
)
|
||||
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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user