diff options
| author | Philipp Zabel <philipp.zabel@gmail.com> | 2007-06-22 17:57:39 +0000 |
|---|---|---|
| committer | Philipp Zabel <philipp.zabel@gmail.com> | 2007-06-22 17:57:39 +0000 |
| commit | b669962c250fb4a2a8c5badfe5b3717569b80abc (patch) | |
| tree | b75f8720b17f1fe93c76dc19407dc86cd73ad555 /packages/python/python-simplejson_1.7.1.bb | |
| parent | a14b857a5eb21816991ca6ec50c9520f9bcc61dd (diff) | |
| parent | 2f7f445a9c6463ce4a7cec1844911085b1536b1c (diff) | |
merge of 'a9d59f7c5db704e36d7f7dbda87b750cabbbc775'
and 'fcf3721db5cf2d3c669e8d3d36cd3ca4df792f6f'
Diffstat (limited to 'packages/python/python-simplejson_1.7.1.bb')
| -rw-r--r-- | packages/python/python-simplejson_1.7.1.bb | 24 |
1 files changed, 24 insertions, 0 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" + |
