# Description:  python3 packaging and dependency management made easy
# URL: https://poetry.eustace.io/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-cachecontrol python3-cachy python3-cleo python3-dulwich python3-html5lib python3-keyring python3-lockfile python3-pexpect python3-pkginfo python3-poetry-core python3-poetry-plugin-export python3-requests-toolbelt python3-shellingham python3-trove-classifiers python3-virtualenv

name=python3-poetry
version=1.5.1
release=1
source=(https://github.com/sdispater/poetry/archive/$version/$name-$version.tar.gz)

build() {
  cd poetry-$version

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