Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv28396/stable/main/finkinfo/sci

Added Files:
        relax-py24.info relax-py24.patch 
Removed Files:
        relax-py-1.3.4.info relax-py-1.3.4.patch 
Log Message:
remove variants of older-version relax-pyXXX that have newer one now; rename to 
clarify nature of this .info


--- NEW FILE: relax-py24.patch ---
--- relax-1.3.0.orig/relax      2007-02-19 00:36:06.000000000 -0500
+++ relax-1.3.0/relax   2008-08-11 02:13:30.000000000 -0400
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python2.X
 
 ###############################################################################
 #                                                                             #
--- relax-1.3.0/scons/install.py.sav    2008-08-10 15:31:01.000000000 -0400
+++ relax-1.3.0/scons/install.py        2008-08-10 16:01:22.000000000 -0400
@@ -112,8 +112,8 @@
     ###############
 
     # Run relax to create the *.pyc files.
-    print "\nRunning relax to create the byte-compiled *.pyc files."
-    system(env['SYMLINK'] + " --test")
+    # print "\nRunning relax to create the byte-compiled *.pyc files."
+    # system(env['SYMLINK'] + " --test")
 
     # Final print out.
     print "\n\n\n"
--- relax-1.3.0.orig/sconstruct 2007-02-19 00:36:06.000000000 -0500
+++ relax-1.3.0/sconstruct      2008-08-11 02:02:56.000000000 -0400
@@ -94,7 +94,7 @@
     SYS = SYSTEM
 
     # Mac OS X installation path.
-    INSTALL_PATH = sys.prefix + sep + 'local'
+    INSTALL_PATH = 'FINK_INSTALL_DIR' + sep + 'lib'
 
 
 # All other operating systems.
@@ -111,16 +111,15 @@
 ###############
 
 # Relax installation directory.
-RELAX_PATH = INSTALL_PATH + sep + 'relax'
+RELAX_PATH = INSTALL_PATH + sep + 'relax-py2X'
 
 # Installation path for binaries.
-BIN_PATH = INSTALL_PATH + sep + 'bin'
+BIN_PATH = 'FINK_INSTALL_DIR' + sep + 'bin'
 
 # Symbolic link installation path.
 SYMLINK = BIN_PATH + sep + 'relax'
 
 
-
 # The distribution files.
 #########################
 
@@ -486,7 +485,7 @@
 
         # Catch Mac OS X and send the correct command line options to the 
linker (these may become redundant as SCons improves).
         if env['PLATFORM'] == 'darwin':
-            env.Append(LINKFLAGS = ['-bundle', '-bundle_loader', sys.prefix + 
path.sep + 'bin' + path.sep + 'python', '-dynamic'])
+            env.Append(LINKFLAGS = ['-bundle', '-bundle_loader', sys.prefix + 
path.sep + 'bin' + path.sep + 'python2.X', '-dynamic', '-undefined', 
'dynamic_lookup'])
             env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS')
             env['SHLIBSUFFIX'] = '.so'
 

--- NEW FILE: relax-py24.info ---
Info2: <<
Package: relax-py%type_pkg[python]
Version: 1.3.4
Revision: 3
Distribution: 10.4, 10.5
Type: python 2.4
Source: http://download.gna.org/relax/relax-%v.src.tar.bz2
Source-MD5: 421d92a998bfd359678d689e2f65fc62
SourceDirectory: relax-%v
Depends: python%type_pkg[python], scipy-core-py%type_pkg[python], 
scientificpython-py%type_pkg[python], minfx-py%type_pkg[python] (>= 1.0.2)
BuildDepends: python%type_pkg[python], scons, scipy-core-py%type_pkg[python], 
scientificpython-py%type_pkg[python], minfx-py%type_pkg[python] (>= 1.0.2), 
fink (>= 0.24.12)
Conflicts: relax-py24, relax-py25, relax-py26, relax-py27
Replaces: relax-py24, relax-py25, relax-py26, relax-py27
PatchFile: relax-py24.patch
PatchFile-MD5: 755a5ce824a5845577e28e483b0518da
PatchScript: <<
#!/bin/sh -ev
sed 's|python2.X|python%type_raw[python]|g' < %{PatchFile} | sed 
's|FINK_INSTALL_DIR|%i|g' | sed 's|relax-py2X|relax-py%type_pkg[python]|g' | 
patch -p1
if [ "%m" == "x86_64" ] ; then
perl -pi -e "s|cflags = '-I'|cflags = '-m64 -I'|g" ./sconstruct
perl -pi -e "s|'-bundle',|'-m64', '-bundle',|g" ./sconstruct
else
perl -pi -e "s|cflags = '-I'|cflags = '-m32 -I'|g" ./sconstruct
perl -pi -e "s|'-bundle',|'-m32', '-bundle',|g" ./sconstruct
fi
<<
CompileScript: <<
%p/bin/python%type_raw[python] %p/bin/scons 
<<
InstallScript: <<
mkdir -p %i/lib
mkdir -p %i/bin
%p/bin/python%type_raw[python] %p/bin/scons install
rm -f %i/lib/relax-py%type_pkg[python]/version.pyc
rm -f %i/lib/relax-py%type_pkg[python]/scons/*.pyc
rm %i/bin/relax
<<
PostInstScript: <<
update-alternatives --install %p/bin/relax relax 
%p/lib/relax-py%type_pkg[python]/relax %type_pkg[python]
cd %p/lib/relax-py%type_pkg[python]
perl -pi -e 's|%i|%p|g' ./sconstruct
relax --test
<<
PreRmScript: <<
if [ $1 != "upgrade" ]; then
  update-alternatives --remove relax %p/lib/relax-py%type_pkg[python]/relax
fi
/usr/bin/find %p/lib/relax-py%type_pkg[python] -name '*.pyc' -delete
<<
Description: Protein dynamics by NMR relax. data analysis
License: GPL
Homepage: http://www.nmr-relax.com/
Maintainer: None <fink-de...@lists.sourceforge.net>
<<

--- relax-py-1.3.4.info DELETED ---

--- relax-py-1.3.4.patch DELETED ---


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to