2023-04-26 17:44:04 +02:00
|
|
|
packaging_format = 2
|
|
|
|
|
|
|
|
id = "pytition"
|
|
|
|
name = "Pytition"
|
|
|
|
description.en = "Host privacy-friendly online petitions"
|
|
|
|
description.fr = "Hébergez des pétitions en ligne respectueuses de la vie privée"
|
|
|
|
|
2023-04-27 18:34:01 +02:00
|
|
|
version = "2.7~ynh2"
|
2023-04-26 17:44:04 +02:00
|
|
|
|
|
|
|
maintainers = ["Salamandar"]
|
|
|
|
|
|
|
|
[upstream]
|
|
|
|
license = "BSD-3-Clause"
|
|
|
|
website = "https://pytition.org"
|
|
|
|
demo = "https://demo.pytition.org"
|
|
|
|
admindoc = "https://pytition.readthedocs.io/en/latest/"
|
|
|
|
code = "https://github.com/pytition/Pytition"
|
|
|
|
|
|
|
|
[integration]
|
2023-04-26 17:51:32 +02:00
|
|
|
yunohost = ">= 11.1.18"
|
|
|
|
architectures = "all"
|
2023-04-26 17:44:04 +02:00
|
|
|
multi_instance = true
|
2023-04-26 17:51:32 +02:00
|
|
|
ldap = false
|
|
|
|
sso = false
|
|
|
|
disk = "50M"
|
|
|
|
ram.build = "50M"
|
|
|
|
ram.runtime = "50M"
|
2023-04-26 17:44:04 +02:00
|
|
|
|
|
|
|
[install]
|
|
|
|
[install.domain]
|
|
|
|
type = "domain"
|
|
|
|
|
|
|
|
[install.path]
|
|
|
|
type = "path"
|
|
|
|
default = "/pytition"
|
|
|
|
|
|
|
|
[install.init_main_permission]
|
|
|
|
help.en = "If private, only Yunohost users will be able to sign petitions."
|
|
|
|
help.fr = "Si privé, seuls des utilisateurs Yunohost pourront signer des pétitions."
|
|
|
|
type = "group"
|
|
|
|
default = "visitors"
|
|
|
|
|
|
|
|
[install.language]
|
|
|
|
ask.en = "Choose the application language"
|
|
|
|
ask.fr = "Choisissez la langue de l'application"
|
|
|
|
type = "string"
|
|
|
|
choices = ["fr", "en"]
|
|
|
|
default = "fr"
|
|
|
|
|
|
|
|
[install.password]
|
|
|
|
help.en = "Administrator password (username is admin)"
|
|
|
|
help.fr = "Mot de passe administrateur (l'identifiant est admin)"
|
|
|
|
type = "password"
|
|
|
|
|
|
|
|
[resources]
|
|
|
|
[resources.sources.main]
|
|
|
|
url = "https://github.com/pytition/Pytition/archive/refs/tags/v2.7.tar.gz"
|
|
|
|
sha256 = "3ed7ea64765a259a453cbd58569ed0177e40a4f248995bd0c613966d1d40d60e"
|
|
|
|
|
|
|
|
[resources.system_user]
|
|
|
|
|
|
|
|
[resources.install_dir]
|
|
|
|
|
|
|
|
[resources.permissions]
|
|
|
|
main.url = "/"
|
|
|
|
|
2023-04-26 17:51:32 +02:00
|
|
|
[resources.apt]
|
|
|
|
packages = "mariadb-server python3 virtualenv gettext libzip-dev libssl-dev default-libmysqlclient-dev uwsgi uwsgi-plugin-python3 python3-uwsgidecorators"
|
|
|
|
|
2023-04-26 17:44:04 +02:00
|
|
|
[resources.database]
|
|
|
|
type = "mysql"
|