package/python-ipython-genutils: New package
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Fri, 2 Jun 2017 23:56:46 +0000 (16:56 -0700)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 11 Jun 2017 12:55:47 +0000 (14:55 +0200)
Add 'ipython_genutils'[1] package to Buildroot. Needed by 'traitlets'.

[1] https://pypi.python.org/pypi/ipython_genutils

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: take into account comments made by Yegor:
 - fix alphabetic ordering in the DEVELOPERS file
 - fix comment in hash file
 - add license file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
DEVELOPERS
package/Config.in
package/python-ipython-genutils/Config.in [new file with mode: 0644]
package/python-ipython-genutils/python-ipython-genutils.hash [new file with mode: 0644]
package/python-ipython-genutils/python-ipython-genutils.mk [new file with mode: 0644]

index e86f7b34c3b4c3f4189ac647af7712e5daa73e74..583624d4d8dfa2fe20a8d7713c36b4f22c2fc7c3 100644 (file)
@@ -82,6 +82,7 @@ F:    package/wine/
 
 N:     Andrey Smirnov <andrew.smirnov@gmail.com>
 F:     package/python-decorator/
+F:     package/python-ipython-genutils/
 F:     package/python-simplegeneric/
 
 N:     Andy Kennedy <andy.kennedy@adtran.com>
index e00b1621734b725284a18e9825e1ebf9a2a731e3..e8665627611a20880679564214cb50575a88d452 100644 (file)
@@ -740,6 +740,7 @@ menu "External python modules"
        source "package/python-ipaddress/Config.in"
        source "package/python-ipy/Config.in"
        source "package/python-ipython/Config.in"
+       source "package/python-ipython-genutils/Config.in"
        source "package/python-itsdangerous/Config.in"
        source "package/python-jinja2/Config.in"
        source "package/python-jsonschema/Config.in"
diff --git a/package/python-ipython-genutils/Config.in b/package/python-ipython-genutils/Config.in
new file mode 100644 (file)
index 0000000..d49442e
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_IPYTHON_GENUTILS
+       bool "python-ipython-genutils"
+       help
+         IPython vestigial utilities
+
+         https://pypi.python.org/pypi/ipython_genutils
diff --git a/package/python-ipython-genutils/python-ipython-genutils.hash b/package/python-ipython-genutils/python-ipython-genutils.hash
new file mode 100644 (file)
index 0000000..6fa2bc5
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/ipython_genutils/json, sha256 locally computed
+md5 5a4f9781f78466da0ea1a648f3e1f79f ipython_genutils-0.2.0.tar.gz
+sha256 eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8 ipython_genutils-0.2.0.tar.gz
diff --git a/package/python-ipython-genutils/python-ipython-genutils.mk b/package/python-ipython-genutils/python-ipython-genutils.mk
new file mode 100644 (file)
index 0000000..4e8cc28
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-ipython-genutils
+#
+################################################################################
+
+PYTHON_IPYTHON_GENUTILS_VERSION = 0.2.0
+PYTHON_IPYTHON_GENUTILS_SOURCE = ipython_genutils-$(PYTHON_IPYTHON_GENUTILS_VERSION).tar.gz
+PYTHON_IPYTHON_GENUTILS_SITE = https://pypi.python.org/packages/e8/69/fbeffffc05236398ebfcfb512b6d2511c622871dca1746361006da310399
+PYTHON_IPYTHON_GENUTILS_LICENSE = BSD-3-Clause
+PYTHON_IPYTHON_GENUTILS_LICENSE_FILES = COPYING.md
+PYTHON_IPYTHON_GENUTILS_SETUP_TYPE = distutils
+
+$(eval $(python-package))