From 4bd2c5762eb577de29bfa2ee74e39cb00f3b97c6 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Holcroft Date: Thu, 28 Dec 2017 13:37:21 +0100 Subject: [PATCH] Upgrade to 3.13.2 --- conf/app.src | 4 ++-- manifest.json | 2 +- scripts/install | 13 +++++++------ 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/conf/app.src b/conf/app.src index 51f7077..fc7c29f 100644 --- a/conf/app.src +++ b/conf/app.src @@ -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 diff --git a/manifest.json b/manifest.json index d4d4dc4..476231d 100644 --- a/manifest.json +++ b/manifest.json @@ -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": { diff --git a/scripts/install b/scripts/install index 3fb8d8b..25af729 100755 --- a/scripts/install +++ b/scripts/install @@ -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 ) #=================================================