Splux Linux

source-based Linux using SPS

sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file

python/python-stevedore/recipe


Shell

934 bytes at e2d5247 · GitHub

name        python-stevedore
version     5.9.1
release     1
arch        any
description python-stevedore: Manage dynamic plugins for Python applications

source      https://files.pythonhosted.org/packages/db/a1/3b8ed9c1fc3aa6eebb57732d924ddaa0500ecc3b638d0454816320994383/stevedore-${version}.tar.gz
hash        sha256:e97a2667923efda926e8713fde6a73616df68210a3cbc6f02b48967b676fd8bf

depend      filesystem
depend      python
builddep    python-pbr

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