From e2bb2c75c344814086d51f121f3875eec4083230 Mon Sep 17 00:00:00 2001 From: Lilac Date: Sun, 21 Jan 2024 16:06:30 +0000 Subject: [PATCH] python-pfzy: auto updated to 0.3.4-3 --- repo/python-pfzy/PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 repo/python-pfzy/PKGBUILD diff --git a/repo/python-pfzy/PKGBUILD b/repo/python-pfzy/PKGBUILD new file mode 100644 index 0000000..0d17e3e --- /dev/null +++ b/repo/python-pfzy/PKGBUILD @@ -0,0 +1,23 @@ +pkgbase='python-pfzy' +pkgname=('python-pfzy') +_module='pfzy' +pkgver='0.3.4' +pkgrel=3 +pkgdesc="Python port of the fzy fuzzy string matching algorithm" +url="https://github.com/kazhala/pfzy" +depends=('python') +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=('717ea765dd10b63618e7298b2d98efd819e0b30cd5905c9707223dceeb94b3f1') + +build() { + cd "${srcdir}/${_module}-${pkgver}" + python -m build --wheel --no-isolation +} + +package() { + cd "${srcdir}/${_module}-${pkgver}" + python -m installer --destdir="$pkgdir" dist/*.whl +}