contrib/python3-dnspython/Pkgfile

21 lines
543 B
Plaintext

# Description: dnspython is a DNS toolkit for Python
# URL: https://www.dnspython.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-build python3-install python3-poetry
name=python3-dnspython
version=2.2.1
release=1
source=(https://pypi.python.org/packages/source/d/dnspython/dnspython-$version.tar.gz)
build() {
cd dnspython-$version
/usr/bin/python3 -m build \
--wheel \
--skip-dependency-check \
--no-isolation
/usr/bin/python3 -m install \
--optimize=1 \
--destdir=$PKG dist/*.whl
}