sps-extra · log · files · refs · tags · releases · people · languages · GitHub · file
python/python-dnspython/recipe
name python-dnspython
version 2.8.0
release 1
arch any
description python-dnspython: DNS toolkit
source https://files.pythonhosted.org/packages/8c/8b/57666417c0f90f08bcafa776861060426765fdb422eb10212086fb811d26/dnspython-${version}.tar.gz
hash sha256:181d3c6996452cb1189c4046c61599b84a5a86e099562ffde77d26984ff26d0f
depend filesystem
depend python
builddep python-hatchling
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