Opened 9 years ago

Last modified 8 years ago

#45887 new defect

py-virtualenvwrapper: virtualenvwrapper_lazy.sh-2.7 is broken

Reported by: luc-j-bourhis (Luc J. Bourhis) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc: petrrr, quantum7@…
Port: py-virtualenvwrapper

Description

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.

Change History (3)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: virtualenvwrapper_lazy.sh-2.7 is brokenpy-virtualenvwrapper: virtualenvwrapper_lazy.sh-2.7 is broken

comment:2 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:3 Changed 8 years ago by quantum7@…

Cc: quantum7@… added

Cc Me!

Note: See TracTickets for help on using tickets.