diff options
author | William Hubbs <williamh@gentoo.org> | 2019-11-17 13:26:30 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2019-11-17 13:27:34 -0600 |
commit | 5b529b02ecf3417aa21b87b2ead3ba563a1afbf4 (patch) | |
tree | 182fc4ff67f9671389a0ae60f8b387e5c22ce88b /www-apps/netbox/files | |
parent | dev-libs/gmime:2.6: drop mono bindings support (diff) | |
download | gentoo-5b529b02ecf3417aa21b87b2ead3ba563a1afbf4.tar.gz gentoo-5b529b02ecf3417aa21b87b2ead3ba563a1afbf4.tar.bz2 gentoo-5b529b02ecf3417aa21b87b2ead3ba563a1afbf4.zip |
www-apps/netbox: 2.6.7 bump
Package-Manager: Portage-2.3.76, 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.7-no-pip.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/www-apps/netbox/files/netbox-2.6.7-no-pip.patch b/www-apps/netbox/files/netbox-2.6.7-no-pip.patch new file mode 100644 index 000000000000..a47e151c0842 --- /dev/null +++ b/www-apps/netbox/files/netbox-2.6.7-no-pip.patch @@ -0,0 +1,32 @@ +diff --git a/upgrade.sh b/upgrade.sh +index d17dec06..6972ed2f 100755 +--- a/upgrade.sh ++++ b/upgrade.sh +@@ -10,27 +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 +- +-# Validate Python dependencies +-COMMAND="${PIP} check" +-echo "Validating Python dependencies ($COMMAND)..." +-eval $COMMAND || ( +- echo "******** PLEASE FIX THE DEPENDENCIES BEFORE CONTINUING ********" +- echo "* Manually install newer version(s) of the highlighted packages" +- echo "* so that 'pip3 check' passes. For more information see:" +- echo "* https://github.com/pypa/pip/issues/988" +- exit 1 +-) +- + # Apply any database migrations + COMMAND="${PYTHON} netbox/manage.py migrate" + echo "Applying database migrations ($COMMAND)..." |