blob: c35ae25b09fffb9d1656202ea5cc90cb2a5e810a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
PORTNAME= rapidfuzz
DISTVERSION= 2.15.1
PORTREVISION= 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>
|