mirror of
https://github.com/YunoHost-Apps/coin_ynh.git
synced 2024-09-03 18:16:26 +02:00
Use metapackage for PostgreSQL dev libraries. (#34)
* Use metapackage for PostgreSQL dev libraries. * Use proper package. * Add python3-dev dependency. * YOLOBUMP psycopg2 * Update main-001.patch
This commit is contained in:
parent
818f1830d7
commit
e3a41bc5c2
2 changed files with 12 additions and 1 deletions
|
@ -68,7 +68,7 @@ ram.runtime = "50M"
|
||||||
main.allowed = "visitors"
|
main.allowed = "visitors"
|
||||||
|
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
packages = "gunicorn, python3, python3-venv, libpq-dev, libsasl2-dev, libjpeg-dev, libxml2-dev, libxslt1-dev, libpango1.0-0, postgresql, postgresql-contrib, postgresql-server-dev-13"
|
packages = "gunicorn, python3, python3-venv, libpq-dev, libsasl2-dev, libjpeg-dev, libxml2-dev, libxslt1-dev, libpango1.0-0, postgresql, postgresql-contrib, postgresql-server-dev-all python3-dev"
|
||||||
|
|
||||||
[resources.database]
|
[resources.database]
|
||||||
type = "postgresql"
|
type = "postgresql"
|
||||||
|
|
11
sources/patches/main-001.patch
Normal file
11
sources/patches/main-001.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
diff --git a/requirements.txt b/requirements.txt
|
||||||
|
index 27c1a5c..a21fd3d 100644
|
||||||
|
--- a/requirements.txt
|
||||||
|
+++ b/requirements.txt
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
Django>=2.2,<2.3
|
||||||
|
-psycopg2>=2.8,<2.9
|
||||||
|
+psycopg2>=2.9,<3.0
|
||||||
|
# To match django-ldapdb version:
|
||||||
|
#python-ldap>=3.0,<3.1
|
||||||
|
#wsgiref
|
Loading…
Add table
Reference in a new issue