# Description: Poetry plugin to export the dependencies to various formats
# URL: https://python-poetry.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-build python3-installer python3-poetry-core

name=python3-poetry-plugin-export
version=1.4.0
release=1
source=(https://github.com/python-poetry/poetry-plugin-export/archive/$version/$name-$version.tar.gz)

build() {
  cd poetry-plugin-export-$version

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