From b21198d974ae7364873bd0723e1fc00c4fb89afa Mon Sep 17 00:00:00 2001 From: chrysos349 Date: Thu, 12 Oct 2023 00:53:04 +0300 Subject: [PATCH] New package: python3-rapidfuzz-3.4.0 --- srcpkgs/python3-rapidfuzz/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-rapidfuzz/template diff --git a/srcpkgs/python3-rapidfuzz/template b/srcpkgs/python3-rapidfuzz/template new file mode 100644 index 00000000000..ab959d09367 --- /dev/null +++ b/srcpkgs/python3-rapidfuzz/template @@ -0,0 +1,21 @@ +# Template file for 'python3-rapidfuzz' +pkgname=python3-rapidfuzz +version=3.4.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="cmake python3-scikit-build" +makedepends="python3-devel rapidfuzz-cpp" +depends="python3" +checkdepends="python3-hypothesis python3-pandas python3-pytest" +short_desc="Rapid fuzzy string matching in Python using various string metrics" +maintainer="chrysos349 " +license="MIT" +homepage="https://github.com/maxbachmann/rapidfuzz" +distfiles="${PYPI_SITE}/r/rapidfuzz/rapidfuzz-${version}.tar.gz" +checksum=a74112e2126b428c77db5e96f7ce34e91e750552147305b2d361122cbede2955 + +export CMAKE_ARGS="-DPython_INCLUDE_DIR:PATH=${XBPS_CROSS_BASE}/${py3_inc}" + +post_install() { + vlicense LICENSE +}