1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pagure_ynh.git synced 2024-09-03 19:56:19 +02:00

Upgrade to 3.13.2

This commit is contained in:
Jean-Baptiste Holcroft 2017-12-28 13:37:21 +01:00
parent 5ff2677fa2
commit 4bd2c5762e
3 changed files with 10 additions and 9 deletions

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://releases.pagure.org/pagure/pagure-3.11.tar.gz
SOURCE_SUM=7f34ee27a6711427486bb274a30c89e7a21e8eee4cc6bf001afa12421e734e8c
SOURCE_URL=https://releases.pagure.org/pagure/pagure-3.13.2.tar.gz
SOURCE_SUM=be22fe7918adf3cf7e037c6b76c19c48b2e4acd7da7c7fa11b05474052d8e868
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=false

View file

@ -8,7 +8,7 @@
"description": {
"en": "Pagure is a git-centered forge, python based using pygit2."
},
"version": "3.11.0",
"version": "3.13.2-1",
"url": "https://pagure.io/pagure",
"license": "AGPL-3.0",
"maintainer": {

View file

@ -140,7 +140,7 @@ ynh_add_uwsgi_service
#=================================================
ynh_setup_source "${final_path}"
ln -s "${final_path}/pagure-3.11" "${final_path}/pagure"
ln -s "${final_path}/pagure-3.13.2" "${final_path}/pagure"
#=================================================
# PIP INSTALLATION
@ -148,12 +148,13 @@ ln -s "${final_path}/pagure-3.11" "${final_path}/pagure"
virtualenv "${final_path}/venv"
#run source in a 'sub shell'
(
set +eu
set +o nounset
source "${final_path}/venv/bin/activate"
"${final_path}/venv/bin/pip" install cffi
"${final_path}/venv/bin/pip" install pygit2==0.24
"${final_path}/venv/bin/pip" install -r "${final_path}/pagure/requirements.txt"
"${final_path}/venv/bin/pip" install psycopg2
set -o nounset
pip install cffi
pip install pygit2==0.24
pip install -r "${final_path}/pagure/requirements.txt"
pip install psycopg2 cryptography py-bcrypt python-fedora
)
#=================================================