mirror of
https://github.com/YunoHost-Apps/mopidy_ynh.git
synced 2024-09-03 19:46:21 +02:00
Update _common.sh
This commit is contained in:
parent
1c49b7633d
commit
5a631b7342
1 changed files with 8 additions and 8 deletions
|
@ -16,7 +16,7 @@ pkg_dependencies="build-essential python3-dev python3-pip python3-venv git postg
|
||||||
python_version="$(python3 -V | cut -d' ' -f2 | cut -d. -f1-2)"
|
python_version="$(python3 -V | cut -d' ' -f2 | cut -d. -f1-2)"
|
||||||
|
|
||||||
myynh_install() {
|
myynh_install() {
|
||||||
ynh_script_progression --message="Install / upgrade mopidy via pip..." --weight=8
|
# ynh_script_progression --message="Install / upgrade mopidy via pip..." --weight=8
|
||||||
python3 -m venv "${final_path}/env"
|
python3 -m venv "${final_path}/env"
|
||||||
chown -R "$app" "$final_path"
|
chown -R "$app" "$final_path"
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ myynh_install() {
|
||||||
set -o nounset
|
set -o nounset
|
||||||
ynh_exec_as $app $final_path/env/bin/pip install --upgrade --no-cache-dir pip
|
ynh_exec_as $app $final_path/env/bin/pip install --upgrade --no-cache-dir pip
|
||||||
|
|
||||||
ynh_script_progression --message="Installing essentials..." --weight=17
|
# ynh_script_progression --message="Installing essentials..." --weight=17
|
||||||
|
|
||||||
# to make Gstreamer visible in Python environment
|
# to make Gstreamer visible in Python environment
|
||||||
$final_path/env/bin/python3 -m pip install vext
|
$final_path/env/bin/python3 -m pip install vext
|
||||||
|
@ -39,17 +39,17 @@ myynh_install() {
|
||||||
|
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-local==3.2.1
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-local==3.2.1
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-MusicBox-Webclient==3.1.0
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-MusicBox-Webclient==3.1.0
|
||||||
ynh_script_progression --message="Installing Mopidy-YouTube..." --weight=7
|
# ynh_script_progression --message="Installing Mopidy-YouTube..." --weight=7
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-YouTube==3.2
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-YouTube==3.2
|
||||||
ynh_script_progression --message="Installing Mopidy-YTMusic..." --weight=2
|
# ynh_script_progression --message="Installing Mopidy-YTMusic..." --weight=2
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-YTMusic==0.2.2
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-YTMusic==0.2.2
|
||||||
ynh_script_progression --message="Installing Mopidy-RadioNet..."
|
# ynh_script_progression --message="Installing Mopidy-RadioNet..."
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-RadioNet==0.2.2
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-RadioNet==0.2.2
|
||||||
ynh_script_progression --message="Installing Mopidy-Podcast..."
|
# ynh_script_progression --message="Installing Mopidy-Podcast..."
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-Podcast==3.0.0
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-Podcast==3.0.0
|
||||||
ynh_script_progression --message="Installing Mopidy-Podcast-iTunes..." --weight=2
|
# ynh_script_progression --message="Installing Mopidy-Podcast-iTunes..." --weight=2
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-Podcast-iTunes==3.0.0
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-Podcast-iTunes==3.0.0
|
||||||
ynh_script_progression --message="Installing Mopidy-SoundCloud..." --weight=6
|
# ynh_script_progression --message="Installing Mopidy-SoundCloud..." --weight=6
|
||||||
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-SoundCloud
|
ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-SoundCloud
|
||||||
# ynh_script_progression --message="Installing Mopidy-Spotify..." --time --weight=1
|
# ynh_script_progression --message="Installing Mopidy-Spotify..." --time --weight=1
|
||||||
# ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-Spotify Spotify Lib currently not available!!
|
# ynh_exec_as $app $final_path/env/bin/python3 -m pip install --no-cache-dir Mopidy-Spotify Spotify Lib currently not available!!
|
||||||
|
|
Loading…
Add table
Reference in a new issue