summaryrefslogtreecommitdiff
path: root/recipes/python
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/python')
-rw-r--r--recipes/python/python-cjson_1.0.5.bb8
-rw-r--r--recipes/python/python-pygtksourceview_2.6.0.bb18
-rw-r--r--recipes/python/python-pyusb_0.4.1.bb2
3 files changed, 27 insertions, 1 deletions
diff --git a/recipes/python/python-cjson_1.0.5.bb b/recipes/python/python-cjson_1.0.5.bb
new file mode 100644
index 0000000000..4f7e1e1fdf
--- /dev/null
+++ b/recipes/python/python-cjson_1.0.5.bb
@@ -0,0 +1,8 @@
+DESCRIPTION = "Fast JSON encoder/decoder for Python"
+SECTION = "devel/python"
+LICENSE = "LGPL"
+PR = "0"
+
+SRC_URI = "http://pypi.python.org/packages/source/p/python-cjson/python-cjson-${PV}.tar.gz"
+
+inherit distutils
diff --git a/recipes/python/python-pygtksourceview_2.6.0.bb b/recipes/python/python-pygtksourceview_2.6.0.bb
new file mode 100644
index 0000000000..c91e52ac4c
--- /dev/null
+++ b/recipes/python/python-pygtksourceview_2.6.0.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "Python gtksourceview Bindings"
+SECTION = "devel/python"
+HOMEPAGE = "http://projects.gnome.org/gtksourceview/pygtksourceview.html"
+PRIORITY = "optional"
+DEPENDS = "gtksourceview2 python-pygtk"
+SRCNAME = "pygtksourceview"
+LICENSE = "LGPL"
+PR = "r0"
+
+MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
+SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtksourceview/${MAJ_VER}/${SRCNAME}-${PV}.tar.bz2"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit autotools pkgconfig distutils-base
+
+EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../"
+
diff --git a/recipes/python/python-pyusb_0.4.1.bb b/recipes/python/python-pyusb_0.4.1.bb
index 9ed3955c2e..5f70182e46 100644
--- a/recipes/python/python-pyusb_0.4.1.bb
+++ b/recipes/python/python-pyusb_0.4.1.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "libusb Python Bindings"
SECTION = "devel/python"
PRIORITY = "optional"
LICENSE = "BSD"
-DEPENDS = "libusb"
+DEPENDS = "virtual/libusb0"
SRCNAME = "pyusb"
PR = "r1"