nwdigitalradio / rmsgw

Linux RMS Gateway
GNU General Public License v2.0
23 stars 12 forks source link

Debian packaging rules missing python-requests as a dependency #7

Closed ve7fet closed 5 years ago

ve7fet commented 5 years ago

The debian/control file is missing the python-requests package as a dependency.

Without python-requests installed, rmsgw_aci returns an error:

pi@raspberrypi:/etc/cron.d $ rmsgw_aci
grep: @axports@: No such file or directory
channel vhfdrop unavailable
Traceback (most recent call last):
  File "/etc/rmsgw/updateversion.py", line 37, in 
    import requests
ImportError: No module named requests

It can be manually installed to resolve the issue, need to add it to the Depends line.

n7nix commented 5 years ago

Thanks.

ve7fet commented 5 years ago

Doesn't need it for building (build-depends), only for runtime. So, it should be:

Depends: ${shlibs:Depends}, ${misc:Depends}, libax25 (>= 0.0.12), libxml2, python (>=2.7.9), libncurses5, python-requests