# Contributor: Carlo Landmeter # Maintainer: Carlo Landmeter pkgname=py3-jellyfish pkgver=1.0.0 pkgrel=0 pkgdesc="Python library for approximate and phonetic string matching" url="https://github.com/jamesturk/jellyfish" arch="all" license="BSD-2-Clause" replaces="py-jellyfish" # for backwards compatibility provides="py-jellyfish=$pkgver-r$pkgrel" # for backwards compatibility makedepends=" cargo py3-gpep517 py3-maturin python3-dev " subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/j/jellyfish/jellyfish-$pkgver.tar.gz" builddir="$srcdir/jellyfish-$pkgver" options="net" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 744a29b52cdddc9d6e56ec78ead2216b604a0b2ce053c2896199357afd27073bc2c072aedc8479df96fc0e8319f3deef0a5126dc23816a365c234a5909f2b43a jellyfish-1.0.0.tar.gz "