git: 92e6b412e2c6 - main - devel/py-rapidfuzz-capi: New port: C-API of RapidFuzz
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Feb 2022 17:11:39 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=92e6b412e2c6144fe11f0a1b447719d49a75e358 commit 92e6b412e2c6144fe11f0a1b447719d49a75e358 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-02-11 17:03:29 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-02-11 17:11:27 +0000 devel/py-rapidfuzz-capi: New port: C-API of RapidFuzz --- devel/Makefile | 1 + devel/py-rapidfuzz-capi/Makefile | 21 +++++++++++++++++++++ devel/py-rapidfuzz-capi/distinfo | 3 +++ devel/py-rapidfuzz-capi/pkg-descr | 8 ++++++++ 4 files changed, 33 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 0bdf38aefbdb..616d459aee6f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5164,6 +5164,7 @@ SUBDIR += py-qutip SUBDIR += py-ramlfications SUBDIR += py-rapidfuzz + SUBDIR += py-rapidfuzz-capi SUBDIR += py-ratelimiter SUBDIR += py-rauth SUBDIR += py-raven diff --git a/devel/py-rapidfuzz-capi/Makefile b/devel/py-rapidfuzz-capi/Makefile new file mode 100644 index 000000000000..0c314e64ba23 --- /dev/null +++ b/devel/py-rapidfuzz-capi/Makefile @@ -0,0 +1,21 @@ +PORTNAME= rapidfuzz-capi +DISTVERSION= 1.0.5 +CATEGORIES= devel +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C-API of RapidFuzz + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-rapidfuzz-capi/distinfo b/devel/py-rapidfuzz-capi/distinfo new file mode 100644 index 000000000000..9b535c2d225b --- /dev/null +++ b/devel/py-rapidfuzz-capi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1644598733 +SHA256 (rapidfuzz_capi-1.0.5.tar.gz) = b3af179874b28364ba1b7850e37d0d353de9cf5b844e3569c023b74da3a9c68e +SIZE (rapidfuzz_capi-1.0.5.tar.gz) = 4844 diff --git a/devel/py-rapidfuzz-capi/pkg-descr b/devel/py-rapidfuzz-capi/pkg-descr new file mode 100644 index 000000000000..7699d5cf2bab --- /dev/null +++ b/devel/py-rapidfuzz-capi/pkg-descr @@ -0,0 +1,8 @@ +This package provides the C-API of RapidFuzz. It can be used inside +the pyproject.toml to compile and extension module extending +RapidFuzz. Providing this C-API in a separate package simplifies the +build process. It allows the usage on platforms which are not +supported by RapidFuzz, or for which RapidFuzz does not provide wheels +(e.g. because they are not officially supported by numpy). + +WWW: https://github.com/maxbachmann/rapidfuzz_capi