sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file
python/python-termcolor/recipe
name python-termcolor
version 3.3.0
release 1
arch any
description python-termcolor: ANSI color formatting for output in terminal
source https://files.pythonhosted.org/packages/46/79/cf31d7a93a8fdc6aa0fbb665be84426a8c5a557d9240b6239e9e11e35fc5/termcolor-${version}.tar.gz
hash sha256:348871ca648ec6a9a983a13ab626c0acce02f515b9e1983332b17af7979521c5
depend filesystem
depend python
builddep python-hatchling
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