Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/py-rapidfuzz2: Add py-rapidfuzz2 2.15.1 (copied from py-rapidfuzz)
- Sort BUILD_DEPENDS - Remove PYNUMPY - Add PORTSCOUT
- Loading branch information
Showing
4 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
PORTNAME= rapidfuzz | ||
DISTVERSION= 2.15.1 | ||
CATEGORIES= devel | ||
MASTER_SITES= PYPI | ||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} | ||
PKGNAMESUFFIX= 2 | ||
|
||
MAINTAINER= sunpoet@FreeBSD.org | ||
COMMENT= Rapid fuzzy string matching in Python | ||
WWW= https://github.com/maxbachmann/RapidFuzz | ||
|
||
LICENSE= MIT | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
BUILD_DEPENDS= cmake:devel/cmake-core \ | ||
jarowinkler-cpp>=0:textproc/jarowinkler-cpp \ | ||
ninja:devel/ninja \ | ||
${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}rapidfuzz-capi>=1.0.5<1.0.5_99:devel/py-rapidfuzz-capi@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}scikit-build>=0.13.0:devel/py-scikit-build@${PY_FLAVOR} \ | ||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \ | ||
rapidfuzz-cpp>=0:devel/rapidfuzz-cpp \ | ||
taskflow>=0:devel/taskflow | ||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jarowinkler>=1.0.3:textproc/py-jarowinkler@${PY_FLAVOR} | ||
|
||
USES= compiler:c++14-lang python:3.6+ | ||
USE_PYTHON= autoplist concurrent distutils | ||
|
||
PORTSCOUT= limit:^2\. | ||
|
||
post-install: | ||
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + | ||
# ${PYTHON_CMD} -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} | ||
# ${PYTHON_CMD} -O -m compileall -d ${PYTHON_SITELIBDIR} ${STAGEDIR}${PYTHON_SITELIBDIR} | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1681186230 | ||
SHA256 (rapidfuzz-2.15.1.tar.gz) = d62137c2ca37aea90a11003ad7dc109c8f1739bfbe5a9a217f3cdb07d7ac00f6 | ||
SIZE (rapidfuzz-2.15.1.tar.gz) = 1209658 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Rapid fuzzy string matching in Python using various string metrics. |