Date: Thursday, January 19, 2023 @ 08:47:11 Author: alucryd Revision: 1386992
add python-poetry-plugin-up Added: python-poetry-plugin-up/ python-poetry-plugin-up/trunk/ python-poetry-plugin-up/trunk/PKGBUILD ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Added: python-poetry-plugin-up/trunk/PKGBUILD =================================================================== --- python-poetry-plugin-up/trunk/PKGBUILD (rev 0) +++ python-poetry-plugin-up/trunk/PKGBUILD 2023-01-19 08:47:11 UTC (rev 1386992) @@ -0,0 +1,39 @@ +# Maintainer: Maxime Gauduin <[email protected]> +# Contributor: Matthew Gamble <[email protected]> + +pkgname=python-poetry-plugin-up +pkgver=0.2.1 +pkgrel=1 +pkgdesc='Poetry plugin that updates dependencies and bumps their versions in pyproject.toml file' +url=https://github.com/MousaZeidBaker/poetry-plugin-up +license=(MIT) +depends=( + python + python-poetry +) +makedepends=( + git + python-build + python-installer +) +_tag=54e7deb4528dffcc7df8b2bab56f0f360a1b5831 +source=(git+https://github.com/MousaZeidBaker/poetry-plugin-up.git#tag=${_tag}) +b2sums=(SKIP) +arch=(any) + +pkgver() { + cd poetry-plugin-up + git describe --tags +} + +build() { + cd poetry-plugin-up + python -m build -wn +} + +package() { + python -m installer -d "${pkgdir}" poetry-plugin-up/dist/*.whl + install -Dm 644 poetry-plugin-up/LICENSE -t "${pkgdir}"/usr/share/licenses/python-poetry-plugin-up/ +} + +# vim: ts=2 sw=2 et:
