pmw-py23 stable port information

Package: pmw-py23
Version: 1.2
Revision: 1001
Distribution: 10.3, 10.4
Source: mirror:sourceforge:pmw/Pmw.%v.tar.gz
Source-MD5: 75c49c30595217c8d9376c36aa5426aa
SourceDirectory: Pmw
Depends: python23 (>= 1:2.3.5-1124)
Patch: %n.patch
Replaces: pmw
Provides: pmw
CompileScript: echo "no compile script"
InstallScript: <<
#!/bin/sh -ev
export sitepackages=`python2.3 ./find_site.py`
mkdir -p %d/${sitepackages}
echo "Installing Pmw in %d/${sitepackages}"
/bin/rm -f find_site.py
cd ..
cp -R Pmw %d/${sitepackages}
<<
Description: High-level compound widgets for Python using Tkinter
DescDetail: For added functionality, install blt package
License: OSI-Approved
DocFiles: README
Homepage: http://pmw.sourceforge.net
Maintainer: None

pmw-py23 stable port .patch

--- Pmw/find_site.py.orig Mon Feb 4 11:09:27 2002
+++ Pmw/find_site.py Mon Feb 4 11:09:27 2002
@@ -0,0 +1,8 @@
+# a utility script to find Python's site-packages directory and print it.
+# used for installing Python megawidgets.
+import sys, os
+for x in sys.path:
+ if os.path.basename(x) == 'site-packages':
+ print x;raise SystemExit, 0
+else:
+ raise SystemExit, 1

pmw-py23 _unstable_ port .patch