bee_python 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README +1 -1
  2. data/lib/bee_task_python.rb +1 -1
  3. data/python.yml +5 -23
  4. metadata +35 -37
data/README CHANGED
@@ -20,4 +20,4 @@ or go to URL http://www.apache.org/licenses/LICENSE-2.0).
20
20
 
21
21
  = Copyright
22
22
 
23
- Bee_python version 0.2.0 (C) Michel Casabianca - 2008-2010
23
+ Bee_python version 0.2.1 (C) Michel Casabianca - 2008-2010
@@ -390,7 +390,7 @@ module Bee
390
390
  if line =~ /.+==.+/
391
391
  name, version = line.scan(/[^=]+/).map{|e| e.strip}
392
392
  dependencies[name] = version
393
- else
393
+ elsif line.strip.length > 0
394
394
  dependencies[line.strip] = nil
395
395
  end
396
396
  end
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
- - for: _name
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
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-11 00:00:00 +02:00
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/egg/build.yml
49
- - egg/egg/ez_setup.py
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/project/test.py
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/test.yml
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/xmlrpc.yml
86
- - tools/compile/compile.py
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.4.2
119
+ rubygems_version: 1.8.11
122
120
  signing_key:
123
121
  specification_version: 3
124
122
  summary: Bee package to manage Python projects