forked from ports/contrib
python3-ptyprocess: always use python3-flit-core
This commit is contained in:
parent
44f96ca7af
commit
be25878493
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3zXTE5j92FU/gTzE3XThCRy2Zm51RpONEbTr4HZu9wON+IDYPUoOZY8iR448gQjBYbuOsmxkQ9W8Lu+0v7yDNQ8=
|
||||
SHA256 (Pkgfile) = b02e98f5e73f05f7a4a78bd54f1e41a194a8f801bb97889917421a78adb72962
|
||||
RWSagIOpLGJF3/XawPgzTQ6kqdTzGcYCAWf9kw5+NsU/mpYoqCU4VST4I2vXggV/HBUUXthZPKitJd5QNJMCnTwuLsjeMI7x0g8=
|
||||
SHA256 (Pkgfile) = 403e1b02381ce36ff9b846c80a1ed425e510f2613c1739f6a04d3ac464d9f8ce
|
||||
SHA256 (.footprint) = 22a20855d6482df9bd6e8fcc7184cc5dddb1cd728d9e653e156b7c293683d667
|
||||
SHA256 (ptyprocess-0.7.0.tar.gz) = 5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220
|
||||
|
@ -1,8 +1,7 @@
|
||||
# Description: Run a subprocess in a pseudo terminal
|
||||
# URL: https://github.com/pexpect/ptyprocess
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: python3-pip
|
||||
# Optional: python3-flit-core
|
||||
# Depends on: python3-build python3-flit-core python3-installer
|
||||
|
||||
name=python3-ptyprocess
|
||||
version=0.7.0
|
||||
@ -12,14 +11,6 @@ source=(https://pypi.io/packages/source/p/ptyprocess/ptyprocess-$version.tar.gz)
|
||||
build() {
|
||||
cd ptyprocess-$version
|
||||
|
||||
_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 ptyprocess==$version
|
||||
fi
|
||||
|
||||
rm -rf $PKG/usr/lib/python$_pyver/site-packages/ptyprocess-$version.dist-info/{INSTALLER,REQUESTED}
|
||||
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
||||
/usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user