sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file
python/python-rich/recipe
1039 bytes at e2d5247 · GitHub
name python-rich
version 15.0.0
release 1
arch any
description python-rich: Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal
source https://files.pythonhosted.org/packages/c0/8f/0722ca900cc807c13a6a0c696dacf35430f72e0ec571c4275d2371fca3e9/rich-${version}.tar.gz
hash sha256:edd07a4824c6b40189fb7ac9bc4c52536e9780fbbfbddf6f1e2502c31b068c36
depend filesystem
depend python
depend python-markdown-it-py
depend python-pygments
builddep python-poetry-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