sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file
python/python-ptyprocess/recipe
name python-ptyprocess
version 0.7.0
release 1
arch any
description python-ptyprocess: Run a subprocess in a pseudo terminal
source https://files.pythonhosted.org/packages/20/e5/16ff212c1e452235a90aeb09066144d0c5a6a8c0834397e03f5224495c4e/ptyprocess-${version}.tar.gz
hash sha256:5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220
depend filesystem
depend python
builddep python-flit-core
install python3 -m pip install --no-deps --no-build-isolation --no-compile --root="$PKG" --prefix=/usr .
install pyver=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])'); \
if [ -d "$PKG/usr/lib/python$pyver" ]; then \
mkdir -p "$PKG/usr/lib64"; \
cp -a "$PKG/usr/lib/python$pyver/." "$PKG/usr/lib64/python$pyver/"; \
rm -rf "$PKG/usr/lib/python$pyver"; \
rmdir "$PKG/usr/lib" 2>/dev/null || :; fi