From 7388d24f0f488739d662ac3bfc4e78bcad199937 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Thu, 16 Feb 2006 23:21:44 +0000 Subject: python-pylinda: upgrade to 0.6 --- packages/python/python-pylinda/honor-datadir.patch | 32 ++++++---------------- packages/python/python-pylinda_0.5.bb | 12 -------- packages/python/python-pylinda_0.6.bb | 14 ++++++++++ 3 files changed, 23 insertions(+), 35 deletions(-) delete mode 100644 packages/python/python-pylinda_0.5.bb create mode 100644 packages/python/python-pylinda_0.6.bb diff --git a/packages/python/python-pylinda/honor-datadir.patch b/packages/python/python-pylinda/honor-datadir.patch index 9035804592..decf686e34 100644 --- a/packages/python/python-pylinda/honor-datadir.patch +++ b/packages/python/python-pylinda/honor-datadir.patch @@ -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: diff --git a/packages/python/python-pylinda_0.5.bb b/packages/python/python-pylinda_0.5.bb deleted file mode 100644 index 788db867c4..0000000000 --- a/packages/python/python-pylinda_0.5.bb +++ /dev/null @@ -1,12 +0,0 @@ -DESCRIPTION = "Python Implementation of Linda Tuple Space" -SECTION = "devel/python" -PRIORITY = "optional" -MAINTAINER = "Michael 'Mickey' Lauer " -LICENSE = "LGPL" -SRCNAME = "linda" - -SRC_URI = "http://www-users.cs.york.ac.uk/~aw/pylinda/dist/linda-${PV}.tar.gz \ - file://honor-datadir.patch;patch=1" -S = "${WORKDIR}/${SRCNAME}-${PV}" - -inherit distutils diff --git a/packages/python/python-pylinda_0.6.bb b/packages/python/python-pylinda_0.6.bb new file mode 100644 index 0000000000..3bcd1a1362 --- /dev/null +++ b/packages/python/python-pylinda_0.6.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "Python Implementation of Linda Tuple Space" +SECTION = "devel/python" +PRIORITY = "optional" +MAINTAINER = "Michael 'Mickey' Lauer " +LICENSE = "LGPL" +SRCNAME = "linda" + +SRC_URI = "http://www-users.cs.york.ac.uk/~aw/pylinda/dist/linda-${PV}.tar.gz \ + file://honor-datadir.patch;patch=1" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit distutils + +export LINDA_DATADIR = "${D}/${libdir}/${PYTHON_DIR}" -- cgit v1.2.3