1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

New port: devel/py-datrie: Super-fast, efficiently stored Trie for Python

This commit is contained in:
Yuri Victorovich 2018-11-27 07:52:00 +00:00
parent 1fdf92a957
commit 4d412b1245
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=485986
5 changed files with 42 additions and 0 deletions

View File

@ -4511,6 +4511,7 @@
SUBDIR += py-darts.util.lru
SUBDIR += py-dateutil
SUBDIR += py-dateutils
SUBDIR += py-datrie
SUBDIR += py-dbus
SUBDIR += py-ddt
SUBDIR += py-debtcollector

23
devel/py-datrie/Makefile Normal file
View File

@ -0,0 +1,23 @@
# $FreeBSD$
PORTNAME= datrie
PORTVERSION= 0.7.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Super-fast, efficiently stored Trie for Python
LICENSE= GPLv2
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
.include <bsd.port.mk>

3
devel/py-datrie/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1543304504
SHA256 (datrie-0.7.1.tar.gz) = 7a11371cc2dbbad71d6dfef57ced6e8b384bb377eeb847c63d58f8dc8e8b2023
SIZE (datrie-0.7.1.tar.gz) = 193464

View File

@ -0,0 +1,9 @@
--- setup.py.orig 2018-11-27 07:47:36 UTC
+++ setup.py
@@ -54,5 +54,5 @@ setup(name="datrie",
], include_dirs=[LIBDATRIE_DIR])
],
- setup_requires=["pytest-runner"],
+ setup_requires=[],
tests_require=["pytest", "hypothesis"])

View File

@ -0,0 +1,6 @@
Python binding for libdatrie, a kind of digital search tree.
Trie is an efficient indexing method. It is also a kind of deterministic finite
automaton (DFA).
WWW: https://github.com/pytries/datrie