32 lines
849 B
Text
32 lines
849 B
Text
# Maintainer: psykose <alice@ayaya.dev>
|
|
pkgname=py3-rapidfuzz-capi
|
|
pkgver=1.0.5
|
|
pkgrel=1
|
|
pkgdesc="C-API of RapidFuzz, which can be used to extend RapidFuzz from separate packages"
|
|
url="https://github.com/maxbachmann/rapidfuzz_capi"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-wheel
|
|
"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/maxbachmann/rapidfuzz_capi/archive/refs/tags/v$pkgver.tar.gz"
|
|
builddir="$srcdir/rapidfuzz_capi-$pkgver"
|
|
options="!check" # no tests
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 1
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/rapidfuzz_capi*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
b62c6fdd0e5d0804f7c1ef6f6b5e007afd8439720071fbdf1440232c62925e794a6ae33774a33ef745ebbd4ef956a85d2bf60934a7d568d39d1e590467f26bcf py3-rapidfuzz-capi-1.0.5.tar.gz
|
|
"
|