sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file
python/python-pbr/recipe
name python-pbr
version 7.0.3
release 1
arch any
description python-pbr: Python Build Reasonableness
source https://files.pythonhosted.org/packages/5e/ab/1de9a4f730edde1bdbbc2b8d19f8fa326f036b4f18b2f72cfbea7dc53c26/pbr-${version}.tar.gz
hash sha256:b46004ec30a5324672683ec848aed9e8fc500b0d261d40a3229c2d2bbfcedc29
depend filesystem
depend python
depend 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