sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file
python/python-mako/recipe
1009 bytes at e2d5247 · GitHub
name python-mako
version 1.4.1
release 1
arch any
description python-mako: A super-fast templating language that borrows the best ideas from the existing templating languages
source https://files.pythonhosted.org/packages/2a/12/b5fa2353e2754cd67fb9f83793fa48ff42c213a5da7e719869d2301f6ab8/mako-${version}.tar.gz
hash sha256:d7904710b662996425a21627710c4777c45053146942cf8a7aebf757c92b8c27
depend filesystem
depend python
depend python-markupsafe
builddep python-setuptools
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