diff options
| author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-06-21 08:49:48 +0000 |
|---|---|---|
| committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-06-21 08:49:48 +0000 |
| commit | 7ebefcff1fdc6993a30d1d6789a90c54578068e4 (patch) | |
| tree | 7f656e7b251105ed59088873071928d4fb1737ba /packages/python/python-simplejson_1.7.1.bb | |
| parent | 11cd48c28ef8e701fc43b9905a3a4f7af4fb5c8f (diff) | |
| parent | 35673b07fcb65e7109ed0430a9a4aa7e4313d437 (diff) | |
merge of '2b710e1818e35c1ae6f03e19452a17638f3b8048'
and '9a039e377450d290fde23e8f83821bd022343fd4'
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" + |
