mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Install python-packaging as dependance
This commit is contained in:
parent
95b7885890
commit
8d2bde84ec
2 changed files with 1 additions and 7 deletions
2
debian/control
vendored
2
debian/control
vendored
|
@ -13,7 +13,7 @@ Architecture: all
|
|||
Depends: ${python:Depends}, ${misc:Depends}
|
||||
, moulinette (>= 3.7), ssowat (>= 3.7)
|
||||
, python-psutil, python-requests, python-dnspython, python-openssl
|
||||
, python-apt, python-miniupnpc, python-dbus, python-jinja2
|
||||
, python-apt, python-miniupnpc, python-dbus, python-jinja2, python-packaging,
|
||||
, python-toml
|
||||
, apt, apt-transport-https
|
||||
, nginx, nginx-extras (>=1.6.2)
|
||||
|
|
|
@ -183,9 +183,6 @@ def app_info(app, full=False):
|
|||
|
||||
|
||||
def _app_upgradable(app_infos):
|
||||
# python-pkg-resources contains the packaging module
|
||||
# yunohost depends of python-jinja2 and python-jinja2 depends of python-pkg-resources
|
||||
# so packaging module should be available on all yunohost instances
|
||||
from packaging import version
|
||||
|
||||
# Determine upgradability
|
||||
|
@ -467,9 +464,6 @@ def app_upgrade(app=[], url=None, file=None, force=False):
|
|||
url -- Git url to fetch for upgrade
|
||||
|
||||
"""
|
||||
# python-pkg-resources contains the packaging module
|
||||
# yunohost depends of python-jinja2 and python-jinja2 depends of python-pkg-resources
|
||||
# so packaging module should be available on all yunohost instances
|
||||
from packaging import version
|
||||
from yunohost.hook import hook_add, hook_remove, hook_exec, hook_callback
|
||||
from yunohost.permission import permission_sync_to_user
|
||||
|
|
Loading…
Add table
Reference in a new issue