python-pylinda: upgrade to 0.6
authorMichael Lauer <mickey@vanille-media.de>
Thu, 16 Feb 2006 23:21:44 +0000 (23:21 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 16 Feb 2006 23:21:44 +0000 (23:21 +0000)
packages/python/python-pylinda/honor-datadir.patch
packages/python/python-pylinda_0.6.bb [moved from packages/python/python-pylinda_0.5.bb with 87% similarity]

index 9035804..decf686 100644 (file)
@@ -3,27 +3,13 @@
 # Patch managed by http://www.holgerschurig.de/patcher.html
 #
 
---- linda-0.4/setup.py~honor-datadir.patch
-+++ linda-0.4/setup.py
-@@ -74,7 +74,7 @@
- class myinstall(install):
-     def run(self):
-         install.run(self)
--
-+      return
-         print "PyLinda's post-install options"
+--- linda-0.6/setup.py~honor-datadir.patch
++++ linda-0.6/setup.py
+@@ -68,6 +68,7 @@
+         f.close()
  
-         # the following is taken from the install_scripts standard command
-@@ -123,9 +123,9 @@
-                      Topic :: System :: Distributed Computing""".split("\n"),
-       version="0.4",
-       scripts=["linda_server.py"],
--      data_files=[(root_path+"/examples", glob.glob("examples/*.py")),
--                  (root_path+"/doc", glob.glob("doc/html/*")),
--                  (root_path, ["README"])],
-+      data_files=[("examples", glob.glob("examples/*.py")),
-+                  ("doc", glob.glob("doc/html/*")),
-+                  (".", ["README"])],
-       ext_modules=ext,
-       packages=["linda"],
-       package_dir={"linda": ""},
+ def getlibpath():
++    return os.getenv("LINDA_DATADIR")
+     l = sys.path
+     l.reverse()
+     for x in l:
similarity index 87%
rename from packages/python/python-pylinda_0.5.bb
rename to packages/python/python-pylinda_0.6.bb
index 788db86..3bcd1a1 100644 (file)
@@ -10,3 +10,5 @@ SRC_URI = "http://www-users.cs.york.ac.uk/~aw/pylinda/dist/linda-${PV}.tar.gz \
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit distutils
+
+export LINDA_DATADIR = "${D}/${libdir}/${PYTHON_DIR}"