Funciona e constrói para mim, mas você está perdendo algumas dependências. Talvez você esteja perdendo python-gi
.
alan@hal:~/tmp/ubuntunews⟫ snap install ubuntunews_1.0_amd64.snap --dangerous --devmode
ubuntunews 1.0 installed
alan@hal:~/tmp/ubuntunews⟫ snap run ubuntunews
Traceback (most recent call last):
File "/snap/ubuntunews/x1/bin/ubuntunews", line 11, in <module>
load_entry_point('ubuntunews==1.0', 'console_scripts', 'ubuntunews')()
File "/snap/ubuntunews/x1/lib/python3.5/site-packages/pkg_resources/__init__.py", line 572, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/snap/ubuntunews/x1/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2755, in load_entry_point
return ep.load()
File "/snap/ubuntunews/x1/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2408, in load
return self.resolve()
File "/snap/ubuntunews/x1/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2414, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/snap/ubuntunews/x1/lib/python3.5/site-packages/ubuntunews/__init__.py", line 2, in <module>
from . import brain
File "/snap/ubuntunews/x1/lib/python3.5/site-packages/ubuntunews/brain.py", line 12, in <module>
import gi
ImportError: No module named 'gi'
Então, eu imagino que você precisa, pelo menos: -
stage-packages:
- python3-gi