mirror of
https://github.com/YunoHost-Apps/coin_ynh.git
synced 2024-09-03 18:16:26 +02:00
[fix] Fail to setup dependencies
This commit is contained in:
parent
1012bde879
commit
4416502a52
3 changed files with 25 additions and 2 deletions
|
@ -46,8 +46,8 @@ function install_from_sources()
|
|||
$final_path/venv/bin/pip install "pip>=1.5.6"
|
||||
|
||||
$final_path/venv/bin/pip install gunicorn
|
||||
echo "django-auth-ldap<1.4" >> $final_path/requirements.txt
|
||||
$final_path/venv/bin/pip install -r $final_path/requirements.txt
|
||||
$final_path/venv/bin/pip install django-auth-ldap
|
||||
#$final_path/venv/bin/pip install mysqlclient
|
||||
|
||||
prefix="${path#"/"}/"
|
||||
|
|
|
@ -15,8 +15,8 @@ DOMAIN=$(ynh_app_setting_get "$APP" domain)
|
|||
# Add tests that stuff actually exists before removing them
|
||||
|
||||
# Remove mysql table
|
||||
ynh_psql_drop_user $app
|
||||
ynh_psql_drop_db $app
|
||||
ynh_psql_drop_user $app
|
||||
|
||||
# Remove dependencies
|
||||
ynh_remove_app_dependencies
|
||||
|
|
23
sources/patches/app-01-fix-requirements.patch
Normal file
23
sources/patches/app-01-fix-requirements.patch
Normal file
|
@ -0,0 +1,23 @@
|
|||
From 5dbe24ccb81eaca81cbfc608e2aa70528dd3bc2c Mon Sep 17 00:00:00 2001
|
||||
From: ljf <ljf+yunohost@grimaud.me>
|
||||
Date: Tue, 27 Mar 2018 16:21:00 +0200
|
||||
Subject: [PATCH] [fix] requirements
|
||||
|
||||
---
|
||||
requirements.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/requirements.txt b/requirements.txt
|
||||
index 65b8bf8..e57bb95 100644
|
||||
--- a/requirements.txt
|
||||
+++ b/requirements.txt
|
||||
@@ -1,5 +1,5 @@
|
||||
Django>=1.8.17,<1.9
|
||||
-psycopg2==2.5.2
|
||||
+psycopg2>=2.5.4
|
||||
python-ldap==2.4.15
|
||||
wsgiref==0.1.2
|
||||
python-dateutil==2.2
|
||||
--
|
||||
2.16.2
|
||||
|
Loading…
Add table
Reference in a new issue