package/python-ipdb: new package
authorAsaf Kahlon <asafka7@gmail.com>
Thu, 28 May 2020 09:52:04 +0000 (12:52 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 8 Sep 2020 07:57:03 +0000 (09:57 +0200)
IPython-enabled pdb.

This package can be very helpful when someone wants to debug
a Python application on the board itself.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/Config.in
package/python-ipdb/Config.in [new file with mode: 0644]
package/python-ipdb/python-ipdb.hash [new file with mode: 0644]
package/python-ipdb/python-ipdb.mk [new file with mode: 0644]

index 5afa7eec06b4c1d5ebbc8491cb2776cd575c1afb..17d2bd4f923b26341905eb3a36c2c7c4bc8574e7 100644 (file)
@@ -999,6 +999,7 @@ menu "External python modules"
        source "package/python-iowait/Config.in"
        source "package/python-ipaddr/Config.in"
        source "package/python-ipaddress/Config.in"
+       source "package/python-ipdb/Config.in"
        source "package/python-iptables/Config.in"
        source "package/python-ipy/Config.in"
        source "package/python-ipython/Config.in"
diff --git a/package/python-ipdb/Config.in b/package/python-ipdb/Config.in
new file mode 100644 (file)
index 0000000..4a89bf7
--- /dev/null
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_IPDB
+       bool "python-ipdb"
+       depends on BR2_PACKAGE_PYTHON3 # python-ipython
+       select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
+       select BR2_PACKAGE_PYTHON_IPYTHON # runtime
+       help
+         IPython-enabled pdb.
+
+         https://github.com/gotcha/ipdb
diff --git a/package/python-ipdb/python-ipdb.hash b/package/python-ipdb/python-ipdb.hash
new file mode 100644 (file)
index 0000000..c7cd932
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/ipdb/json
+md5  7db72771b279924ac4e5905d7eee184e  ipdb-0.13.2.tar.gz
+sha256  77fb1c2a6fccdfee0136078c9ed6fe547ab00db00bebff181f1e8c9e13418d49  ipdb-0.13.2.tar.gz
+# Locally computed sha256 checksums
+sha256  4eeb49de04f4894f8ea1f69a04f500799041b750b3d554c06de5ca877258e734  COPYING.txt
diff --git a/package/python-ipdb/python-ipdb.mk b/package/python-ipdb/python-ipdb.mk
new file mode 100644 (file)
index 0000000..c98f970
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-ipdb
+#
+################################################################################
+
+PYTHON_IPDB_VERSION = 0.13.2
+PYTHON_IPDB_SOURCE = ipdb-$(PYTHON_IPDB_VERSION).tar.gz
+PYTHON_IPDB_SITE = https://files.pythonhosted.org/packages/2c/bb/a3e1a441719ebd75c6dac8170d3ddba884b7ee8a5c0f9aefa7297386627a
+PYTHON_IPDB_SETUP_TYPE = setuptools
+PYTHON_IPDB_LICENSE = BSD-3-Clause
+PYTHON_IPDB_LICENSE_FILES = COPYING.txt
+
+$(eval $(python-package))