package: add python-networkmanager
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 26 Nov 2014 08:16:24 +0000 (09:16 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 26 Nov 2014 21:18:41 +0000 (22:18 +0100)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-networkmanager/Config.in [new file with mode: 0644]
package/python-networkmanager/python-networkmanager.hash [new file with mode: 0644]
package/python-networkmanager/python-networkmanager.mk [new file with mode: 0644]

index f3b189bb7b78c7c4f6e6e8af1545579fbe0c8cda..bb5b144e82972e400c7b15fdc39fda5bc24481a9 100644 (file)
@@ -508,6 +508,7 @@ menu "external python modules"
        source "package/python-meld3/Config.in"
        source "package/python-msgpack/Config.in"
        source "package/python-netifaces/Config.in"
+       source "package/python-networkmanager/Config.in"
        source "package/python-nfc/Config.in"
        source "package/python-numpy/Config.in"
        source "package/python-posix-ipc/Config.in"
diff --git a/package/python-networkmanager/Config.in b/package/python-networkmanager/Config.in
new file mode 100644 (file)
index 0000000..fcbce57
--- /dev/null
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_PYTHON_NETWORKMANAGER
+       bool "python-networkmanager"
+       depends on BR2_PACKAGE_NETWORK_MANAGER # runtime
+       depends on BR2_USE_WCHAR # dbus-python
+       depends on BR2_TOOLCHAIN_HAS_THREADS # dbus-python
+       depends on BR2_PACKAGE_DBUS # dbus-python
+       select BR2_PACKAGE_DBUS_PYTHON
+       help
+         python-networkmanager wraps NetworkManagers D-Bus interface
+         so you can be less verbose when talking to NetworkManager
+         from python. All interfaces have been wrapped in classes,
+         properties are exposed as python properties and function
+         calls are forwarded to the correct interface.
+
+         https://pypi.python.org/pypi/python-networkmanager/
diff --git a/package/python-networkmanager/python-networkmanager.hash b/package/python-networkmanager/python-networkmanager.hash
new file mode 100644 (file)
index 0000000..6c6f697
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=2cd400a7ca4dcd1ea98c864007032494, sha256 locally computed
+md5    2cd400a7ca4dcd1ea98c864007032494  python-networkmanager-0.9.12.tar.gz
+sha256 a4c7bbae8a1ee3cf370ff0cd2ba2e0f1fb7f8e8f99f8f48a1df624c19a11166f  python-networkmanager-0.9.12.tar.gz
diff --git a/package/python-networkmanager/python-networkmanager.mk b/package/python-networkmanager/python-networkmanager.mk
new file mode 100644 (file)
index 0000000..c043edb
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-networkmanager
+#
+################################################################################
+
+PYTHON_NETWORKMANAGER_VERSION = 0.9.12
+PYTHON_NETWORKMANAGER_SITE = http://pypi.python.org/packages/source/p/python-networkmanager
+PYTHON_NETWORKMANAGER_SETUP_TYPE = distutils
+PYTHON_NETWORKMANAGER_LICENSE = GPLv3+
+PYTHON_NETWORKMANAGER_LICENSE_FILES = COPYING
+PYTHON_NETWORKMANAGER_DEPENDENCIES = dbus-python
+
+$(eval $(python-package))