summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-06-21 04:40:14 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-06-21 04:40:14 +0000
commite6623f3caf8f58473c3696f7047629459e8e186f (patch)
tree247fc22340e2fab03b93f063fc57709bfebb73c1 /packages
parent50a2debf442776e1a584cb8828adf56b67124c14 (diff)
add python-simplejson. closes #2460
Diffstat (limited to 'packages')
-rw-r--r--packages/python/python-simplejson_1.7.1.bb24
-rw-r--r--packages/tasks/task-python-everything_20060425.bb3
2 files changed, 26 insertions, 1 deletions
diff --git a/packages/python/python-simplejson_1.7.1.bb b/packages/python/python-simplejson_1.7.1.bb
new file mode 100644
index 0000000000..e41d9085af
--- /dev/null
+++ b/packages/python/python-simplejson_1.7.1.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Simple, fast, extensible JSON encoder/decoder for Python"
+HOMEPAGE = "http://cheeseshop.python.org/pypi/simplejson"
+SECTION = "devel/python"
+PRIORITY = "optional"
+LICENSE = "MIT"
+DEPENDS = "python-setuptools"
+# python-netserver is needed for cgi stuff
+# python-zlib is needed to unpack egg created by setuptools
+RDEPENDS = "python-core python-re python-io python-netserver python-zlib"
+SRCNAME = "simplejson"
+PR = "r0"
+
+SRC_URI = "http://cheeseshop.python.org/packages/source/s/simplejson/${SRCNAME}-${PV}.tar.gz"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit distutils
+
+do_install_prepend() {
+ install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages
+}
+
+# Deal with .pth file error
+export PYTHONPATH="${D}/${libdir}/python2.4/site-packages"
+
diff --git a/packages/tasks/task-python-everything_20060425.bb b/packages/tasks/task-python-everything_20060425.bb
index d8f7b82632..29c4a38855 100644
--- a/packages/tasks/task-python-everything_20060425.bb
+++ b/packages/tasks/task-python-everything_20060425.bb
@@ -1,7 +1,7 @@
DESCRIPTION= "Everything Python"
HOMEPAGE = "http://www.vanille.de/projects/python.spy"
LICENSE = "MIT"
-PR = "ml11"
+PR = "ml12"
BROKEN_BECAUSE_GCC4 = "\
python-egenix-mx-base"
@@ -57,6 +57,7 @@ RDEPENDS = "\
python-scapy \
python-scons \
python-setuptools \
+ python-simplejson \
python-sip \
python-sgmlop \
python-snmplib \