source: orange/install-scripts/mac/fink/orange-text-gui-svn-py.info @ 8062:532bc7012fee

Revision 8062:532bc7012fee, 3.5 KB checked in by mitar, 3 years ago (diff)

Add also addon.xml to Fink packages of Orange python modules. Closes #846.

Line 
1Info3: <<
2Package: orange-text-gui-svn-py%type_pkg[python]
3Type: python (2.4 2.5 2.6 2.7)
4Version: 0.0.__DAILY_REVISION__
5Revision: 14
6Source: http://orange.biolab.si/fink/dists/10.5/main/source/orange-text-svn-%v.tgz
7Source-MD5: __DAILY_MD5SUM_TEXT__
8Maintainer: Mitar <mitar@tnode.com>
9HomePage: http://orange.biolab.si/
10License: GPL
11Distribution: (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5
12Depends: <<
13    python%type_pkg[python],
14    orange-gui-svn-py%type_pkg[python] (>= %v),
15    orange-text-svn-py%type_pkg[python] (>= %v)
16<<
17Conflicts: orange-text, orange-text-svn
18Replaces: orange-text-svn
19Description: Orange text mining add-on (GUI)
20DescDetail: <<
21    Orange is a component-based data mining software. It includes a range
22    of data visualization, exploration, preprocessing and modeling
23    techniques. It can be used through a nice and intuitive user interface
24    or, for more advanced users, as a module for Python programming language.
25   
26    This package provides a graphical user interface for text mining add-on.
27<<
28SplitOff: <<
29    Package: orange-text-svn-py%type_pkg[python]
30    Depends: <<
31        python%type_pkg[python],
32        orange-svn-py%type_pkg[python] (>= %v)
33    <<
34    Suggests: orange-text-gui-svn-py%type_pkg[python]
35    Conflicts: orange-text-py%type_pkg[python]
36    Description: Orange text mining add-on (Python module)
37    DescDetail: <<
38        Orange is a component-based data mining software. It includes a range
39        of data visualization, exploration, preprocessing and modeling
40        techniques. It can be used through a nice and intuitive user interface
41        or, for more advanced users, as a module for Python programming language.
42       
43        This package provides a Python module for text mining add-on.
44    <<
45    Shlibs: <<
46        %p/lib/python%type_raw[python]/site-packages/orange/add-ons/Text/_orngTextWrapper.so 0.0.0 %n (>= 0.0.0-1)
47    <<
48    Files: <<
49        lib/python%type_raw[python]/site-packages/orange/add-ons/Text/*.so
50        lib/python%type_raw[python]/site-packages/orange/add-ons/Text/*.py
51        lib/python%type_raw[python]/site-packages/orange/add-ons/Text/addon.xml
52        lib/python%type_raw[python]/site-packages/orange-text.pth
53        share/doc/orange-text-svn-py%type_pkg[python]
54    <<
55<<
56CompileScript: <<
57    #!/bin/bash -ev
58   
59    # Compile scripts later on assume Python executable is named "python" - so we give them that
60    export PATH=%b:$PATH
61    ln -s %p/bin/python%type_raw[python] python
62   
63    # Compiles
64    cd source
65    make
66    cd ../
67   
68    # Cleans
69    rm python
70<<
71InstallScript: <<
72    #!/bin/bash -ev
73   
74    # Documentation for orange-text-gui-svn-py
75    mkdir -p %i/share/doc/orange-text-gui-svn-py%type_pkg[python]/
76    cp COPYING LICENSES %i/share/doc/orange-text-gui-svn-py%type_pkg[python]/
77    cp doc/style.css %i/share/doc/orange-text-gui-svn-py%type_pkg[python]/
78    mv doc/widgets/ %i/share/doc/orange-text-gui-svn-py%type_pkg[python]/
79   
80    # Documentation for orange-text-svn-py
81    mkdir -p %i/share/doc/orange-text-svn-py%type_pkg[python]/
82    cp COPYING LICENSES %i/share/doc/orange-text-svn-py%type_pkg[python]/
83    mv doc/* %i/share/doc/orange-text-svn-py%type_pkg[python]/
84   
85    # Cleans up
86    rm -rf COPYING LICENSES doc/ source/ setup.py
87   
88    # Files for both orange-text-gui-svn-py and orange-text-svn-py
89    mkdir -p %i/lib/python%type_raw[python]/site-packages/orange/add-ons/Text/
90    mv * %i/lib/python%type_raw[python]/site-packages/orange/add-ons/Text/
91   
92    # Installation registration
93    echo "orange/add-ons/Text" > %i/lib/python%type_raw[python]/site-packages/orange-text.pth
94    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
95<<
96<<
Note: See TracBrowser for help on using the repository browser.