[oe-commits] org.oe.dev add python-simplejson. closes #2460

mickeyl commit openembedded-commits at lists.openembedded.org
Thu Jun 21 05:05:36 UTC 2007


add python-simplejson. closes #2460

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: e51ad54cac43a986a655c2dcd789b54ecdb008fd
ViewMTN: http://monotone.openembedded.org/revision.psp?id=e51ad54cac43a986a655c2dcd789b54ecdb008fd
Files:
1
packages/python/python-simplejson_1.7.1.bb
packages/tasks/task-python-everything_20060425.bb
Diffs:

#
# mt diff -r2154836964f26e67990562b7839b5daa340ea61f -re51ad54cac43a986a655c2dcd789b54ecdb008fd
#
# 
# 
# add_file "packages/python/python-simplejson_1.7.1.bb"
#  content [551a3e4cb851a9cd206d9baf81a0c99e022b08a4]
# 
# patch "packages/tasks/task-python-everything_20060425.bb"
#  from [d087583d0a68f57ad575994d85e26930165c8571]
#    to [d5d2ef4d310f50b78339cd36066098823ec06ab6]
# 
============================================================
--- packages/python/python-simplejson_1.7.1.bb	551a3e4cb851a9cd206d9baf81a0c99e022b08a4
+++ packages/python/python-simplejson_1.7.1.bb	551a3e4cb851a9cd206d9baf81a0c99e022b08a4
@@ -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"
+
============================================================
--- packages/tasks/task-python-everything_20060425.bb	d087583d0a68f57ad575994d85e26930165c8571
+++ packages/tasks/task-python-everything_20060425.bb	d5d2ef4d310f50b78339cd36066098823ec06ab6
@@ -1,7 +1,7 @@ LICENSE = "MIT"
 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		\






More information about the Openembedded-commits mailing list