bee_python 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README +1 -1
 - data/lib/bee_task_python.rb +1 -1
 - data/python.yml +5 -23
 - metadata +35 -37
 
    
        data/README
    CHANGED
    
    
    
        data/lib/bee_task_python.rb
    CHANGED
    
    
    
        data/python.yml
    CHANGED
    
    | 
         @@ -55,6 +55,9 @@ 
     | 
|
| 
       55 
55 
     | 
    
         
             
                # Set a version to ~ (or null) to indicate that no specific version is needed.
         
     | 
| 
       56 
56 
     | 
    
         
             
                # Set dependencies to ~ if you don't want any check (default).
         
     | 
| 
       57 
57 
     | 
    
         
             
                py_deps: ~
         
     | 
| 
      
 58 
     | 
    
         
            +
                # dependencies as a requirements file:
         
     | 
| 
      
 59 
     | 
    
         
            +
                # py_reqs: 'requirements.txt'
         
     | 
| 
      
 60 
     | 
    
         
            +
                py_reqs: ~
         
     | 
| 
       58 
61 
     | 
    
         
             
                # directories to clean
         
     | 
| 
       59 
62 
     | 
    
         
             
                py_clean_dirs:  [:py_build_dir]
         
     | 
| 
       60 
63 
     | 
    
         
             
                # files to clean
         
     | 
| 
         @@ -138,27 +141,6 @@ 
     | 
|
| 
       138 
141 
     | 
    
         
             
              - if: defined?(py_deps) and py_deps
         
     | 
| 
       139 
142 
     | 
    
         
             
                then:
         
     | 
| 
       140 
143 
     | 
    
         
             
                - python.dependencies: :py_deps
         
     | 
| 
       141 
     | 
    
         
            -
             
     | 
| 
       142 
     | 
    
         
            -
            - target:      py_inst_deps
         
     | 
| 
       143 
     | 
    
         
            -
              description: Install Python dependencies using PIP
         
     | 
| 
       144 
     | 
    
         
            -
              script:
         
     | 
| 
       145 
     | 
    
         
            -
              - if: defined?(py_deps) and py_deps
         
     | 
| 
      
 144 
     | 
    
         
            +
              - if: defined?(py_reqs) and py_reqs
         
     | 
| 
       146 
145 
     | 
    
         
             
                then:
         
     | 
| 
       147 
     | 
    
         
            -
                -  
     | 
| 
       148 
     | 
    
         
            -
                  in:  py_deps.keys.sort
         
     | 
| 
       149 
     | 
    
         
            -
                  do:
         
     | 
| 
       150 
     | 
    
         
            -
                  - if: not py_deps[_name] or py_deps[_name] == '*'
         
     | 
| 
       151 
     | 
    
         
            -
                    then:
         
     | 
| 
       152 
     | 
    
         
            -
                    - print: "Installing '#{_name}'..."
         
     | 
| 
       153 
     | 
    
         
            -
                    - try:
         
     | 
| 
       154 
     | 
    
         
            -
                      - "sudo pip install #{_name}"
         
     | 
| 
       155 
     | 
    
         
            -
                      - print: "OK"
         
     | 
| 
       156 
     | 
    
         
            -
                      catch:
         
     | 
| 
       157 
     | 
    
         
            -
                      - print: "ERROR: could not install '#{_name}'"
         
     | 
| 
       158 
     | 
    
         
            -
                    else:
         
     | 
| 
       159 
     | 
    
         
            -
                    - print: "Installing '#{_name}' in version '#{py_deps[_name]}'..."
         
     | 
| 
       160 
     | 
    
         
            -
                    - try:
         
     | 
| 
       161 
     | 
    
         
            -
                      - "sudo pip install #{_name}==#{py_deps[_name]}"
         
     | 
| 
       162 
     | 
    
         
            -
                      - print: "OK"
         
     | 
| 
       163 
     | 
    
         
            -
                      catch:
         
     | 
| 
       164 
     | 
    
         
            -
                      - print: "ERROR: could not install '#{_name}' in version '#{py_deps[_name]}'"
         
     | 
| 
      
 146 
     | 
    
         
            +
                - python.requirements: :py_reqs
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,13 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: bee_python
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       4 
     | 
    
         
            -
              hash:  
     | 
| 
      
 4 
     | 
    
         
            +
              hash: 21
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       6 
6 
     | 
    
         
             
              segments: 
         
     | 
| 
       7 
7 
     | 
    
         
             
              - 0
         
     | 
| 
       8 
8 
     | 
    
         
             
              - 2
         
     | 
| 
       9 
     | 
    
         
            -
              -  
     | 
| 
       10 
     | 
    
         
            -
              version: 0.2. 
     | 
| 
      
 9 
     | 
    
         
            +
              - 1
         
     | 
| 
      
 10 
     | 
    
         
            +
              version: 0.2.1
         
     | 
| 
       11 
11 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       12 
12 
     | 
    
         
             
            authors: 
         
     | 
| 
       13 
13 
     | 
    
         
             
            - Michel Casabianca
         
     | 
| 
         @@ -15,8 +15,7 @@ autorequire: 
     | 
|
| 
       15 
15 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       16 
16 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
     | 
    
         
            -
            date: 2013-09- 
     | 
| 
       19 
     | 
    
         
            -
            default_executable: 
         
     | 
| 
      
 18 
     | 
    
         
            +
            date: 2013-09-12 00:00:00 Z
         
     | 
| 
       20 
19 
     | 
    
         
             
            dependencies: 
         
     | 
| 
       21 
20 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       22 
21 
     | 
    
         
             
              name: bee
         
     | 
| 
         @@ -45,50 +44,49 @@ extra_rdoc_files: 
     | 
|
| 
       45 
44 
     | 
    
         
             
            - LICENSE
         
     | 
| 
       46 
45 
     | 
    
         
             
            files: 
         
     | 
| 
       47 
46 
     | 
    
         
             
            - lib/bee_task_python.rb
         
     | 
| 
       48 
     | 
    
         
            -
            - egg/ 
     | 
| 
       49 
     | 
    
         
            -
            - egg/ 
     | 
| 
       50 
     | 
    
         
            -
            - egg/egg/pylint.cfg
         
     | 
| 
       51 
     | 
    
         
            -
            - egg/egg/script.py
         
     | 
| 
       52 
     | 
    
         
            -
            - egg/egg/setup.erb
         
     | 
| 
       53 
     | 
    
         
            -
            - egg/egg/test.py
         
     | 
| 
       54 
     | 
    
         
            -
            - egg/egg.yml
         
     | 
| 
       55 
     | 
    
         
            -
            - egg/http/build.erb
         
     | 
| 
       56 
     | 
    
         
            -
            - egg/http/libhttp.py
         
     | 
| 
       57 
     | 
    
         
            -
            - egg/http/pylint.cfg
         
     | 
| 
       58 
     | 
    
         
            -
            - egg/http/server.py
         
     | 
| 
       59 
     | 
    
         
            -
            - egg/http/test.erb
         
     | 
| 
       60 
     | 
    
         
            -
            - egg/http.yml
         
     | 
| 
       61 
     | 
    
         
            -
            - egg/mysql/mysql.py
         
     | 
| 
       62 
     | 
    
         
            -
            - egg/mysql.yml
         
     | 
| 
       63 
     | 
    
         
            -
            - egg/project/build.erb
         
     | 
| 
      
 47 
     | 
    
         
            +
            - egg/xmlrpc.yml
         
     | 
| 
      
 48 
     | 
    
         
            +
            - egg/project/test.py
         
     | 
| 
       64 
49 
     | 
    
         
             
            - egg/project/pylint.cfg
         
     | 
| 
      
 50 
     | 
    
         
            +
            - egg/project/build.erb
         
     | 
| 
       65 
51 
     | 
    
         
             
            - egg/project/script.py
         
     | 
| 
       66 
     | 
    
         
            -
            - egg/ 
     | 
| 
       67 
     | 
    
         
            -
            - egg/project.yml
         
     | 
| 
       68 
     | 
    
         
            -
            - egg/script/build.erb
         
     | 
| 
       69 
     | 
    
         
            -
            - egg/script/pylint.cfg
         
     | 
| 
       70 
     | 
    
         
            -
            - egg/script/script.py
         
     | 
| 
       71 
     | 
    
         
            -
            - egg/script.yml
         
     | 
| 
      
 52 
     | 
    
         
            +
            - egg/soap/pylint.cfg
         
     | 
| 
       72 
53 
     | 
    
         
             
            - egg/soap/build.erb
         
     | 
| 
       73 
54 
     | 
    
         
             
            - egg/soap/client.py
         
     | 
| 
       74 
     | 
    
         
            -
            - egg/soap/pylint.cfg
         
     | 
| 
       75 
55 
     | 
    
         
             
            - egg/soap/server.py
         
     | 
| 
       76 
     | 
    
         
            -
            - egg/soap.yml
         
     | 
| 
       77 
     | 
    
         
            -
            - egg/source/source.py
         
     | 
| 
       78 
     | 
    
         
            -
            - egg/source.yml
         
     | 
| 
       79 
56 
     | 
    
         
             
            - egg/test/test.py
         
     | 
| 
       80 
     | 
    
         
            -
            - egg/ 
     | 
| 
      
 57 
     | 
    
         
            +
            - egg/egg.yml
         
     | 
| 
      
 58 
     | 
    
         
            +
            - egg/project.yml
         
     | 
| 
      
 59 
     | 
    
         
            +
            - egg/source/source.py
         
     | 
| 
      
 60 
     | 
    
         
            +
            - egg/xmlrpc/pylint.cfg
         
     | 
| 
       81 
61 
     | 
    
         
             
            - egg/xmlrpc/build.erb
         
     | 
| 
       82 
62 
     | 
    
         
             
            - egg/xmlrpc/client.py
         
     | 
| 
       83 
     | 
    
         
            -
            - egg/xmlrpc/pylint.cfg
         
     | 
| 
       84 
63 
     | 
    
         
             
            - egg/xmlrpc/server.py
         
     | 
| 
       85 
     | 
    
         
            -
            - egg/ 
     | 
| 
       86 
     | 
    
         
            -
            -  
     | 
| 
      
 64 
     | 
    
         
            +
            - egg/http/test.erb
         
     | 
| 
      
 65 
     | 
    
         
            +
            - egg/http/pylint.cfg
         
     | 
| 
      
 66 
     | 
    
         
            +
            - egg/http/build.erb
         
     | 
| 
      
 67 
     | 
    
         
            +
            - egg/http/server.py
         
     | 
| 
      
 68 
     | 
    
         
            +
            - egg/http/libhttp.py
         
     | 
| 
      
 69 
     | 
    
         
            +
            - egg/soap.yml
         
     | 
| 
      
 70 
     | 
    
         
            +
            - egg/script/pylint.cfg
         
     | 
| 
      
 71 
     | 
    
         
            +
            - egg/script/build.erb
         
     | 
| 
      
 72 
     | 
    
         
            +
            - egg/script/script.py
         
     | 
| 
      
 73 
     | 
    
         
            +
            - egg/source.yml
         
     | 
| 
      
 74 
     | 
    
         
            +
            - egg/mysql/mysql.py
         
     | 
| 
      
 75 
     | 
    
         
            +
            - egg/script.yml
         
     | 
| 
      
 76 
     | 
    
         
            +
            - egg/test.yml
         
     | 
| 
      
 77 
     | 
    
         
            +
            - egg/mysql.yml
         
     | 
| 
      
 78 
     | 
    
         
            +
            - egg/http.yml
         
     | 
| 
      
 79 
     | 
    
         
            +
            - egg/egg/build.yml
         
     | 
| 
      
 80 
     | 
    
         
            +
            - egg/egg/test.py
         
     | 
| 
      
 81 
     | 
    
         
            +
            - egg/egg/setup.erb
         
     | 
| 
      
 82 
     | 
    
         
            +
            - egg/egg/pylint.cfg
         
     | 
| 
      
 83 
     | 
    
         
            +
            - egg/egg/ez_setup.py
         
     | 
| 
      
 84 
     | 
    
         
            +
            - egg/egg/script.py
         
     | 
| 
       87 
85 
     | 
    
         
             
            - tools/test/suite.py
         
     | 
| 
      
 86 
     | 
    
         
            +
            - tools/compile/compile.py
         
     | 
| 
       88 
87 
     | 
    
         
             
            - python.yml
         
     | 
| 
       89 
88 
     | 
    
         
             
            - README
         
     | 
| 
       90 
89 
     | 
    
         
             
            - LICENSE
         
     | 
| 
       91 
     | 
    
         
            -
            has_rdoc: true
         
     | 
| 
       92 
90 
     | 
    
         
             
            homepage: http://bee.rubyforge.org
         
     | 
| 
       93 
91 
     | 
    
         
             
            licenses: []
         
     | 
| 
       94 
92 
     | 
    
         | 
| 
         @@ -118,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       118 
116 
     | 
    
         
             
            requirements: []
         
     | 
| 
       119 
117 
     | 
    
         | 
| 
       120 
118 
     | 
    
         
             
            rubyforge_project: none
         
     | 
| 
       121 
     | 
    
         
            -
            rubygems_version: 1. 
     | 
| 
      
 119 
     | 
    
         
            +
            rubygems_version: 1.8.11
         
     | 
| 
       122 
120 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       123 
121 
     | 
    
         
             
            specification_version: 3
         
     | 
| 
       124 
122 
     | 
    
         
             
            summary: Bee package to manage Python projects
         
     |