Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18716

Added Files:
        visual-py26.info visual-py26.patch 
Log Message:
New version 5.12. Only for python2.6

--- NEW FILE: visual-py26.patch ---
--- visual-3.2.1/bin/vpython.in~        2005-02-25 21:39:38.000000000 +0100
+++ visual-3.2.1/bin/vpython.in 2005-07-14 18:24:19.000000000 +0200
@@ -1,8 +1,14 @@
 #! /bin/sh
 # Variables determined by configure.
 pyth...@python@
+
+pref...@prefix@
+[ -d ~/.idlerc ] || mkdir ~/.idlerc
+[ -r ~/.idlerc/config-main.cfg ] || cp @prefix@/share/doc/@N@/config-main.cfg 
~/.idlerc/
+export BROWSER=${BROWSER:-open}
+
 visualexampled...@visualexampledir@
-IDLE=idle
+id...@prefix@/bin/i...@xy@
 pythonpa...@pythonpath@
 export PYTHONPATH
 
 

--- NEW FILE: visual-py26.info ---
Info2: <<
Package: visual-py%type_pkg[python]
Version: 5.12
Revision: 2
Distribution: 10.5, 10.6
Type: python (2.6)
Source: mirror:sourceforge:visualpython/visual-%v_release.tar.bz2
Source-MD5: 8661841d7d71d4a84d01e28581b8f9fe
License: BSD
Depends: x11-shlibs, gtk+-shlibs, python%type_pkg[python], 
scipy-core-py%type_pkg[python], boost1.35.nopython-shlibs, 
boost1.35.python%type_pkg[python]-shlibs, libglademm2.4-shlibs, 
gtkglextmm-shlibs 
BuildDepends: glib, x11-dev, pkgconfig, gtkglarea, libgettext3-dev, 
boost1.35.nopython, boost1.35.python%type_pkg[python], libglademm2.4, 
gtkglextmm, fink (>= 0.24.12)
Conflicts: visual-py%type_pkg[python]
Replaces: visual-py%type_pkg[python]
PatchFile: %n.patch
PatchFile-MD5: caf39936d19921bea86d10600cc2cf78
PatchScript: <<
# With python2.6, the -bundle_loader link flag cannot be used, because the 
symbol PyExc_TypeError
# is no longer defined in the python executable. The latter is linked with 
libpython anyway, however.
# One has to use -undefined dynamic_lookup instead. This is incompatible with 
python2.5
 perl -pi.bak -e 's|\-bundle_loader \$\(PYTHON\)|-undefined dynamic_lookup|' 
src/Makefile.in
 sed -e 's|@N@|%n|g;s|@XY@|%type_raw[python]|g' %{PatchFile} | patch -p1
<<
CompileScript: <<
#!/bin/sh -ex
 export PKG_CONFIG_PATH=%p/lib/xft2/lib/pkgconfig
 export PYTHON=%p/bin/python%type_raw[python]
 export CXXFLAGS="-O2 -g -finline-functions"
 export CFLAGS='-O3 -g ' 

 ./configure --prefix=%p --disable-dependency-tracking
 make
<<
InstallScript: <<
#!/bin/sh -ex
 mkdir -p %i/bin
 make install DESTDIR=%d 
 mv %i/bin/vpython %i/bin/vpython%type_raw[python]
 mkdir -p %i/share/doc/%n
 mv %i/lib/python%type_raw[python]/site-packages/visual/docs/* %i/share/doc/%n
 rmdir %i/lib/python%type_raw[python]/site-packages/visual/docs
 cat > %i/share/doc/%n/config-main.cfg <<EOF
# Copy this file to your ~/.idlerc directory if it is not yet there
[HelpFiles]
1 = Visual;%p/share/doc/%n/index.html

[EditorWindow]
font-size = 12 
EOF
<<
Description: VPython - 3D Programming for Ordinary Mortals
DescDetail: <<
 VPython uses Python with the IDLE interactive development environment
 It includes "Visual", a Python module that offers real-time 3D output, 
 and is easily usable by novice programmers
 It also uses "Numeric", a Python module for fast processing of arrays
<<
DescUsage: <<
 Run the "vpython%type_raw[python]" command.
<<
DescPackaging: <<
 This version is only for python-2.6. Linking of python modules is incompatible
 between 2.5 and 2.6, and I don't intend to maintain two different versions.
<<
Maintainer: Martin Costabel <[email protected]>
Homepage: http://vpython.org/index.html
<<


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to