Handle native packages

parent 0b110d45
......@@ -209,8 +209,9 @@ class DetailedDependency(object):
if ":" in debian_version:
pos = debian_version.index(":")
debian_version = debian_version[pos + 1:]
pos_rev = debian_version.index("-")
debian_version = debian_version[:pos_rev]
if "-" in debian_version:
pos_rev = debian_version.index("-")
debian_version = debian_version[:pos_rev]
if '~' in debian_version:
debian_version = debian_version[:debian_version.index('~')]
elif '+' in debian_version:
......@@ -315,7 +316,8 @@ class GemDeps(object):
while True:
try:
current_gem = DetailedDependency(self.original_list[counter])
print("------------------------------------------------------")
print("---------------------------------------------------(%s)"
% (self.appname))
print("Gem: %s" % current_gem.name)
if "rails-assets" in current_gem.name:
print("\tRails Assets Found. Skipping")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment