[83616] trunk/dports/python/py26-virtualenvwrapper
and.damore at macports.org
and.damore at macports.org
Wed Sep 7 11:36:53 PDT 2011
Revision: 83616
http://trac.macports.org/changeset/83616
Author: and.damore at macports.org
Date: 2011-09-07 11:36:51 -0700 (Wed, 07 Sep 2011)
Log Message:
-----------
port py26-virtualenvwrapper: adding virtualenvwrapper_sh.diff patchfile from #29504, missing from r78671 but referenced in it. Closing #29504.
Revision Links:
--------------
http://trac.macports.org/changeset/78671
Modified Paths:
--------------
trunk/dports/python/py26-virtualenvwrapper/Portfile
Added Paths:
-----------
trunk/dports/python/py26-virtualenvwrapper/files/virtualenvwrapper_sh.diff
Modified: trunk/dports/python/py26-virtualenvwrapper/Portfile
===================================================================
--- trunk/dports/python/py26-virtualenvwrapper/Portfile 2011-09-07 18:21:30 UTC (rev 83615)
+++ trunk/dports/python/py26-virtualenvwrapper/Portfile 2011-09-07 18:36:51 UTC (rev 83616)
@@ -30,4 +30,6 @@
post-patch {
reinplace s|__VIRTUALENV_BIN__|${python.prefix}/bin/virtualenv| \
${worksrcpath}/virtualenvwrapper.sh
+ reinplace s|__PYTHON_BIN__|${python.prefix}/bin/python| \
+ ${worksrcpath}/virtualenvwrapper.sh
}
Added: trunk/dports/python/py26-virtualenvwrapper/files/virtualenvwrapper_sh.diff
===================================================================
--- trunk/dports/python/py26-virtualenvwrapper/files/virtualenvwrapper_sh.diff (rev 0)
+++ trunk/dports/python/py26-virtualenvwrapper/files/virtualenvwrapper_sh.diff 2011-09-07 18:36:51 UTC (rev 83616)
@@ -0,0 +1,18 @@
+--- virtualenvwrapper.sh.orig 2011-07-12 17:47:34.000000000 -0600
++++ virtualenvwrapper.sh 2011-07-12 17:50:50.000000000 -0600
+@@ -47,13 +47,13 @@
+ # Locate the global Python where virtualenvwrapper is installed.
+ if [ "$VIRTUALENVWRAPPER_PYTHON" = "" ]
+ then
+- VIRTUALENVWRAPPER_PYTHON="$(\which python)"
++ VIRTUALENVWRAPPER_PYTHON="$(\which __PYTHON_BIN__)"
+ fi
+
+ # Set the name of the virtualenv app to use.
+ if [ "$VIRTUALENVWRAPPER_VIRTUALENV" = "" ]
+ then
+- VIRTUALENVWRAPPER_VIRTUALENV="virtualenv"
++ VIRTUALENVWRAPPER_VIRTUALENV="__VIRTUALENV_BIN__"
+ fi
+
+ virtualenvwrapper_derive_workon_home() {
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110907/c381eb0b/attachment.html>
More information about the macports-changes
mailing list