diff -u pythoncard-0.8.1/debian/changelog pythoncard-0.8.1/debian/changelog --- pythoncard-0.8.1/debian/changelog +++ pythoncard-0.8.1/debian/changelog @@ -1,3 +1,12 @@ +pythoncard (0.8.1-8.2) unstable; urgency=low + + * Non-maintainer upload. + * debian/findfiles, debian/codeEditor, debian/resourceEditor: + - Do not rely on python-support internals, search for directories + dynamically by looking at module path instead (Closes: #517060). + + -- Luca Falavigna Sat, 12 Sep 2009 17:39:58 +0200 + pythoncard (0.8.1-8.1) unstable; urgency=medium * Non-maintainer upload. diff -u pythoncard-0.8.1/debian/findfiles pythoncard-0.8.1/debian/findfiles --- pythoncard-0.8.1/debian/findfiles +++ pythoncard-0.8.1/debian/findfiles @@ -3,7 +3,7 @@ # A simple command-line wrapper for PythonCard's findfiless tool. # Copyright (c) Kenneth J. Pronovici ; use as you wish. -dir=/usr/share/python-support/python-pythoncard/PythonCard/tools/findfiles +dir=`python -c "import os, PythonCard.tools.findfiles.findfiles as f; print os.path.dirname(f.__file__)"` if [ -d $dir ]; then exec /usr/bin/python $dir/findfiles.py "$@" diff -u pythoncard-0.8.1/debian/resourceEditor pythoncard-0.8.1/debian/resourceEditor --- pythoncard-0.8.1/debian/resourceEditor +++ pythoncard-0.8.1/debian/resourceEditor @@ -3,7 +3,7 @@ # A simple command-line wrapper for PythonCard's resourceEditor tool. # Copyright (c) Kenneth J. Pronovici ; use as you wish. -dir=/usr/share/python-support/python-pythoncard/PythonCard/tools/resourceEditor +dir=`python -c "import os, PythonCard.tools.resourceEditor.resourceEditor as r; print os.path.dirname(r.__file__)"` if [ -d $dir ]; then exec /usr/bin/python $dir/resourceEditor.py "$@" diff -u pythoncard-0.8.1/debian/codeEditor pythoncard-0.8.1/debian/codeEditor --- pythoncard-0.8.1/debian/codeEditor +++ pythoncard-0.8.1/debian/codeEditor @@ -3,7 +3,7 @@ # A simple command-line wrapper for PythonCard's codeEditor tool. # Copyright (c) Kenneth J. Pronovici ; use as you wish. -dir=/usr/share/python-support/python-pythoncard/PythonCard/tools/codeEditor +dir=`python -c "import os, PythonCard.tools.codeEditor.codeEditor as c; print os.path.dirname(c.__file__)"` if [ -d $dir ]; then exec /usr/bin/python $dir/codeEditor.py "$@"