From nobody Mon Apr 25 15:53:55 2022 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 4B0C61A91ABD; Mon, 25 Apr 2022 15:53:56 +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 4Kn8h41c7Xz3R19; Mon, 25 Apr 2022 15:53:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650902036; 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=0uiHagZYCMnk6f7AyhBw7jB7CAIyJHbwxmdOlsUHPtA=; b=epRxpAaOz3Z17py1hQkKUL1tpyiC+wV/srnUvHZyYo4or1u/3Jkv60EDaaqAZblF8jT+XB x4BxY/IMnXNrvPfYDvEjYyTthpn6MEIdj/WNivyalYdIK7Tv2Yte2v3czRuCG03SmIrWVI NwvoJwVE5wqMkd9YDGPoxJvUDJTtjInYtprH5gp9mkizOBUdoPmD1XUaXHhD+/ginZvKII q7mtU+0YLFwGdPMm1wl8PabG1ACx0U8lBYlxKVBneqR7rJs0fXj1FR4KP7UXh6LdrXZY0C F6fK0NtHrmVKuUmb6TmzPkkPWNQh0rTiuKmNtFf9VePJymE/8RF7pqGK57AmsQ== 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 0CF5D1D6FB; Mon, 25 Apr 2022 15:53:56 +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 23PFrtMs055330; Mon, 25 Apr 2022 15:53:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23PFrtWj055329; Mon, 25 Apr 2022 15:53:55 GMT (envelope-from git) Date: Mon, 25 Apr 2022 15:53:55 GMT Message-Id: <202204251553.23PFrtWj055329@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 6076cd94779b - main - New port: textproc/py-jarowinkler: Library for fast approximate string matching 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6076cd94779b002773c354134be99a0f6f72d1fd Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650902036; 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=0uiHagZYCMnk6f7AyhBw7jB7CAIyJHbwxmdOlsUHPtA=; b=qNGMptx0KE29clO6TLSWpaHiPOIcCuPOv3KvXxWppFqP72lX8QCqSUP1JWJUNgOUObR9dk AzEk3p6SNb1GG8Bzx69nd+6Qs/1O7+laxcmnhUCyWfjWNXTbq6vzhmYOtAfw8R7GF1Jcry M7UPwLbbJ2QfoK8AYXXvvrVBPkhnvJFsRMBZE6apQBMgU5EWgZVIlkXn7OEkP58f0qi9Cx 4DWy2bghIpIJWN3J4xRZsf7fK5o6IlPxmdmZz0bDkDu0XNR8Cj/Zog3BOb4DwXeIHVZnQK fwm4PElENjl7Hp2BcPgE7MqNONgb7WTSTS+ViLKjO3QIF2CM3hZoF6vGn3cnBg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650902036; a=rsa-sha256; cv=none; b=nlCiHqzJFFLxBGyJRzwF+xljsFYolssecfPDXEGT3yWT9MW9j+qbUQ9hsphYvQxecZBibI IBfPO+FKUAjVD06KPsxkvQPVG7ub4ZRMZkMkKBuxatohdxmtg3Uy7vDe6/EHsenHcwa6Ku 8tKZDE6BqvIrfCkVFZ0gHuxRm9sRqe/TSBH6Rr63teOja0RoYvDqMhVGV3ekYixY+XPD4t F+EUlok3HUXA7uE5S/KHbCxB96lU6QH2dDpV3AkK7AI9iHdnJ727zN7AxoKH8ufzUNebkn J8B1IP2Qlrb91AbDSknDfsXC/55a9FJZhVg/T+13SjVfITAywmGCY6Ek+Qn18A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=6076cd94779b002773c354134be99a0f6f72d1fd commit 6076cd94779b002773c354134be99a0f6f72d1fd Author: Yuri Victorovich AuthorDate: 2022-04-25 04:24:58 +0000 Commit: Yuri Victorovich CommitDate: 2022-04-25 15:50:47 +0000 New port: textproc/py-jarowinkler: Library for fast approximate string matching --- textproc/Makefile | 1 + textproc/py-jarowinkler/Makefile | 23 +++++++++++++++++++++++ textproc/py-jarowinkler/distinfo | 3 +++ textproc/py-jarowinkler/pkg-descr | 5 +++++ 4 files changed, 32 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index eb147aced0ba..b805f1d7f122 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1335,6 +1335,7 @@ SUBDIR += py-iso-639 SUBDIR += py-iso3166 SUBDIR += py-j2cli + SUBDIR += py-jarowinkler SUBDIR += py-jc SUBDIR += py-jinja2-cli SUBDIR += py-jq diff --git a/textproc/py-jarowinkler/Makefile b/textproc/py-jarowinkler/Makefile new file mode 100644 index 000000000000..cd9ca645fde5 --- /dev/null +++ b/textproc/py-jarowinkler/Makefile @@ -0,0 +1,23 @@ +PORTNAME= jarowinkler +PORTVERSION= 1.0.2 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Library for fast approximate string matching + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= cmake:devel/cmake \ + ${PYTHON_PKGNAMEPREFIX}rapidfuzz-capi>0:devel/py-rapidfuzz-capi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scikit-build>0:devel/py-scikit-build@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils cython autoplist + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/jarowinkler/_initialize.*.so + +.include diff --git a/textproc/py-jarowinkler/distinfo b/textproc/py-jarowinkler/distinfo new file mode 100644 index 000000000000..3fc01231fa58 --- /dev/null +++ b/textproc/py-jarowinkler/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1650860158 +SHA256 (jarowinkler-1.0.2.tar.gz) = 788ac33e6ffdbd78fd913b481e37cfa149288575f087a1aae1a4ce219cb1c654 +SIZE (jarowinkler-1.0.2.tar.gz) = 75258 diff --git a/textproc/py-jarowinkler/pkg-descr b/textproc/py-jarowinkler/pkg-descr new file mode 100644 index 000000000000..ad19e17bbe51 --- /dev/null +++ b/textproc/py-jarowinkler/pkg-descr @@ -0,0 +1,5 @@ +JaroWinkler is a library to calculate the Jaro and Jaro-Winkler +similarity. It is easy to use, is far more performant than all +alternatives and is designed to integrate seemingless with RapidFuzz. + +WWW: https://github.com/maxbachmann/JaroWinkler