the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: pmw-py%type_pkg[python]
Version: 1.2
Revision: 1002
Distribution: (%type_pkg[python] = 23) 10.3, (%type_pkg[python] = 23) 10.4
Type: python (2.3 2.4 2.5)
Source: mirror:sourceforge:pmw/Pmw.%v.tar.gz
Source-MD5: 75c49c30595217c8d9376c36aa5426aa
SourceDirectory: Pmw
BuildDepends: fink (>= 0.24.12-1)
Depends: python%type_pkg[python]
PatchFile: %{ni}.patch
PatchFile-MD5: 3dcd5566b65144e5cfb60ea1f6ce1742
Replaces: pmw
Provides: pmw
CompileScript: echo "no compile script"
InstallScript: <<
#!/bin/sh -ev
export sitepackages=`python%type_raw[python] ./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/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
Info2: <<
Package: pmw-py%type_pkg[python]
Version: 1.2
Revision: 1002
Distribution: (%type_pkg[python] = 23) 10.3, (%type_pkg[python] = 23) 10.4
Type: python (2.3 2.4 2.5)
Source: mirror:sourceforge:pmw/Pmw.%v.tar.gz
Source-MD5: 75c49c30595217c8d9376c36aa5426aa
SourceDirectory: Pmw
BuildDepends: fink (>= 0.24.12-1)
Depends: python%type_pkg[python]
PatchFile: %{ni}.patch
PatchFile-MD5: 3dcd5566b65144e5cfb60ea1f6ce1742
Replaces: pmw
Provides: pmw
CompileScript: echo "no compile script"
InstallScript: <<
#!/bin/sh -ev
export sitepackages=`python%type_raw[python] ./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/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