From nobody Wed Feb 21 15:17:07 2024 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 4Tg0Hm32LBz59dV8; Wed, 21 Feb 2024 15:17:08 +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 4Tg0Hm0V5sz4sxZ; Wed, 21 Feb 2024 15:17:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708528628; 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=j2xAhDe0iVXWqiXb1kfdpwPzZ+lKHDM5Z1xtu3kOgTg=; b=XuqSaloFjF9otnt9ps+73+zCnqNQPrS4t1a5MIXFsHbk1xWhKKA7xD84TqofKwJXQCLZ1s u6m/wZL2JlbmpiQiJky2L08B9EZaXe+az7vNjTD01/bU1gbgkAlpCrOEmZ4VE/MFFe88bu mCNieXNUVqd7mJj8ZGyVTbqxRV63LNzfjdyGs4nBvdj7ygxlBgK38SP8Bi9Um9lkZ9Chdk SLwLcdn6zHaU4yPGemmeQU0Z4+ZoBB5VkUtcyJLRyKU9FUYby3SV5fpIYWm96Pun5pVWVG eqluLzS6gLAIc4HPtx/2Rl1oaP7Yg5Wc6VSGS7T/FOUr970HJeetIgXL0Ir7IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708528628; 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=j2xAhDe0iVXWqiXb1kfdpwPzZ+lKHDM5Z1xtu3kOgTg=; b=KGvFN+iPLuMuFY6fuBcktpiEAsQ5EWBjjVpm2+EQrnAlpo6uQciR53lWZ2mRK182hUaGog U/By6d/kbT2a4FL5Qj7DStMvLkIA2VzQShEWom3EnTBj8eL0mnmRVax/V5TIhxXrYSpWGH w40Oyh7/JVfcEHMI/EMp7nkYIsATw+cH+9C3/u9zL7nZNnxnw1KyyAxOSrWahqH2IsGBp8 o9uql84oM51BdWJ02RZfnsroQtqgLusHHeF0foy4SwNPlmESpJSqpLAIpN7E+1OVpDUljX i40Q98xOhEFQDP+OhEHFdd8DqwV3w7+ybp7yJc7lvPwF8Z0vyGmBgJBFoMInWw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708528628; a=rsa-sha256; cv=none; b=fvu1AcEoCW+P1d/CvOdqMPFaDyCfWOdsBON0U7ULTMj55ClhqKblWN9qowwBzpzF8VHhGO o0saGCT4GzwyZ4i5DDUCkk/Apgb0aRArLKXp2rktFqU/RszoBuD2T8fIa113OaiO9MSZqT LvnzVnGS4vySkvl7/DfEGKhp1CUicEPhjpcPFBiBg2UaHbcKsTKbA7D+9RtwZJ05s2aw8Q grnm8IWmDEsH19wYfTMInn9xx82IKwm7Geu3JZkivv7EY+EFnedWFZV3DQOwHNs3UNRaf0 bM6QUvXUOdOiOLjigwaOqWmFQiZ8Z38pVgbyrodrmenMiM2OiR89rKEQAe9nNQ== 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 4Tg0Hl6jtPz16V0; Wed, 21 Feb 2024 15:17:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41LFH7K3011922; Wed, 21 Feb 2024 15:17:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41LFH79O011919; Wed, 21 Feb 2024 15:17:07 GMT (envelope-from git) Date: Wed, 21 Feb 2024 15:17:07 GMT Message-Id: <202402211517.41LFH79O011919@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: 4e7341ccc5c8 - main - devel/py-marisa-trie: Add py-marisa-trie 1.1.0 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: 4e7341ccc5c87ba09f66d6b45d1c6a3e699247ea Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=4e7341ccc5c87ba09f66d6b45d1c6a3e699247ea commit 4e7341ccc5c87ba09f66d6b45d1c6a3e699247ea Author: Po-Chuan Hsieh AuthorDate: 2024-02-21 14:12:49 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-02-21 15:06:05 +0000 devel/py-marisa-trie: Add py-marisa-trie 1.1.0 MARISA Trie provides static memory-efficient Trie-like structures for Python based on marisa-trie C++ library. String data in a MARISA-trie may take up to 50x-100x less memory than in a standard Python dict; the raw lookup speed is comparable; trie also provides fast advanced methods like prefix search. Note: There are official SWIG-based Python bindings included in C++ library distribution; this package provides alternative Cython-based pip-installable Python bindings. --- devel/Makefile | 1 + devel/py-marisa-trie/Makefile | 23 +++++++++++++++++++++++ devel/py-marisa-trie/distinfo | 3 +++ devel/py-marisa-trie/pkg-descr | 10 ++++++++++ 4 files changed, 37 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 9744db7ea3b3..32dfe11ad80b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5005,6 +5005,7 @@ SUBDIR += py-mailcap-fix SUBDIR += py-makefun SUBDIR += py-manuel + SUBDIR += py-marisa-trie SUBDIR += py-marrow.mailer SUBDIR += py-marrow.util SUBDIR += py-marshmallow diff --git a/devel/py-marisa-trie/Makefile b/devel/py-marisa-trie/Makefile new file mode 100644 index 000000000000..28454cfe608a --- /dev/null +++ b/devel/py-marisa-trie/Makefile @@ -0,0 +1,23 @@ +PORTNAME= marisa-trie +PORTVERSION= 1.1.0 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Static memory-efficient and fast Trie-like structures for Python +WWW= https://marisa-trie.readthedocs.io/en/latest/ \ + https://github.com/pytries/marisa-trie + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + +.include diff --git a/devel/py-marisa-trie/distinfo b/devel/py-marisa-trie/distinfo new file mode 100644 index 000000000000..b86d42a39436 --- /dev/null +++ b/devel/py-marisa-trie/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1708448822 +SHA256 (marisa-trie-1.1.0.tar.gz) = 5bf43ed0cf36af4578fe7b034cf95f532439766516680e4bd603723611ebd56b +SIZE (marisa-trie-1.1.0.tar.gz) = 410640 diff --git a/devel/py-marisa-trie/pkg-descr b/devel/py-marisa-trie/pkg-descr new file mode 100644 index 000000000000..271e60e65ad9 --- /dev/null +++ b/devel/py-marisa-trie/pkg-descr @@ -0,0 +1,10 @@ +MARISA Trie provides static memory-efficient Trie-like structures for Python +based on marisa-trie C++ library. + +String data in a MARISA-trie may take up to 50x-100x less memory than in a +standard Python dict; the raw lookup speed is comparable; trie also provides +fast advanced methods like prefix search. + +Note: There are official SWIG-based Python bindings included in C++ library +distribution; this package provides alternative Cython-based pip-installable +Python bindings.