#!/bin/sh

NAME="poetry"
DESC="Python3 dependency management and packaging system"

MAKEDEPS="python-build python-installer python-six python-jsonschema python-poetry-core python-cachecontrol python-cachy python-cleo python-clikit python-crashtest python-keyring python-pexpect python-pkginfo python-requests-toolbelt python-shellingham python-virtualenv"

PKG_VER=1.2.1
SOURCE="https://github.com/python-poetry/poetry/archive/$PKG_VER.tar.gz"

prepare() {
	git init
}

build() {
	python3 -m build --wheel
}

package() {
	python3 -m installer -d "$PKG_DEST" \
		dist/poetry-$PKG_VER-py3-none-any.whl
}