# Description: Service identity verification for pyOpenSSL
# URL: https://pypi.python.org/pypi/service_identity
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-attrs python3-cryptography python3-idna python3-pyasn1-modules

name=python3-service-identity
version=23.1.0
release=1
source=(https://github.com/pyca/service-identity/archive/$version/$name-$version.tar.gz)

build() {
  cd service-identity-$version

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