sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file
python/python-responses/recipe
1038 bytes at e2d5247 · GitHub
name python-responses
version 0.26.3
release 1
arch any
description python-responses: A utility library for mocking out the `requests` Python library
source https://files.pythonhosted.org/packages/9f/47/f216a33221db8eff328987661cf18371afee89c62a62b434b963d6b509c9/responses-${version}.tar.gz
hash sha256:b0c11ca8131b8b227b8d5108e6ed39772222bd5aab030ed430e8f99057c4c409
depend filesystem
depend python
depend python-requests
depend python-urllib3
depend python-yaml
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