Sync changes from Debian 2.6 tree.

Fixes #324960, enabling config.py to handle in tree builds without
tainting build_options.py used for (later) install to some other
location.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ron Lee 2005-12-16 02:12:16 +00:00
parent 1d7127d0cf
commit 8bdc493773
7 changed files with 32 additions and 9 deletions

16
debian/python-wxgtk-dbg.postinst vendored Normal file
View File

@ -0,0 +1,16 @@
#!/bin/sh
set -e
WXPYTHONDIR="/=WXPYDIR"
if [ "$1" = "configure" ]; then
=PY /usr/lib/=PY/compileall.py -q ${WXPYTHONDIR}
=PY -O /usr/lib/=PY/compileall.py -q ${WXPYTHONDIR}
fi
update-alternatives --install /usr/lib/=PY/site-packages/wx.pth wx.pth \
/usr/lib/wx/python/wx=V-dbg.pth $(( =PRIO - 10 ))
#DEBHELPER#

View File

@ -2,8 +2,10 @@
set -e
PACKAGE="libwxgtk=SOV-python"
PACKAGE="python-wxgtk=V-dbg"
dpkg --listfiles $PACKAGE | awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | xargs rm -f >&2
update-alternatives --remove wx.pth /usr/lib/wx/python/wx=V-dbg.pth
#DEBHELPER#

View File

@ -9,5 +9,8 @@ if [ "$1" = "configure" ]; then
=PY -O /usr/lib/=PY/compileall.py -q ${WXPYTHONDIR}
fi
update-alternatives --install /usr/lib/=PY/site-packages/wx.pth wx.pth \
/usr/lib/wx/python/wx=V.pth =PRIO
#DEBHELPER#

View File

@ -2,8 +2,10 @@
set -e
PACKAGE="libwxgtk=SOV-dbg-python"
PACKAGE="python-wxgtk=V"
dpkg --listfiles $PACKAGE | awk '$0~/\.py$/ {print $0"c\n" $0"o"}' | xargs rm -f >&2
update-alternatives --remove wx.pth /usr/lib/wx/python/wx=V.pth
#DEBHELPER#

7
debian/python-wxtools.menu vendored Normal file
View File

@ -0,0 +1,7 @@
?package(python-wxtools):needs="X11" section="Apps/Programming"\
title="pycrust" command="/usr/bin/pycrust"
?package(python-wxtools):needs="X11" section="Apps/Programming"\
title="pyshell" command="/usr/bin/pyshell"
?package(python-wxtools):needs="X11" section="Apps/Programming"\
title="xrced" command="/usr/bin/xrced"

View File

@ -1,7 +0,0 @@
?package(wxpython=SOV):needs="X11" section="Apps/Programming"\
title="pycrust" command="/usr/bin/pycrust"
?package(wxpython=SOV):needs="X11" section="Apps/Programming"\
title="pyshell" command="/usr/bin/pyshell"
?package(wxpython=SOV):needs="X11" section="Apps/Programming"\
title="xrced" command="/usr/bin/xrced"