summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <william.hubbs@sony.com>2019-09-25 12:15:49 -0500
committerWilliam Hubbs <williamh@gentoo.org>2019-09-25 12:35:38 -0500
commit4e82a7f6b4a96ca9335898b81f3c54d1f69cd42e (patch)
tree43485980f07debaeef7f634cd35aadc5f4cc443f /www-apps/netbox/files
parentdev-python/jira: USE=filemagic → magic, to match global (diff)
downloadgentoo-4e82a7f6b4a96ca9335898b81f3c54d1f69cd42e.tar.gz
gentoo-4e82a7f6b4a96ca9335898b81f3c54d1f69cd42e.tar.bz2
gentoo-4e82a7f6b4a96ca9335898b81f3c54d1f69cd42e.zip
www-apps/netbox: 2.6.4 bump
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'www-apps/netbox/files')
-rw-r--r--www-apps/netbox/files/netbox-2.6.4-no-pip.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/www-apps/netbox/files/netbox-2.6.4-no-pip.patch b/www-apps/netbox/files/netbox-2.6.4-no-pip.patch
new file mode 100644
index 000000000000..ba281aaea5d1
--- /dev/null
+++ b/www-apps/netbox/files/netbox-2.6.4-no-pip.patch
@@ -0,0 +1,21 @@
+diff --git a/upgrade.sh b/upgrade.sh
+index 793e72cd..8490d713 100755
+--- a/upgrade.sh
++++ b/upgrade.sh
+@@ -10,16 +10,6 @@ cd "$(dirname "$0")"
+ PYTHON="python3"
+ PIP="pip3"
+
+-# 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)..."