Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2023 18:08:17 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 9316129e3043 - main - devel/py-rapidfuzz2: Add py-rapidfuzz2 2.15.1 (copied from py-rapidfuzz)
Message-ID:  <202304181808.33II8Hx5078522@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9316129e30438c26c0f6096352c6c4844ccf64ff

commit 9316129e30438c26c0f6096352c6c4844ccf64ff
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-18 17:51:39 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-18 18:00:42 +0000

    devel/py-rapidfuzz2: Add py-rapidfuzz2 2.15.1 (copied from py-rapidfuzz)
    
    - Sort BUILD_DEPENDS
    - Remove PYNUMPY
    - Add PORTSCOUT
---
 devel/Makefile                |  1 +
 devel/py-rapidfuzz2/Makefile  | 36 ++++++++++++++++++++++++++++++++++++
 devel/py-rapidfuzz2/distinfo  |  3 +++
 devel/py-rapidfuzz2/pkg-descr |  1 +
 4 files changed, 41 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index a88f86bf1727..39dc8e47ce64 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5375,6 +5375,7 @@
     SUBDIR += py-ramlfications
     SUBDIR += py-rapidfuzz
     SUBDIR += py-rapidfuzz-capi
+    SUBDIR += py-rapidfuzz2
     SUBDIR += py-ratelimiter
     SUBDIR += py-rauth
     SUBDIR += py-raven
diff --git a/devel/py-rapidfuzz2/Makefile b/devel/py-rapidfuzz2/Makefile
new file mode 100644
index 000000000000..f93128da3e53
--- /dev/null
+++ b/devel/py-rapidfuzz2/Makefile
@@ -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>
diff --git a/devel/py-rapidfuzz2/distinfo b/devel/py-rapidfuzz2/distinfo
new file mode 100644
index 000000000000..22775ad37023
--- /dev/null
+++ b/devel/py-rapidfuzz2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681186230
+SHA256 (rapidfuzz-2.15.1.tar.gz) = d62137c2ca37aea90a11003ad7dc109c8f1739bfbe5a9a217f3cdb07d7ac00f6
+SIZE (rapidfuzz-2.15.1.tar.gz) = 1209658
diff --git a/devel/py-rapidfuzz2/pkg-descr b/devel/py-rapidfuzz2/pkg-descr
new file mode 100644
index 000000000000..42f54c3983aa
--- /dev/null
+++ b/devel/py-rapidfuzz2/pkg-descr
@@ -0,0 +1 @@
+Rapid fuzzy string matching in Python using various string metrics.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304181808.33II8Hx5078522>