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

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

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

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