sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file
python/python-typer/recipe
1038 bytes at e2d5247 · GitHub
name python-typer
version 0.27.2
release 1
arch any
description python-typer: Typer, build great CLIs. Easy to code. Based on Python type hints
source https://files.pythonhosted.org/packages/16/f7/57713ba479fd405eb76de31404b2c744c289e336b2d999511ebf51e496f7/typer-${version}.tar.gz
hash sha256:269b7eb9d3c202ca84b4bc9618cb04ebb43d3d4d1e567e4c768607232c05f945
depend filesystem
depend python
depend python-shellingham
depend python-rich
depend python-annotated-doc
builddep python-pdm-backend
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