psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

27 lines
885 B
Plaintext

# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=py3-jellyfish
pkgver=0.9.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="python3-dev py3-setuptools"
source="https://files.pythonhosted.org/packages/source/j/jellyfish/jellyfish-$pkgver.tar.gz"
builddir="$srcdir/jellyfish-$pkgver"
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
1faa3ea03ec8b26085b5db34339f0aea061d3e4897f29235eca56995bea36ae8c152ae0ab0c67279dab4844d92d89293e2de2126c1d449407652b77da258e9f0 jellyfish-0.9.0.tar.gz
"