From nobody Tue Apr 18 18:08:17 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q1Bjs55lXz45Rjn; Tue, 18 Apr 2023 18:08:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q1Bjs3FDJz4Dpn; Tue, 18 Apr 2023 18:08:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681841297; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pWv2D3fp2HWNfrG+JLI98WPnQ5jxlIv5euLlIz/vkj4=; b=JjDKe6Jtc7dGKlKm6s3KGNBlrMmA/bhO1CUcyuMy90XTGbSceYENcI53vrjTJnvqFUC0Zv /nX8hsSAYYmWa/AyW6VVBl9QE2yN8sFcTqhMV3zHzCltoFrIbxOGkmfW+m+ffpA1nq3Ncf pq/aYtT1IC5ZnJrrEtwZ1PEi4GDiXUlwsD0cO9QY7zHbO4KT+LHzN6I+yhh4kKxfUInpoX H5jK1nxQzmNien1JELtJbEzfms5qQJqvNo+AJS8e0BAihdYVwTqY6qeoR2fnNI+vfSk580 IhKBZ1zPbemx9Uey3zyWiweOEnMvOQ+SlH8FHWnOMzpsiv5M4oGuK6VxWTk3JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681841297; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pWv2D3fp2HWNfrG+JLI98WPnQ5jxlIv5euLlIz/vkj4=; b=JCOnEzcpowaVTzhjfIwJRiJpN3qqxueJl1aZqWWDFI2j7tiVeXiBkU7AJJjVsGm+7+YC3v BEH/UgB7l5n20cTiei439jAge0y1PshKYjD9z9tN6K//OoOF/molt/e8pxTTAOQN+94z94 1pH2DusVFXgwNpKdCg6WWB6lrxvPBwNQDMP+MPPbqvahst+3/pu4+jie+/K+o181/YPtBd nEztJnhbfag9Lrf3AmR8OVSlLTfKezpVVYSI0q+iLYnaX+RX/qwTthZGmXn2Hm4n9Da//A cv23kRe+fGRqaWLuwnbEcoqZozXKDcfQ6zMMBjNWlfvxmolSBNpowh4Vyv4esw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681841297; a=rsa-sha256; cv=none; b=nbL7oNHq4L99os9ZdxPaR+L0Su/kK+BDTywC+NXw2IJmfzbS634uRQC4tlaJrxQbIrxF+x vedozKT40pHQuyUYQD2kLgrEGut4pgyc6BevXyDG++9V/xVmAfDZB/TAqvP2IX7K90vLbW n20xkVw/pCGBZtXz/rzgsvjGMS6upO96juDudcLdJdFH7EarsuNNM73CQeiUWjsauAmqlP TQ+Xh/LUW6LYOhNIUso398dG/k3/GZ4RbYavIlkx5aXVhNrxZvlsIUDfsW8kfXjyiuDPZK N7d7yP6ynw8/4YtMcCzQrxpqMzfTRexUdLDJawacGyfrfMGZor85ZBC65eGOAw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q1Bjs2G1RzM9h; Tue, 18 Apr 2023 18:08:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33II8H7U078523; Tue, 18 Apr 2023 18:08:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33II8Hx5078522; Tue, 18 Apr 2023 18:08:17 GMT (envelope-from git) Date: Tue, 18 Apr 2023 18:08:17 GMT Message-Id: <202304181808.33II8Hx5078522@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 9316129e3043 - main - devel/py-rapidfuzz2: Add py-rapidfuzz2 2.15.1 (copied from py-rapidfuzz) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9316129e30438c26c0f6096352c6c4844ccf64ff Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=9316129e30438c26c0f6096352c6c4844ccf64ff commit 9316129e30438c26c0f6096352c6c4844ccf64ff Author: Po-Chuan Hsieh AuthorDate: 2023-04-18 17:51:39 +0000 Commit: Po-Chuan Hsieh 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 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.