# Description: a Python implementation of the Git file formats and protocols
# URL: https://www.dulwich.io/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-urllib3
# Optional: python3-fastimport python3-gpgme python3-idna python3-paramiko python3-pyinotify python3-pyopenssl

name=python3-dulwich
version=0.21.5
release=1
source=(https://pypi.org/packages/source/d/dulwich/dulwich-$version.tar.gz)

build() {
  cd dulwich-$version

  /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
  /usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}
