Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26783

Added Files:
        pymol-py.info pymol-py.patch 
Log Message:
new item from tracker at maintainers request. old pymol not yet removed

--- NEW FILE: pymol-py.info ---
Info2: <<
Package: pymol-py%type_pkg[python]
Version: 0.98
Revision: 2
Maintainer: Jack Howarth <[EMAIL PROTECTED]>
Type: python (2.2 2.3 2.4)
Source: mirror:custom:pymol/pymol-0_98-src.tgz
CustomMirror: <<
Primary: http://easynews.dl.sourceforge.net/sourceforge
<<
Source-MD5: 096cc1d06fa36eb1c8ad30560d06b81e
SourceDirectory: pymol-%v
Depends: python%type_pkg[python], libpng3-shlibs, numeric-py%type_pkg[python], 
tcltk, pmw-py%type_pkg[python] (>= 1.2-1), freeglut-shlibs|glut-shlibs (>= 
3.7-3)
BuildDepends: libpng3, freeglut|glut (>= 3.7-3), db42|db42-ssl, readline (>= 
4.3-5), gdbm3, gmp, expat, tcltk-dev
Conflicts: pymol, pymol-py22, pymol-py23, pymol-py24
Replaces: pymol, pymol-py22, pymol-py23, pymol-py24
PatchScript: sed 's|@FINKPREFIX@|%p|g' <%a/pymol-py.patch | sed 
's|python2.X|python%type_raw[python]|g' | sed 
's|pymol-py2X|pymol-py%type_pkg[python]|g' | patch -p1
CompileScript: <<
(cd setup; cp Rules.osx-fink %b/Rules.make)
make
<<
InstallScript: <<
mkdir -p %i/bin
mkdir -p %i/lib/%n
(cd setup; cp pymol.com.osx-fink %i/bin/pymol)
cp -r data modules examples test scripts %i/lib/%n
<<
DocFiles: CHANGES DEVELOPERS LICENSE README
Description: Molecular graphics system
DescDetail: <<
PyMOL is a molecular graphics system with an embedded Python interpreter
designed for real-time visualization and rapid generation of high-quality
molecular graphics images and animations.
<<
DescPort: <<
Versions prior to 0.97-1 were ported and maintained by Matt Stephenson 
<[EMAIL PROTECTED]>
<<
DescUsage: Just type 'pymol' at the command prompt inside an X environment.
License: OSI-Approved
Homepage: http://pymol.sourceforge.net
<<

--- NEW FILE: pymol-py.patch ---
diff -uNr pymol-0.95.org/contrib/modules/Makefile.pre.in.src 
pymol-0.95/contrib/modules/Makefile.pre.in.src
--- pymol-0.95.org/contrib/modules/Makefile.pre.in.src  Thu Aug 14 16:59:06 2003
+++ pymol-0.95/contrib/modules/Makefile.pre.in.src      Mon Apr  5 18:08:14 2004
@@ -88,10 +88,10 @@
 # === Variables that you may want to customize (rarely) ===
 
 # (Static) build target
-TARGET=                python
+TARGET=                python2.X
 
 # Installed python binary (used only by boot target)
-#PYTHON=               
+PYTHON=        python2.X       
 
 # Add more -I and -D options here
 CFLAGS=                $(OPT) -I$(INCLUDEPY) -I$(EXECINCLUDEPY) $(DEFS)
@@ -131,7 +131,7 @@
 [EMAIL PROTECTED]@
 
 # Install prefix for architecture-independent files
-prefix=                /usr/local
+prefix=                @FINKPREFIX@
 
 # Install prefix for architecture-dependent files
 exec_prefix=   $(prefix)
@@ -168,7 +168,7 @@
 MAKEFILE=      $(LIBPL)/Makefile
 CONFIGC=       $(LIBPL)/config.c
 CONFIGCIN=     $(LIBPL)/config.c.in
-SETUP=         $(LIBPL)/Setup.thread $(LIBPL)/Setup.local $(LIBPL)/Setup
+SETUP=         $(LIBPL)/Setup.config $(LIBPL)/Setup.local $(LIBPL)/Setup
 
 SYSLIBS=       $(LIBM) $(LIBC)
 
diff -uNr pymol-0.95.org/setup/Rules.osx-fink pymol-0.95/setup/Rules.osx-fink
--- pymol-0.95.org/setup/Rules.osx-fink Sat Apr  3 04:05:01 2004
+++ pymol-0.95/setup/Rules.osx-fink     Mon Apr  5 18:11:02 2004
@@ -6,7 +6,7 @@
 #
 #- Building ----------------------------------------------------------
 #--- Tell "make" how to get to PyMOL 
-PYMOL_PATH = /Users/delwarl/fink/pymol
+PYMOL_PATH = @FINKPREFIX@/lib/pymol
 #---------------------------------------------------------------------
 #
 #- Dependencies ------------------------------------------------------
@@ -14,14 +14,14 @@
 XLIB_DIR = -L/usr/X11R6/lib
 XINC_DIR = -I/usr/X11R6/include
 #--- Python
-PYTHON_EXE = /sw/bin/python2.3
+PYTHON_EXE = python2.X
 PYTHON_LIB =
 PYTHON_LIB_DIR = 
-PYTHON_INC_DIR = -I/sw/include/python2.3 \
-       -I/sw/include/python2.3/Numeric
+PYTHON_INC_DIR = [EMAIL PROTECTED]@/include/python2.X \
+       [EMAIL PROTECTED]@/include/python2.X/Numeric
 #--- Other external dependencies
-EXT_INC_DIR = -I/sw/include
-EXT_LIB_DIR = -L/sw/lib
+EXT_INC_DIR = [EMAIL PROTECTED]@/include
+EXT_LIB_DIR = [EMAIL PROTECTED]@/lib
 #---------------------------------------------------------------------
 #
 #- Build for LINUX as an importable module ---------------------------
@@ -30,7 +30,7 @@
 #--- PyMOL configuration
 DEFS = -D_PYMOL_MODULE -D_PYMOL_NUMPY -D_PYMOL_FINK
 #--- How we build shared libraries
-BUILD = -bundle -bundle_loader /sw/bin/python2.3 -flat_namespace -undefined 
suppress
+BUILD = -bundle -bundle_loader @FINKPREFIX@/bin/python2.X -flat_namespace 
-undefined suppress
 #--- What are we trying to build?
 DEST = -o modules/pymol/_cmd.so
 #--- Gcc Options for Linux
diff -uNr pymol-0.95.org/setup/pymol.com.osx-fink 
pymol-0.95/setup/pymol.com.osx-fink
--- pymol-0.95.org/setup/pymol.com.osx-fink     Sat Apr 26 20:26:19 2003
+++ pymol-0.95/setup/pymol.com.osx-fink Mon Apr  5 18:12:11 2004
@@ -5,7 +5,7 @@
 # ==============================================================
 # Set PYMOL_PATH to point at the correct location on your system
 #
-setenv PYMOL_PATH /Users/delwarl/pymol
+setenv PYMOL_PATH @FINKPREFIX@/lib/pymol-py2X
 #
 # ==============================================================
 # (no changes usually required below here)
@@ -19,5 +19,5 @@
 endif
 #
 #
-/sw/bin/python $PYMOL_PATH/modules/pymol/__init__.py $*
[EMAIL PROTECTED]@/bin/python2.X $PYMOL_PATH/modules/pymol/__init__.py $*
 



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to