Merge pull request #10976 from jefferyto/asu-python3

asu: Change Python 2 dependencies to Python 3
This commit is contained in:
Rosen Penev 2020-01-12 14:46:29 -08:00 committed by GitHub
commit 56e090ffff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

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

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