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.
This commit is contained in:
parent
8eb920e429
commit
4e7341ccc5
4 changed files with 37 additions and 0 deletions
|
@ -5005,6 +5005,7 @@
|
||||||
SUBDIR += py-mailcap-fix
|
SUBDIR += py-mailcap-fix
|
||||||
SUBDIR += py-makefun
|
SUBDIR += py-makefun
|
||||||
SUBDIR += py-manuel
|
SUBDIR += py-manuel
|
||||||
|
SUBDIR += py-marisa-trie
|
||||||
SUBDIR += py-marrow.mailer
|
SUBDIR += py-marrow.mailer
|
||||||
SUBDIR += py-marrow.util
|
SUBDIR += py-marrow.util
|
||||||
SUBDIR += py-marshmallow
|
SUBDIR += py-marshmallow
|
||||||
|
|
23
devel/py-marisa-trie/Makefile
Normal file
23
devel/py-marisa-trie/Makefile
Normal file
|
@ -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 <bsd.port.mk>
|
3
devel/py-marisa-trie/distinfo
Normal file
3
devel/py-marisa-trie/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1708448822
|
||||||
|
SHA256 (marisa-trie-1.1.0.tar.gz) = 5bf43ed0cf36af4578fe7b034cf95f532439766516680e4bd603723611ebd56b
|
||||||
|
SIZE (marisa-trie-1.1.0.tar.gz) = 410640
|
10
devel/py-marisa-trie/pkg-descr
Normal file
10
devel/py-marisa-trie/pkg-descr
Normal file
|
@ -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.
|
Loading…
Reference in a new issue