source: orange/install-scripts/mac/fink/orange.info @ 7662:4b6199c74355

Revision 7662:4b6199c74355, 3.8 KB checked in by mitar, 3 years ago (diff)

Made fink-selfupdate-orange.sh script cleanup old repository.

Line 
1Info3: <<
2Package: orange
3Version: 1.0b.__STABLE_REVISION__
4Revision: 14
5Source: http://orange.biolab.si/fink/dists/10.5/main/source/orange-%v.tgz
6Source-MD5: __STABLE_MD5SUM_ORANGE__
7Source2: http://orange.biolab.si/fink/dists/10.5/main/source/orange-bundlelite-%v.tgz
8Source2-MD5: __STABLE_MD5SUM_BUNDLELITE__
9Maintainer: Mitar <mitar@tnode.com>
10HomePage: http://orange.biolab.si/
11License: GPL
12Distribution: 10.4, 10.5
13Depends: <<
14    python25,
15    orange-py25 (>= %v),
16    pyqtmac-py25,
17    pyqwt-mac-py25 (<< 5),
18    graphviz
19<<
20Conflicts: orange-svn
21Architecture: i386, powerpc
22Description: Data mining framework (GUI)
23DescDetail: <<
24    Orange is a component-based data mining software. It includes a range
25    of data visualization, exploration, preprocessing and modeling
26    techniques. It can be used through a nice and intuitive user interface
27    or, for more advanced users, as a module for Python programming language.
28   
29    This package provides a graphical user interface.
30<<
31AppBundles: ../orange-bundlelite-1.0b.__STABLE_REVISION__/Orange.app
32SplitOff: <<
33    Package: orange-py25
34    Depends: <<
35        python25,
36        numpy-py25
37    <<
38    Suggests: orange
39    Conflicts: orange-svn-py25
40    Description: Data mining framework (Python module)
41    DescDetail: <<
42        Orange is a component-based data mining software. It includes a range
43        of data visualization, exploration, preprocessing and modeling
44        techniques. It can be used through a nice and intuitive user interface
45        or, for more advanced users, as a module for Python programming language.
46       
47        This package provides a Python module.
48    <<
49    Shlibs: <<
50        %p/lib/python2.5/site-packages/orange/orange.so 0.0.0 %n (>= 0.0.0-1)
51        %p/lib/python2.5/site-packages/orange/orangeom.so 0.0.0 %n (>= 0.0.0-1)
52        %p/lib/python2.5/site-packages/orange/corn.so 0.0.0 %n (>= 0.0.0-1)
53        %p/lib/python2.5/site-packages/orange/statc.so 0.0.0 %n (>= 0.0.0-1)
54        %p/lib/python2.5/site-packages/orange/orangene.so 0.0.0 %n (>= 0.0.0-1)
55        %p/lib/python2.5/site-packages/orange/_orngCRS.so 0.0.0 %n (>= 0.0.0-1)
56    <<
57    Files: <<
58        lib/python2.5/site-packages/orange/*.so
59        lib/python2.5/site-packages/orange/orng*.py
60        lib/python2.5/site-packages/orange/mathutil.py
61        lib/python2.5/site-packages/orange.pth
62        share/doc/orange-py25
63    <<
64<<
65CompileScript: <<
66    #!/bin/bash -ev
67   
68    # Compile scripts later on assume Python executable is named "python" - so we give them that
69    export PATH=%b:$PATH
70    ln -s %p/bin/python2.5 python
71   
72    # Compiles
73    cd source
74    make
75    cd crs
76    make
77    mv _orngCRS.so ../../
78    cd ../../
79   
80    # Cleans
81    rm python
82   
83    # Prepares bundle
84    cat <<-'EOF' > ../orange-bundlelite-1.0b.__STABLE_REVISION__/Orange.app/Contents/MacOS/Orange
85        #!/bin/bash
86        . %p/bin/init.sh
87        CANVAS_FILE="%p/lib/python2.5/site-packages/orange/OrangeCanvas/orngCanvas.pyw"
88        # LaunchServices passes the Carbon process identifier to the application with -psn parameter - we do not want it
89        if [[ "\$1" == -psn* ]] ; then
90            shift
91        fi
92        exec -a "$0" %p/bin/python2.5 "$CANVAS_FILE" "$@"
93    EOF
94    chmod +x ../orange-bundlelite-1.0b.__STABLE_REVISION__/Orange.app/Contents/MacOS/Orange
95<<
96InstallScript: <<
97    #!/bin/bash -ev
98   
99    # Documentation for orange
100    mkdir -p %i/share/doc/orange/
101    cp COPYING LICENSES %i/share/doc/orange/
102    cp doc/style.css %i/share/doc/orange/
103    mv doc/widgets/ %i/share/doc/orange/
104   
105    # Documentation for orange-py25
106    mkdir -p %i/share/doc/orange-py25/
107    cp COPYING LICENSES %i/share/doc/orange-py25/
108    mv doc/* %i/share/doc/orange-py25/
109   
110    # Cleans up
111    rm -rf COPYING LICENSES doc/ source/
112    rm -rf c45.dll liborange_include.a updateOrange.py
113   
114    # Files for both orange and orange-py25
115    mkdir -p %i/lib/python2.5/site-packages/orange/
116    mv * %i/lib/python2.5/site-packages/orange/
117   
118    # Installation registration
119    echo "orange" > %i/lib/python2.5/site-packages/orange.pth
120    echo "datasetsPath=\"%p/share/doc/orange-py25/datasets/\"" > %i/lib/python2.5/site-packages/orange/orngConfiguration.py
121<<
122<<
Note: See TracBrowser for help on using the repository browser.