sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file
python/python-flake8/recipe
1024 bytes at e2d5247 · GitHub
name python-flake8
version 7.3.0
release 1
arch any
description python-flake8: the modular source code checker: pep8 pyflakes and co
source https://files.pythonhosted.org/packages/9b/af/fbfe3c4b5a657d79e5c47a2827a362f9e1b763336a52f926126aa6dc7123/flake8-${version}.tar.gz
hash sha256:fe044858146b9fc69b551a4b490d69cf960fcb78ad1edcb84e7fbb1b4a8e3872
depend filesystem
depend python
depend python-mccabe
depend python-pycodestyle
depend python-pyflakes
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