# Description: Immutable wrapper around dictionaries (a fork of frozendict)
# URL: https://github.com/corenting/immutabledict
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-build python3-installer python3-poetry-core

name=python3-immutabledict
version=2.2.5
release=1
source=(https://pypi.org/packages/source/i/immutabledict/immutabledict-$version.tar.gz)

build() {
  cd immutabledict-$version

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