sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file
python/python-pytest/recipe
1100 bytes at e2d5247 · GitHub
name python-pytest
version 9.1.1
release 1
arch any
description python-pytest: pytest: simple powerful testing with Python
source https://files.pythonhosted.org/packages/e4/47/b9efed96c114afcfa3c9d3fe98a76a1d14c74a9e266d397cf6eb64be5e01/pytest-${version}.tar.gz
hash sha256:1088fbde8f2b49d95a549a195707afa7a76a3ce9bcadc26b6d71f0ffda5fe313
depend filesystem
depend python
depend python-exceptiongroup
depend python-iniconfig
depend python-packaging
depend python-pluggy
depend python-pygments
depend python-tomli
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