import py-trie-0.2 to wip

This commit is contained in:
K.I.A.Derouiche 2020-12-04 21:45:24 +01:00
parent 98a1a3e33d
commit bbdd080f08
4 changed files with 35 additions and 0 deletions

5
py-trie3/DESCR Normal file
View File

@ -0,0 +1,5 @@
Python3 port of PyTrie. A *trie* is an ordered tree data structure that
is used to store a mapping where the keys are sequences, usually
strings over an alphabet. In addition to implementing the mapping
interface, tries allow finding the items for a given prefix, and vice
versa, finding the items whose keys are prefixes of a given key

19
py-trie3/Makefile Normal file
View File

@ -0,0 +1,19 @@
# $NetBSD$
DISTNAME= PyTrie3-0.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Py//tl}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/PyTrie3/}
MAINTAINER= kamelderouiche@yahoo.com
HOMEPAGE= https://github.com/datapublica/pytrie3
COMMENT= Python implementation of the trie data structure
LICENSE= modified-bsd
USE_LANGUAGES= # none
do-test:
${RUN} cd ${WRKSRC}/test; ${SETENV} ${TEST_ENV} ${PYTHONBIN} test_trie.py
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"

5
py-trie3/PLIST Normal file
View File

@ -0,0 +1,5 @@
@comment $NetBSD$
${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/pytrie.py
${PYSITELIB}/pytrie.pyc
${PYSITELIB}/pytrie.pyo

6
py-trie3/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (PyTrie3-0.2.tar.gz) = a681a63fc9d75cff026caafd255b27d1bfb9c912
RMD160 (PyTrie3-0.2.tar.gz) = 634bc00c7a2df5c5f149c0e27ba33a6a1e48d3a9
SHA512 (PyTrie3-0.2.tar.gz) = 834898f3bab1cc7560dc1d176b471b0ea49ecd73e908fb85c74af8505627752452f645fa3f3df9f768e5f379e3c77b47da9170aa8abb49ca6362462060cf7897
Size (PyTrie3-0.2.tar.gz) = 97730 bytes