# Contributor: Leo # Contributor: Michał Polański # Maintainer: Michał Polański pkgname=poetry pkgver=1.1.2 pkgrel=0 pkgdesc="Python3 dependency management and packaging system" url="https://python-poetry.org" arch="noarch" license="MIT" options="!check" # TODO: add tests depends=" python3 py3-poetry-core py3-cleo py3-clikit py3-crashtest py3-requests py3-cachy py3-requests-toolbelt py3-cachecontrol py3-pkginfo py3-html5lib py3-shellingham py3-tomlkit py3-pexpect py3-packaging py3-virtualenv py3-keyring " makedepends="py3-pip" source="$pkgname-$pkgver.tar.gz::https://github.com/sdispater/poetry/archive/$pkgver.tar.gz" package() { pip install --compile --no-deps --no-warn-script-location --root="$pkgdir" . # remove conflicts with files owned by py3-poetry-core (direct dependency of poetry) # see: https://github.com/python-poetry/poetry/issues/2800 rm "$pkgdir"/usr/lib/python3.8/site-packages/poetry/__init__.py rm "$pkgdir"/usr/lib/python3.8/site-packages/poetry/__pycache__/__init__.cpython-38.pyc } sha512sums="f64858310c83110862ceefedd89853d6ceefff85887b43c39e8d97388be4953394bc35e7f72d3e96289311638d6c7e1f2920c6224f79cb06febd2a5e9e1ff993 poetry-1.1.2.tar.gz"