Changeset 10439:60321896f568 in orange


Ignore:
Timestamp:
03/05/12 20:10:56 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
rebase_source:
1e9152426558384b30ea071b1a8ce35bce624a7f
Message:

New fink info file templates.

Location:
install-scripts/mac/fink
Files:
3 copied

Legend:

Unmodified
Added
Removed
  • install-scripts/mac/fink/orange-bioinformatics-gui-hg-py.info

    r8108 r10439  
    11Info3: << 
    2 Package: orange-bioinformatics-gui-svn-py%type_pkg[python] 
     2Package: orange-bioinformatics-gui-hg-py%type_pkg[python] 
    33Type: python (2.6 2.7) 
    4 Version: 0.0.__DAILY_REVISION__ 
    5 Revision: 26 
    6 Source: http://orange.biolab.si/fink/dists/10.5/main/source/orange-bioinformatics-svn-%v.tgz 
    7 Source-MD5: __DAILY_MD5SUM_BIOINFORMATICS__ 
     4Version: __VERSION__ 
     5Revision: 1 
     6Source: __SOURCE__ 
     7Source-MD5: __MD5SUM__ 
    88Maintainer: Mitar <mitar@tnode.com> 
    99HomePage: http://orange.biolab.si/ 
     
    1111Depends: << 
    1212    python%type_pkg[python], 
    13     orange-gui-svn-py%type_pkg[python] (>= %v), 
    14     orange-bioinformatics-svn-py%type_pkg[python] (>= %v), 
     13    orange-gui-hg-py%type_pkg[python] (>= %v), 
     14    orange-bioinformatics-hg-py%type_pkg[python] (>= %v), 
    1515    openbabel-py%type_pkg[python] (>= 2.0.0) 
    1616<< 
     
    2727<< 
    2828SplitOff: << 
    29     Package: orange-bioinformatics-svn-py%type_pkg[python] 
     29    Package: orange-bioinformatics-hg-py%type_pkg[python] 
    3030    Depends: << 
    3131        python%type_pkg[python], 
    32         orange-svn-py%type_pkg[python] (>= %v), 
    33         pil-py%type_pkg[python] 
     32        orange-hg-py%type_pkg[python] (>= %v), 
     33        pil-py%type_pkg[python], 
     34        suds-py%type_pkg[python], 
     35        setuptools-py%type_pkg[python] 
     36 
    3437    << 
    35     Suggests: orange-bioinformatics-gui-svn-py%type_pkg[python] 
     38    Suggests: orange-bioinformatics-gui-hg-py%type_pkg[python] 
    3639    Conflicts: orange-bioinformatics-py%type_pkg[python] 
    3740    Description: Orange bioinformatics add-on (Python module) 
     
    4447        This package provides a Python module for bioinformatics add-on. 
    4548    << 
    46 # Commented out, currently there are no shlibs used 
    47 #   Shlibs: << 
    48 #       %p/lib/python%type_raw[python]/site-packages/orange/add-ons/Bioinformatics/_GOLib.so 0.0.0 %n (>= 0.0.0-1) 
    49 #   << 
    5049    Files: << 
    51         lib/python%type_raw[python]/site-packages/orange/add-ons/Bioinformatics/*.py 
    52         lib/python%type_raw[python]/site-packages/orange/add-ons/Bioinformatics/addon.xml 
     50        lib/python%type_raw[python]/site-packages/Orange/add-ons/Bioinformatics/*.py 
     51        lib/python%type_raw[python]/site-packages/Orange/add-ons/Bioinformatics/addon.xml 
    5352        lib/python%type_raw[python]/site-packages/orange-bioinformatics.pth 
    54         share/doc/orange-bioinformatics-svn-py%type_pkg[python] 
     53        share/doc/orange-bioinformatics-hg-py%type_pkg[python] 
    5554    << 
    56 #       lib/python%type_raw[python]/site-packages/orange/add-ons/Bioinformatics/*.so 
    5755<< 
    5856CompileScript: << 
    59 # Commented out, currently there are no shlibs used so nothing to compile 
    60 #   #!/bin/bash -ev 
    61 #    
    62 #   # Compile scripts later on assume Python executable is named "python" - so we give them that 
    63 #   export PATH=%b:$PATH 
    64 #   ln -s %p/bin/python%type_raw[python] python 
    65 #    
    66 #   # Compiles 
    67 #   cd source 
    68 #   make 
    69 #   cd ../ 
    70 #    
    71 #   # Cleans 
    72 #   rm python 
     57    #!/bin/bash -ev 
     58    # Nothing to do 
     59    # %p/bin/python%type_raw[python] setup.py build 
    7360<< 
    7461InstallScript: << 
    7562    #!/bin/bash -ev 
    7663     
    77     # Documentation for orange-bioinformatics-gui-svn-py 
    78     mkdir -p %i/share/doc/orange-bioinformatics-gui-svn-py%type_pkg[python]/ 
    79     cp COPYING LICENSES %i/share/doc/orange-bioinformatics-gui-svn-py%type_pkg[python]/ 
    80     cp doc/style.css %i/share/doc/orange-bioinformatics-gui-svn-py%type_pkg[python]/ 
    81     mv doc/widgets/ %i/share/doc/orange-bioinformatics-gui-svn-py%type_pkg[python]/ 
     64    # Documentation for orange-bioinformatics-gui-hg-py 
     65    ls 
     66    mkdir -p %i/share/doc/orange-bioinformatics-gui-hg-py%type_pkg[python]/ 
     67    cp LICENSE.txt %i/share/doc/orange-bioinformatics-gui-hg-py%type_pkg[python]/ 
     68    cp doc/style.css %i/share/doc/orange-bioinformatics-gui-hg-py%type_pkg[python]/ 
     69    mv doc/widgets/ %i/share/doc/orange-bioinformatics-gui-hg-py%type_pkg[python]/ 
    8270     
    83     # Documentation for orange-bioinformatics-svn-py 
    84     mkdir -p %i/share/doc/orange-bioinformatics-svn-py%type_pkg[python]/ 
    85     cp COPYING LICENSES %i/share/doc/orange-bioinformatics-svn-py%type_pkg[python]/ 
    86     mv doc/* %i/share/doc/orange-bioinformatics-svn-py%type_pkg[python]/ 
     71    # Documentation for orange-bioinformatics-hg-py 
     72    mkdir -p %i/share/doc/orange-bioinformatics-hg-py%type_pkg[python]/ 
     73    cp LICENSE.txt %i/share/doc/orange-bioinformatics-hg-py%type_pkg[python]/ 
     74    mv doc/* %i/share/doc/orange-bioinformatics-hg-py%type_pkg[python]/ 
     75         
     76    # Install files for both orange-bioinformatics-gui-hg-py and orange-bioinformatics-hg-py 
     77    %p/bin/python%type_raw[python] setup.py install --root=%d --single-version-externally-managed 
    8778     
    88     # Cleans up 
    89     rm -rf COPYING LICENSES doc/ source/ setup.py 
    90      
    91     # Files for both orange-bioinformatics-gui-svn-py and orange-bioinformatics-svn-py 
    92     mkdir -p %i/lib/python%type_raw[python]/site-packages/orange/add-ons/Bioinformatics/ 
    93     mv * %i/lib/python%type_raw[python]/site-packages/orange/add-ons/Bioinformatics/ 
    94      
    95     # Installation registration 
    96     echo "orange/add-ons/Bioinformatics" > %i/lib/python%type_raw[python]/site-packages/orange-bioinformatics.pth 
    97 << 
    98 PostInstScript: << 
    99     PYTHON=`which python%type_raw[python]` 
    100     cat <<-EOMSG 
    101          
    102         NOTE: To download and install (or update) datasets for bioinformatics you should 
    103               now run: 
    104                
    105                   $PYTHON TODO/PATH/TO/SCRIPT.py 
    106     EOMSG 
    10779<< 
    10880<< 
  • install-scripts/mac/fink/orange-gui-hg-py.info

    r9512 r10439  
    11Info3: << 
    2 Package: orange-gui-svn-py%type_pkg[python] 
     2Package: orange-gui-hg-py%type_pkg[python] 
    33Type: python (2.6 2.7) 
    4 Version: 0.0.__DAILY_REVISION__ 
    5 Revision: 35 
    6 Source: http://orange.biolab.si/fink/dists/10.5/main/source/orange-svn-%v.tgz 
    7 Source-MD5: __DAILY_MD5SUM_ORANGE__ 
    8 Source2: http://orange.biolab.si/fink/dists/10.5/main/source/orange-bundlelite-svn-%v.tgz 
    9 Source2-MD5: __DAILY_MD5SUM_BUNDLELITE__ 
     4Version: __VERSION__ 
     5Revision: 1 
     6Source: __SOURCE__ 
     7Source-MD5: __MD5SUM__ 
     8Source2: http://orange.biolab.si/fink/dists/10.6/main/source/orange-bundlelite-svn-0.0.12741.tgz 
     9Source2-MD5: b333b6b54a50685dddb75ba21df73617 
    1010Maintainer: Mitar <mitar@tnode.com> 
    1111HomePage: http://orange.biolab.si/ 
     
    1313Depends: << 
    1414    python%type_pkg[python], 
    15     orange-svn-py%type_pkg[python] (>= %v), 
     15    orange-hg-py%type_pkg[python] (>= %v), 
    1616    pyqt4-mac-py%type_pkg[python] (>= 4.4), 
    1717    pyqwt-qt4mac-py%type_pkg[python] (>= 5.1), 
    1818    opengl-py%type_pkg[python], 
    1919    sip-py%type_pkg[python], 
    20     graphviz 
     20    graphviz, 
     21    setuptools-py%type_pkg[python] 
    2122<< 
    2223BuildDepends: << 
     
    2728<< 
    2829# Conflicts other versions because of app bundle 
    29 Conflicts: orange, orange-svn 
    30 Replaces: orange-svn 
     30Conflicts: orange-gui-svn-py%type_pkg[python], orange-hg 
     31Replaces: orange-gui-svn-py%type_pkg[python], orange-hg-py%type_pkg[python] 
    3132Description: Data mining framework (GUI) 
    3233DescDetail: << 
     
    3839    This package provides a graphical user interface. 
    3940<< 
    40 AppBundles: ../orange-bundlelite-svn-0.0.__DAILY_REVISION__/Orange-%type_pkg[python].app 
     41AppBundles: ../orange-bundlelite-svn-0.0.12741/Orange-%type_pkg[python].app 
    4142Shlibs: << 
    42     %p/lib/python%type_raw[python]/site-packages/orange/orangeqt.so 0.0.0 %n (>= 0.0.0-1) 
     43    %p/lib/python%type_raw[python]/site-packages/orangeqt.so 0.0.0 %n (>= 0.0.0-1) 
    4344<< 
    4445SplitOff: << 
    45     Package: orange-svn-py%type_pkg[python] 
     46    Package: orange-hg-py%type_pkg[python] 
    4647    Depends: << 
    4748        python%type_pkg[python], 
     
    5051        networkx-py%type_pkg[python] 
    5152    << 
    52     Suggests: orange-gui-svn-py%type_pkg[python] 
    53     Conflicts: orange-py%type_pkg[python] 
     53    Suggests: orange-gui-hg-py%type_pkg[python] 
     54    Conflicts: orange-svn-py%type_pkg[python] 
     55    Replaces: orange-svn-py%type_pkg[python] 
    5456    Description: Data mining framework (Python module) 
    5557    DescDetail: << 
     
    6264    << 
    6365    Shlibs: << 
    64         %p/lib/python%type_raw[python]/site-packages/orange/orange.so 0.0.0 %n (>= 0.0.0-1) 
    65         %p/lib/python%type_raw[python]/site-packages/orange/orangeom.so 0.0.0 %n (>= 0.0.0-1) 
    66         %p/lib/python%type_raw[python]/site-packages/orange/corn.so 0.0.0 %n (>= 0.0.0-1) 
    67         %p/lib/python%type_raw[python]/site-packages/orange/statc.so 0.0.0 %n (>= 0.0.0-1) 
    68         %p/lib/python%type_raw[python]/site-packages/orange/orangene.so 0.0.0 %n (>= 0.0.0-1) 
    69         %p/lib/python%type_raw[python]/site-packages/orange/_orngCRS.so 0.0.0 %n (>= 0.0.0-1) 
     66        %p/lib/python%type_raw[python]/site-packages/Orange/orange.so 0.0.0 %n (>= 0.0.0-1) 
     67        %p/lib/python%type_raw[python]/site-packages/Orange/orangeom.so 0.0.0 %n (>= 0.0.0-1) 
     68        %p/lib/python%type_raw[python]/site-packages/Orange/corn.so 0.0.0 %n (>= 0.0.0-1) 
     69        %p/lib/python%type_raw[python]/site-packages/Orange/statc.so 0.0.0 %n (>= 0.0.0-1) 
     70        %p/lib/python%type_raw[python]/site-packages/Orange/orangene.so 0.0.0 %n (>= 0.0.0-1) 
    7071    << 
    7172    Files: << 
    72         lib/python%type_raw[python]/site-packages/orange/fixes/* 
    73         lib/python%type_raw[python]/site-packages/orange/Orange/* 
    74         lib/python%type_raw[python]/site-packages/orange/orange.so 
    75         lib/python%type_raw[python]/site-packages/orange/orangeom.so 
    76         lib/python%type_raw[python]/site-packages/orange/corn.so 
    77         lib/python%type_raw[python]/site-packages/orange/statc.so 
    78         lib/python%type_raw[python]/site-packages/orange/orangene.so 
    79         lib/python%type_raw[python]/site-packages/orange/_orngCRS.so 
    80         lib/python%type_raw[python]/site-packages/orange/orng*.py 
    81         lib/python%type_raw[python]/site-packages/orange/mathutil.py 
    82         lib/python%type_raw[python]/site-packages/orange/orange2to25.py 
    83         lib/python%type_raw[python]/site-packages/orange/widgetParser.py 
    84         lib/python%type_raw[python]/site-packages/orange.pth 
    85         share/doc/orange-svn-py%type_pkg[python] 
     73        lib/python%type_raw[python]/site-packages/Orange/* 
     74        lib/python%type_raw[python]/site-packages/Orange-orng-modules.pth 
     75        share/doc/orange-hg-py%type_pkg[python] 
     76        bin/orange-canvas 
    8677    << 
    8778<< 
     
    8980    #!/bin/bash -ev 
    9081     
     82    export CPPFLAGS="-O0 -g0" 
     83    export LDFLAGS="-O0 -g0" 
     84 
     85    # Build orange 
     86    %p/bin/python%type_raw[python] setup.py build 
     87     
    9188    # Compile scripts later on assume Python executable is named "python" - so we give them that 
    92     export PATH=%b:$PATH 
    93     ln -s %p/bin/python%type_raw[python] python 
     89    #export PATH=%b:$PATH 
     90    #ln -s %p/bin/python%type_raw[python] python 
    9491     
    95     # For cmake to find the correct python 
    96     export EXTRA_ORANGEQT_CMAKE_ARGS="-DPython_ADDITIONAL_VERSIONS=%type_raw[python] -DCMAKE_LIBRARY_PATH=%p/lib -DCMAKE_SYSTEM_IGNORE_PATH=/usr/lib" 
    97     # And cmake to find qmake 
     92    # To build orangeqt module we need to force cmake to look in 
     93    # the proper places. 
     94     
     95    # For cmake to find qmake 
    9896    export PATH=%p/lib/qt4-mac/bin:$PATH 
    9997    # And cmake to find PyQt4 
    10098    export PYTHONPATH=%p/lib/qt4-mac/lib/python%type_raw[python]/site-packages/ 
    10199 
    102     # Compiles 
    103     cd source 
    104     make 
    105     cd crs 
    106     make 
    107     mv _orngCRS.so ../../ 
    108     cd ../../ 
    109      
    110     # Cleans 
    111     rm python 
     100    # Finally compile orangeqt  
     101    cd source/orangeqt 
     102    mkdir build 
     103    cd build 
     104    cmake -DCMAKE_BUILD_TYPE=Release -DPython_ADDITIONAL_VERSIONS=%type_raw[python] -DCMAKE_LIBRARY_PATH=%p/lib -DCMAKE_SYSTEM_IGNORE_PATH=/usr/lib ../ 
     105    make VERBOSE=1 
     106    cd ../../../ 
    112107     
    113108    # Prepares bundle 
    114     cat <<-'EOF' > ../orange-bundlelite-svn-0.0.__DAILY_REVISION__/Orange.app/Contents/MacOS/Orange 
     109    cat <<-'EOF' > ../orange-bundlelite-svn-0.0.12741/Orange.app/Contents/MacOS/Orange 
    115110        #!/bin/bash 
    116111        . %p/bin/init.sh 
    117         CANVAS_FILE="%p/lib/python%type_raw[python]/site-packages/orange/OrangeCanvas/orngCanvas.pyw" 
     112        CANVAS_FILE="%p/lib/python%type_raw[python]/site-packages/Orange/OrangeCanvas/orngCanvas.pyw" 
    118113        export PYTHONPATH="%p/lib/qt4-mac/lib/python%type_raw[python]/site-packages${PYTHONPATH:+:$PYTHONPATH}" 
    119114        # LaunchServices passes the Carbon process identifier to the application with -psn parameter - we do not want it 
     
    123118        exec -a "$0" %p/bin/python%type_raw[python] "$CANVAS_FILE" "$@" 
    124119    EOF 
    125     chmod +x ../orange-bundlelite-svn-0.0.__DAILY_REVISION__/Orange.app/Contents/MacOS/Orange 
    126     mv ../orange-bundlelite-svn-0.0.__DAILY_REVISION__/Orange.app ../orange-bundlelite-svn-0.0.__DAILY_REVISION__/Orange-%type_pkg[python].app 
     120    chmod +x ../orange-bundlelite-svn-0.0.12741/Orange.app/Contents/MacOS/Orange 
     121    mv ../orange-bundlelite-svn-0.0.12741/Orange.app ../orange-bundlelite-svn-0.0.12741/Orange-%type_pkg[python].app 
    127122<< 
    128123InstallScript: << 
    129124    #!/bin/bash -ev 
    130125     
    131     # Documentation for orange-gui-svn-py 
    132     mkdir -p %i/share/doc/orange-gui-svn-py%type_pkg[python]/ 
    133     cp COPYING LICENSES %i/share/doc/orange-gui-svn-py%type_pkg[python]/ 
    134     cp doc/style.css %i/share/doc/orange-gui-svn-py%type_pkg[python]/ 
    135     mv doc/widgets/ %i/share/doc/orange-gui-svn-py%type_pkg[python]/ 
     126    %p/bin/python%type_raw[python] setup.py install --root=%d --single-version-externally-managed 
    136127     
    137     # Documentation for orange-svn-py 
    138     mkdir -p %i/share/doc/orange-svn-py%type_pkg[python]/ 
    139     cp COPYING LICENSES %i/share/doc/orange-svn-py%type_pkg[python]/ 
    140     mv doc/* %i/share/doc/orange-svn-py%type_pkg[python]/ 
     128    # Also install orangeqt module 
     129    mv source/orangeqt/build/orangeqt.so  %i/lib/python%type_raw[python]/site-packages/ 
    141130     
    142     # Cleans up 
    143     rm -rf COPYING LICENSES doc/ source/ 
    144     rm -rf c45.dll liborange_include.a updateOrange.py 
     131    # Fix install name id 
     132    install_name_tool -id %i/lib/python%type_raw[python]/site-packages/orangeqt.so %i/lib/python%type_raw[python]/site-packages/orangeqt.so 
    145133     
    146     # Files for both orange-gui-svn-py and orange-svn-py 
    147     mkdir -p %i/lib/python%type_raw[python]/site-packages/orange/ 
    148     mv * %i/lib/python%type_raw[python]/site-packages/orange/ 
     134    # Register dataset path 
     135    # TODO: this should be done by setup.py install and using global orangerc.cfg file 
     136    echo "datasetsPath=\"%p/share/doc/orange-svn-py%type_pkg[python]/datasets/\"" > %i/lib/python%type_raw[python]/site-packages/Orange/orng/orngConfiguration.py    
     137 
     138    # Documentation for orange-gui-hg-py 
     139    mkdir -p %i/share/doc/orange-gui-hg-py%type_pkg[python]/ 
     140    cp COPYING LICENSES %i/share/doc/orange-gui-hg-py%type_pkg[python]/ 
     141    cp Orange/doc/style.css %i/share/doc/orange-gui-hg-py%type_pkg[python]/ 
     142    mv Orange/doc/widgets/ %i/share/doc/orange-gui-hg-py%type_pkg[python]/ 
    149143     
    150     # Installation registration 
    151     echo "orange" > %i/lib/python%type_raw[python]/site-packages/orange.pth 
    152     echo "datasetsPath=\"%p/share/doc/orange-svn-py%type_pkg[python]/datasets/\"" > %i/lib/python%type_raw[python]/site-packages/orange/orngConfiguration.py 
     144    # Documentation for orange-hg-py 
     145    mkdir -p %i/share/doc/orange-hg-py%type_pkg[python]/ 
     146    cp COPYING LICENSES %i/share/doc/orange-hg-py%type_pkg[python]/ 
     147    mv Orange/doc/* %i/share/doc/orange-hg-py%type_pkg[python]/ 
     148 
    153149<< 
    154150<< 
  • install-scripts/mac/fink/orange-text-gui-hg-py.info

    r8108 r10439  
    11Info3: << 
    2 Package: orange-text-gui-svn-py%type_pkg[python] 
     2Package: orange-text-gui-hg-py%type_pkg[python] 
    33Type: python (2.6 2.7) 
    4 Version: 0.0.__DAILY_REVISION__ 
    5 Revision: 15 
    6 Source: http://orange.biolab.si/fink/dists/10.5/main/source/orange-text-svn-%v.tgz 
    7 Source-MD5: __DAILY_MD5SUM_TEXT__ 
     4Version: __VERSION__ 
     5Revision: 1 
     6Source: __SOURCE__ 
     7Source-MD5: __MD5SUM__ 
    88Maintainer: Mitar <mitar@tnode.com> 
    99HomePage: http://orange.biolab.si/ 
     
    1111Depends: << 
    1212    python%type_pkg[python], 
    13     orange-gui-svn-py%type_pkg[python] (>= %v), 
    14     orange-text-svn-py%type_pkg[python] (>= %v) 
     13    orange-gui-hg-py%type_pkg[python] (>= %v), 
     14    orange-text-hg-py%type_pkg[python] (>= %v) 
    1515<< 
    1616Conflicts: orange-text, orange-text-svn 
     
    2626<< 
    2727SplitOff: << 
    28     Package: orange-text-svn-py%type_pkg[python] 
     28    Package: orange-text-hg-py%type_pkg[python] 
    2929    Depends: << 
    3030        python%type_pkg[python], 
    31         orange-svn-py%type_pkg[python] (>= %v) 
     31        orange-hg-py%type_pkg[python] (>= %v) 
    3232    << 
    33     Suggests: orange-text-gui-svn-py%type_pkg[python] 
     33    Suggests: orange-text-gui-hg-py%type_pkg[python] 
    3434    Conflicts: orange-text-py%type_pkg[python] 
    3535    Description: Orange text mining add-on (Python module) 
     
    4343    << 
    4444    Shlibs: << 
    45         %p/lib/python%type_raw[python]/site-packages/orange/add-ons/Text/_orngTextWrapper.so 0.0.0 %n (>= 0.0.0-1) 
     45        %p/lib/python%type_raw[python]/site-packages/Orange/add-ons/Text/_orngTextWrapper.so 0.0.0 %n (>= 0.0.0-1) 
    4646    << 
    4747    Files: << 
    48         lib/python%type_raw[python]/site-packages/orange/add-ons/Text/*.so 
    49         lib/python%type_raw[python]/site-packages/orange/add-ons/Text/*.py 
    50         lib/python%type_raw[python]/site-packages/orange/add-ons/Text/addon.xml 
     48        lib/python%type_raw[python]/site-packages/Orange/add-ons/Text/*.so 
     49        lib/python%type_raw[python]/site-packages/Orange/add-ons/Text/*.py 
     50        lib/python%type_raw[python]/site-packages/Orange/add-ons/Text/addon.xml 
    5151        lib/python%type_raw[python]/site-packages/orange-text.pth 
    52         share/doc/orange-text-svn-py%type_pkg[python] 
     52        share/doc/orange-text-hg-py%type_pkg[python] 
    5353    << 
    5454<< 
     
    5656    #!/bin/bash -ev 
    5757     
    58     # Compile scripts later on assume Python executable is named "python" - so we give them that 
    59     export PATH=%b:$PATH 
    60     ln -s %p/bin/python%type_raw[python] python 
    61      
    62     # Compiles 
    63     cd source 
    64     make 
    65     cd ../ 
    66      
    67     # Cleans 
    68     rm python 
     58    %p/bin/python%type_raw[python] setup.py build 
     59 
    6960<< 
    7061InstallScript: << 
    7162    #!/bin/bash -ev 
    7263     
    73     # Documentation for orange-text-gui-svn-py 
    74     mkdir -p %i/share/doc/orange-text-gui-svn-py%type_pkg[python]/ 
    75     cp COPYING LICENSES %i/share/doc/orange-text-gui-svn-py%type_pkg[python]/ 
    76     cp doc/style.css %i/share/doc/orange-text-gui-svn-py%type_pkg[python]/ 
    77     mv doc/widgets/ %i/share/doc/orange-text-gui-svn-py%type_pkg[python]/ 
     64    # Documentation for orange-text-gui-hg-py 
     65    mkdir -p %i/share/doc/orange-text-gui-hg-py%type_pkg[python]/ 
     66    cp LICENSE.txt %i/share/doc/orange-text-gui-hg-py%type_pkg[python]/ 
     67    cp doc/style.css %i/share/doc/orange-text-gui-hg-py%type_pkg[python]/ 
     68    mv doc/widgets/ %i/share/doc/orange-text-gui-hg-py%type_pkg[python]/ 
    7869     
    79     # Documentation for orange-text-svn-py 
    80     mkdir -p %i/share/doc/orange-text-svn-py%type_pkg[python]/ 
    81     cp COPYING LICENSES %i/share/doc/orange-text-svn-py%type_pkg[python]/ 
    82     mv doc/* %i/share/doc/orange-text-svn-py%type_pkg[python]/ 
    83      
    84     # Cleans up 
    85     rm -rf COPYING LICENSES doc/ source/ setup.py 
    86      
    87     # Files for both orange-text-gui-svn-py and orange-text-svn-py 
    88     mkdir -p %i/lib/python%type_raw[python]/site-packages/orange/add-ons/Text/ 
    89     mv * %i/lib/python%type_raw[python]/site-packages/orange/add-ons/Text/ 
     70    # Documentation for orange-text-hg-py 
     71    mkdir -p %i/share/doc/orange-text-hg-py%type_pkg[python]/ 
     72    cp LICENSE.txt %i/share/doc/orange-text-hg-py%type_pkg[python]/ 
     73    mv doc/* %i/share/doc/orange-text-hg-py%type_pkg[python]/ 
     74         
     75    # Files for both orange-text-gui-hg-py and orange-text-hg-py 
     76    %p/bin/python%type_raw[python] setup.py install --root=%d --single-version-externally-managed 
    9077     
    9178    # Installation registration 
    92     echo "orange/add-ons/Text" > %i/lib/python%type_raw[python]/site-packages/orange-text.pth 
    93     echo "datasetsPath=\"%p/share/doc/orange-text-svn-py%type_pkg[python]/datasets/\"" > %i/lib/python%type_raw[python]/site-packages/orange/add-ons/Text/textConfiguration.py 
     79    echo "datasetsPath=\"%p/share/doc/orange-text-hg-py%type_pkg[python]/datasets/\"" > %i/lib/python%type_raw[python]/site-packages/Orange/add-ons/Text/textConfiguration.py 
    9480<< 
    9581<< 
Note: See TracChangeset for help on using the changeset viewer.