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.

RevLine 
[5089]1Info3: <<
[5082]2Package: orange
[5396]3Version: 1.0b.__STABLE_REVISION__
[7662]4Revision: 14
5Source: http://orange.biolab.si/fink/dists/10.5/main/source/orange-%v.tgz
[5396]6Source-MD5: __STABLE_MD5SUM_ORANGE__
[7662]7Source2: http://orange.biolab.si/fink/dists/10.5/main/source/orange-bundlelite-%v.tgz
[5396]8Source2-MD5: __STABLE_MD5SUM_BUNDLELITE__
[5082]9Maintainer: Mitar <mitar@tnode.com>
[7662]10HomePage: http://orange.biolab.si/
[5082]11License: GPL
[6518]12Distribution: 10.4, 10.5
[5082]13Depends: <<
14    python25,
15    orange-py25 (>= %v),
16    pyqtmac-py25,
17    pyqwt-mac-py25 (<< 5),
18    graphviz
19<<
[5238]20Conflicts: orange-svn
[5082]21Architecture: i386, powerpc
[5453]22Description: Data mining framework (GUI)
[5082]23DescDetail: <<
24    Orange is a component-based data mining software. It includes a range
[5238]25    of data visualization, exploration, preprocessing and modeling
[5082]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<<
[5409]31AppBundles: ../orange-bundlelite-1.0b.__STABLE_REVISION__/Orange.app
[5396]32SplitOff: <<
33    Package: orange-py25
34    Depends: <<
35        python25,
36        numpy-py25
37    <<
38    Suggests: orange
39    Conflicts: orange-svn-py25
[5451]40    Description: Data mining framework (Python module)
[5396]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
[5401]62        share/doc/orange-py25
[5396]63    <<
64<<
[5082]65CompileScript: <<
66    #!/bin/bash -ev
[5396]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   
[5455]80    # Cleans
81    rm python
82   
[5396]83    # Prepares bundle
[5409]84    cat <<-'EOF' > ../orange-bundlelite-1.0b.__STABLE_REVISION__/Orange.app/Contents/MacOS/Orange
[5082]85        #!/bin/bash
86        . %p/bin/init.sh
[5396]87        CANVAS_FILE="%p/lib/python2.5/site-packages/orange/OrangeCanvas/orngCanvas.pyw"
[5238]88        # LaunchServices passes the Carbon process identifier to the application with -psn parameter - we do not want it
[5082]89        if [[ "\$1" == -psn* ]] ; then
90            shift
91        fi
92        exec -a "$0" %p/bin/python2.5 "$CANVAS_FILE" "$@"
93    EOF
[5409]94    chmod +x ../orange-bundlelite-1.0b.__STABLE_REVISION__/Orange.app/Contents/MacOS/Orange
[5082]95<<
[5396]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/
[5506]112    rm -rf c45.dll liborange_include.a updateOrange.py
[5396]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
[5451]120    echo "datasetsPath=\"%p/share/doc/orange-py25/datasets/\"" > %i/lib/python2.5/site-packages/orange/orngConfiguration.py
[5089]121<<
[5396]122<<
Note: See TracBrowser for help on using the repository browser.