1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/community/py3-rapidfuzz-capi/APKBUILD
psykose aa528d2a76 */*: unify gpep517 use to output to fd 3
outputting to 3 then redirecting all to stderr prevents clobbering of
wrapped build fds
2023-01-18 12:58:53 +01:00

32 lines
858 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 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
dist/rapidfuzz_capi*.whl
}
sha512sums="
b62c6fdd0e5d0804f7c1ef6f6b5e007afd8439720071fbdf1440232c62925e794a6ae33774a33ef745ebbd4ef956a85d2bf60934a7d568d39d1e590467f26bcf py3-rapidfuzz-capi-1.0.5.tar.gz
"