]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
python-pytrie: new package
authorMauro Condarelli <mc5686@mclink.it>
Sat, 6 Feb 2016 22:59:52 +0000 (23:59 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 19 Feb 2016 21:22:00 +0000 (22:22 +0100)
Signed-off-by: Mauro Condarelli <mc5686@mclink.it>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-pytrie/Config.in [new file with mode: 0644]
package/python-pytrie/python-pytrie.hash [new file with mode: 0644]
package/python-pytrie/python-pytrie.mk [new file with mode: 0644]

index ca3d0636d9acc7bfdc1f9a0d85e8c4ab43a84641..32bf4ddba3b74ff16b0d8b4d83b5a161b11d53fc 100644 (file)
@@ -700,6 +700,7 @@ menu "External python modules"
        source "package/python-pysnmp/Config.in"
        source "package/python-pysnmp-apps/Config.in"
        source "package/python-pysnmp-mibs/Config.in"
+       source "package/python-pytrie/Config.in"
        source "package/python-pyudev/Config.in"
        source "package/python-pyusb/Config.in"
        source "package/python-pyxb/Config.in"
diff --git a/package/python-pytrie/Config.in b/package/python-pytrie/Config.in
new file mode 100644 (file)
index 0000000..fb1df41
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_PYTRIE
+       bool "python-pytrie"
+       help
+         A pure Python implementation of the trie data structure.
+
+         https://pypi.python.org/pypi/PyTrie
diff --git a/package/python-pytrie/python-pytrie.hash b/package/python-pytrie/python-pytrie.hash
new file mode 100644 (file)
index 0000000..88d2542
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=5997b46c854a68bc588f4527c987663a, sha256 locally computed.
+md5    5997b46c854a68bc588f4527c987663a  PyTrie-0.2.tar.gz
+sha256 b272021351efadc6757591aac03ed4794bdfd091122204a4673e94bfb66cc500  PyTrie-0.2.tar.gz
diff --git a/package/python-pytrie/python-pytrie.mk b/package/python-pytrie/python-pytrie.mk
new file mode 100644 (file)
index 0000000..e3bea4f
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pytrie
+#
+################################################################################
+
+PYTHON_PYTRIE_VERSION = 0.2
+PYTHON_PYTRIE_SITE = http://pypi.python.org/packages/source/P/PyTrie
+PYTHON_PYTRIE_SOURCE = PyTrie-$(PYTHON_PYTRIE_VERSION).tar.gz
+PYTHON_PYTRIE_LICENSE = BSD-3c
+PYTHON_PYTRIE_LICENSE_FILES = LICENSE
+PYTHON_PYTRIE_SETUP_TYPE = distutils
+
+$(eval $(python-package))