Browse Source

asu: Change Python 2 dependencies to Python 3

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lilik-openwrt-22.03
Jeffery To 4 years ago
parent
commit
8bd4b03ef3
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      devel/asu/Makefile
  2. +1
    -1
      devel/asu/files/asu.init

+ 2
- 2
devel/asu/Makefile View File

@ -23,7 +23,7 @@ IMAGEBUILDER_DEPENDS:= \
@x86_64 +bash +bzip2 +coreutils +coreutils-stat +diffutils +file \
+gawk +gcc +getopt +git +git-http +libncurses +make +patch +perl \
+perlbase-attributes +perlbase-findbin +perlbase-getopt \
+perlbase-thread +python-light +tar +unzip +wget +xz +xzdiff \
+perlbase-thread +python3-light +tar +unzip +wget +xz +xzdiff \
+xzgrep +xzless +xz-utils +zlib-dev
define Package/asu
@ -34,7 +34,7 @@ define Package/asu
URL:=http://github.com/aparcar/gsoc17-attended-sysupgrade/
DEPENDS:=$(IMAGEBUILDER_DEPENDS) +pgsql-server +psqlodbcw \
+python3-ctypes +python3-distutils +python3-flask \
+gunicorn +python3-openssl +python3-pyodbc +python3-yaml \
+gunicorn3 +python3-openssl +python3-pyodbc +python3-yaml \
+libustream-mbedtls +ca-certificates +gnupg
USERID:=asu:asu
VARIANT:=python3


+ 1
- 1
devel/asu/files/asu.init View File

@ -28,7 +28,7 @@ start_service() {
procd_open_instance asu_main
procd_set_param user asu
procd_set_param group asu
procd_set_param command gunicorn asu:app
procd_set_param command gunicorn3 asu:app
procd_close_instance
procd_open_instance main_worker


Loading…
Cancel
Save