diff options
author | William Hubbs <william.hubbs@sony.com> | 2019-05-01 16:54:10 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2019-05-01 16:55:03 -0500 |
commit | a1673d48e60c63fb893b1ffeda18133b632c5f72 (patch) | |
tree | 50c025a128e7d8ddabfdfb45e7e3a8a504e8b451 /www-apps/netbox/files | |
parent | sys-boot/udk: Bump to version 2018 (diff) | |
download | gentoo-a1673d48e60c63fb893b1ffeda18133b632c5f72.tar.gz gentoo-a1673d48e60c63fb893b1ffeda18133b632c5f72.tar.bz2 gentoo-a1673d48e60c63fb893b1ffeda18133b632c5f72.zip |
www-apps/netbox: 2.5.12 bump
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'www-apps/netbox/files')
-rw-r--r-- | www-apps/netbox/files/netbox-2.5.12-no-pip.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/www-apps/netbox/files/netbox-2.5.12-no-pip.patch b/www-apps/netbox/files/netbox-2.5.12-no-pip.patch new file mode 100644 index 000000000000..5d1fa595f4e6 --- /dev/null +++ b/www-apps/netbox/files/netbox-2.5.12-no-pip.patch @@ -0,0 +1,27 @@ +diff --git a/upgrade.sh b/upgrade.sh +index 24e79f5b..248e1cb5 100755 +--- a/upgrade.sh ++++ b/upgrade.sh +@@ -8,22 +8,6 @@ + PYTHON="python3" + PIP="pip3" + +-# TODO: Remove this in v2.6 as it is no longer needed under Python 3 +-# Delete stale bytecode +-COMMAND="find . -name \"*.pyc\" -delete" +-echo "Cleaning up stale Python bytecode ($COMMAND)..." +-eval $COMMAND +- +-# Uninstall any Python packages which are no longer needed +-COMMAND="${PIP} uninstall -r old_requirements.txt -y" +-echo "Removing old Python packages ($COMMAND)..." +-eval $COMMAND +- +-# Install any new Python packages +-COMMAND="${PIP} install -r requirements.txt --upgrade" +-echo "Updating required Python packages ($COMMAND)..." +-eval $COMMAND +- + # Apply any database migrations + COMMAND="${PYTHON} netbox/manage.py migrate" + echo "Applying database migrations ($COMMAND)..." |