fpm 0.2.24 → 0.2.25

Sign up to get free protection for your applications and to get access to all the features.
@@ -45,11 +45,15 @@ class get_metadata(Command):
45
45
  data["architecture"] = "all"
46
46
  # end if
47
47
 
48
- dependencies = []
48
+ dependencies = None
49
49
  try:
50
50
  dependencies = self.distribution.install_requires
51
51
  except:
52
52
  pass
53
+
54
+ # In some cases (Mysql-Python) 'dependencies' is none, not empty.
55
+ if dependencies is None:
56
+ dependencies = []
53
57
 
54
58
  final_deps = []
55
59
  dep_re = re.compile("([^<>= ]+)(?:\s*([<>=]{1,2})\s*(.*))?$")
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fpm
3
3
  version: !ruby/object:Gem::Version
4
- hash: 39
4
+ hash: 37
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 24
10
- version: 0.2.24
9
+ - 25
10
+ version: 0.2.25
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jordan Sissel