pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

import py-trie-0.2 to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamelderouiche%yahoo.com@localhost>
Pushed By:	jihbed
Date:		Fri Dec 4 21:45:24 2020 +0100
Changeset:	bbdd080f08de7148da7041bf6e72235dda2a8d47

Added Files:
	py-trie3/DESCR
	py-trie3/Makefile
	py-trie3/PLIST
	py-trie3/distinfo

Log Message:
import py-trie-0.2 to wip

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=bbdd080f08de7148da7041bf6e72235dda2a8d47

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-trie3/DESCR    |  5 +++++
 py-trie3/Makefile | 19 +++++++++++++++++++
 py-trie3/PLIST    |  5 +++++
 py-trie3/distinfo |  6 ++++++
 4 files changed, 35 insertions(+)

diffs:
diff --git a/py-trie3/DESCR b/py-trie3/DESCR
new file mode 100644
index 0000000000..bbcc00c049
--- /dev/null
+++ b/py-trie3/DESCR
@@ -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
diff --git a/py-trie3/Makefile b/py-trie3/Makefile
new file mode 100644
index 0000000000..0c175c68a1
--- /dev/null
+++ b/py-trie3/Makefile
@@ -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@localhost
+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"
diff --git a/py-trie3/PLIST b/py-trie3/PLIST
new file mode 100644
index 0000000000..39053dc70d
--- /dev/null
+++ b/py-trie3/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/pytrie.py
+${PYSITELIB}/pytrie.pyc
+${PYSITELIB}/pytrie.pyo
diff --git a/py-trie3/distinfo b/py-trie3/distinfo
new file mode 100644
index 0000000000..3d61f18570
--- /dev/null
+++ b/py-trie3/distinfo
@@ -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


Home | Main Index | Thread Index | Old Index