python3-pexpect: -> 4.8.0; use pip to bootstrap, otherwise use python3-installer instead of setuptools
This commit is contained in:
parent
ab96ae79c3
commit
9442b1df7b
@ -2,7 +2,12 @@ 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/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pexpect-4.8.0-py3.9.egg-info
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/pexpect-4.8.0.dist-info/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pexpect-4.8.0.dist-info/LICENSE
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pexpect-4.8.0.dist-info/METADATA
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pexpect-4.8.0.dist-info/RECORD
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pexpect-4.8.0.dist-info/WHEEL
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pexpect-4.8.0.dist-info/top_level.txt
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/pexpect/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pexpect/ANSI.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/pexpect/FSM.py
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3wqKlJFDRhTQsHNehy3Ps+zq5yeilGQBKFlH1nTKqbtRnIbHWn3ASUmLBfFYi9BFrXZnhIFXqAk4sLpVntxF3gA=
|
||||
SHA256 (Pkgfile) = a5bed80952adf686b04d9f1649168c887780dcd6d35f7682997d002e5707c1f3
|
||||
SHA256 (.footprint) = 467ee65e2a10ebb3a5c6bffa44c70085879e5f59a4709b4245e660355ba683ea
|
||||
RWSagIOpLGJF3wCP3gJKOceijcJRLsnk6sD6s5ua1YvAyiC5AoD0HlNb8Er1gVbEwwGLymIOI8m1J6qMlNUcqYc9QCK/A6paEQw=
|
||||
SHA256 (Pkgfile) = 69da3b89a441d4c258f9c25b08eca25f9f75e2d0a7f34ff68818968774a482ec
|
||||
SHA256 (.footprint) = bf4380119bcdb2167f3d560e8dab1c840577eed0840b777a8a9f8361d43927dd
|
||||
SHA256 (python3-pexpect-4.8.0.tar.gz) = f2ea54a12cc893636a60421e8da0a36c40caad7825eb674697f1e25f5f91245e
|
||||
|
@ -10,8 +10,14 @@ source=(https://github.com/pexpect/pexpect/archive/$version/$name-$version.tar.g
|
||||
|
||||
build() {
|
||||
cd pexpect-$version
|
||||
sed -i 's,env python,env python3,' pexpect/FSM.py
|
||||
#/usr/bin/python3 setup.py build
|
||||
/usr/bin/python3 setup.py install --prefix=/usr \
|
||||
--root=$PKG
|
||||
_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 pexpect
|
||||
fi
|
||||
|
||||
rm -rf $PKG/usr/lib/python$_pyver/site-packages/pexpect-$version.dist-info/{INSTALLER,REQUESTED}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user