From a1cefddf11113c1576d0631386fda348ff016a54 Mon Sep 17 00:00:00 2001 From: Lilac Date: Sun, 21 Jan 2024 16:07:06 +0000 Subject: [PATCH] python-inquirerpy: auto updated to 0.3.4-6 --- repo/python-inquirerpy/PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 repo/python-inquirerpy/PKGBUILD diff --git a/repo/python-inquirerpy/PKGBUILD b/repo/python-inquirerpy/PKGBUILD new file mode 100644 index 0000000..976da23 --- /dev/null +++ b/repo/python-inquirerpy/PKGBUILD @@ -0,0 +1,24 @@ +pkgbase='python-inquirerpy' +pkgname=('python-inquirerpy') +_module='InquirerPy' +pkgver='0.3.4' +pkgrel=6 +pkgdesc="Python port of Inquirer.js (A collection of common interactive command-line user interfaces)" +url="https://github.com/kazhala/InquirerPy" +depends=('python' 'python-pfzy' 'python-prompt_toolkit') +makedepends=('python-build' 'python-installer' 'python-poetry-core' 'python-wheel') +license=('MIT') +arch=('any') +source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz") +sha256sums=('89d2ada0111f337483cb41ae31073108b2ec1e618a49d7110b0d7ade89fc197e') + +build() { + cd "${srcdir}/${_module}-${pkgver}" + python -m build --wheel --no-isolation + +} + +package() { + cd "${srcdir}/${_module}-${pkgver}" + python -m installer --destdir="${pkgdir}" dist/inquirerpy-${pkgver}-py3-none-any.whl +}