[MacPorts] #45887: virtualenvwrapper_lazy.sh-2.7 is broken
MacPorts
noreply at macports.org
Thu Nov 13 21:49:44 PST 2014
#45887: virtualenvwrapper_lazy.sh-2.7 is broken
-----------------------------+----------------------------------
Reporter: luc_j_bourhis@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.2
Keywords: | Port: py-virtualenvwrapper
-----------------------------+----------------------------------
It needs to be patched as follow:
{{{
--- /tmp/virtualenvwrapper_lazy.sh-2.7-old 2014-11-14
06:40:57.000000000 +0100
+++ virtualenvwrapper_lazy.sh-2.7 2014-11-14 06:41:31.000000000
+0100
@@ -5,11 +5,11 @@
if [ -z "$VIRTUALENVWRAPPER_SCRIPT" ]
then
- export VIRTUALENVWRAPPER_SCRIPT="$(which virtualenvwrapper.sh)"
+ export VIRTUALENVWRAPPER_SCRIPT="$(which
virtualenvwrapper.sh-2.7)"
fi
if [ -z "$VIRTUALENVWRAPPER_SCRIPT" ]
then
- echo "ERROR: virtualenvwrapper_lazy.sh: Could not find
virtualenvwrapper.sh" 1>&2
+ echo "ERROR: virtualenvwrapper_lazy.sh-2.7: Could not find
virtualenvwrapper.sh-2.7" 1>&2
fi
# Load the real implementation of the API from virtualenvwrapper.sh
}}}
Alternatively, create a new port providing virtualenvwrapper_select.
Thanks for all the good work over the years.
--
Ticket URL: <https://trac.macports.org/ticket/45887>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list