package/python-pyro: adding Pyro 3.14
authorFabien Marteau <fabien.marteau@armadeus.com>
Mon, 22 Jul 2013 07:55:27 +0000 (09:55 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 22 Jul 2013 15:22:33 +0000 (17:22 +0200)
[Peter: fix LICENSE_FILES tag, adjust upstream URL]
Signed-off-by: Fabien Marteau <fabien.marteau@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/python-pyro/Config.in [new file with mode: 0644]
package/python-pyro/python-pyro.mk [new file with mode: 0644]

index 77303172b0aea3ab2b453b8b5bf67685f9d2882a..9e1c0aee57c55e6db38cd8e0d6a585144a6491f3 100644 (file)
@@ -358,6 +358,7 @@ source "package/python-nfc/Config.in"
 source "package/python-protobuf/Config.in"
 source "package/python-pygame/Config.in"
 source "package/python-pyparsing/Config.in"
+source "package/python-pyro/Config.in"
 source "package/python-serial/Config.in"
 source "package/python-setuptools/Config.in"
 source "package/python-thrift/Config.in"
diff --git a/package/python-pyro/Config.in b/package/python-pyro/Config.in
new file mode 100644 (file)
index 0000000..eb998c3
--- /dev/null
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_PYRO
+       bool "python-pyro"
+       depends on BR2_PACKAGE_PYTHON
+       help
+         python-pyro is a Python library stands for PYthon Remote Objects.
+         It is an advanced and powerful Distributed Object Technology system
+         written entirely in Python, that is designed to be very easy to use..
+
+         https://pypi.python.org/pypi/Pyro/
diff --git a/package/python-pyro/python-pyro.mk b/package/python-pyro/python-pyro.mk
new file mode 100644 (file)
index 0000000..67aabc6
--- /dev/null
@@ -0,0 +1,18 @@
+################################################################################
+#
+# python-pyro
+#
+################################################################################
+
+PYTHON_PYRO_VERSION = 3.14
+PYTHON_PYRO_SOURCE  = Pyro-$(PYTHON_PYRO_VERSION).tar.gz
+PYTHON_PYRO_SITE    = https://pypi.python.org/packages/source/P/Pyro/
+PYTHON_PYRO_LICENSE = MIT
+PYTHON_PYRO_LICENSE_FILES = LICENSE
+PYTHON_PYRO_DEPENDENCIES = python
+
+define PYTHON_PYRO_INSTALL_TARGET_CMDS
+       (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
+endef
+
+$(eval $(generic-package))