sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file
python/python-pymdown-extensions/recipe
1008 bytes at e2d5247 · GitHub
name python-pymdown-extensions
version 12.0.1
release 1
arch any
description python-pymdown-extensions: Extension pack for Python Markdown
source https://files.pythonhosted.org/packages/eb/7e/53144b512818c75d459523e3a91d9bf7b65cd6a1dfb964fe690adc8b3670/pymdown_extensions-${version}.tar.gz
hash sha256:88fe2c97fb9153b9f2cc1da59f1d7c7cb74971110daf33cccb2a5514e0f7e970
depend filesystem
depend python
depend python-markdown
depend python-yaml
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