summaryrefslogtreecommitdiff
path: root/recipes/python/python-connexion_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/python/python-connexion_svn.bb')
-rw-r--r--recipes/python/python-connexion_svn.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/python/python-connexion_svn.bb b/recipes/python/python-connexion_svn.bb
new file mode 100644
index 0000000000..ae546f5256
--- /dev/null
+++ b/recipes/python/python-connexion_svn.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "A versatile network connection library"
+HOMEPAGE = "http://www.radlinux.org/connexion/"
+SECTION = "devel/python"
+LICENSE = "GPL"
+BV = "0.4.6"
+PV = "${BV}+svnr${SRCREV}"
+PR = "ml1"
+
+inherit distutils
+
+SRC_URI = "svn://radlinux.org/radlinux/branches/${BV};module=lib"
+S = "${WORKDIR}/lib"
+
+MODULES = "cxutil cxnet"
+
+do_compile() {
+ for i in ${MODULES}; do
+ cd ${S}/$i && distutils_do_compile
+ done
+}
+
+do_install() {
+ for i in ${MODULES}; do
+ cd ${S}/$i && distutils_do_install
+ done
+}
+
+RDEPENDS_${PN} += "python-ctypes"
+