sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file
python/python-pyopenssl/recipe
1013 bytes at e2d5247 · GitHub
name python-pyopenssl
version 26.4.0
release 1
arch any
description python-pyopenssl: Python wrapper module around the OpenSSL library
source https://files.pythonhosted.org/packages/3f/e8/7325d258199b159eb2c03fe32107533e2832e70e63f4fb88a6aa00023201/pyopenssl-${version}.tar.gz
hash sha256:28dfcce0162b9211413e26dfbfdf1d24317fbeba18fc93c12400a1856b2a0bc7
depend filesystem
depend python
depend python-cryptography
depend python-typing-extensions
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