python-pfzy: auto updated to 0.3.4-3

This commit is contained in:
Lilac 2024-01-21 16:06:30 +00:00
parent db6ade167a
commit e2bb2c75c3

23
repo/python-pfzy/PKGBUILD Normal file
View file

@ -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
}