<div dir="ltr">I do see the Portfile: /opt/local/var/macports/sources/<a href="http://svn.macports.org/trunk/dports/lang/python27/Portfile">svn.macports.org/trunk/dports/lang/python27/Portfile</a><div><br></div><div>But `port search python27` doesn&#39;t return the port python27. So I guess I must have missed some setup steps. The following is what I have done: </div>
<div><br></div><div><pre class="" style="border:1px dashed rgb(47,111,171);padding:1em;background-color:rgb(249,249,249);font-size:15.428571701049805px;margin-top:0px;margin-bottom:0px;background-image:none;vertical-align:top;color:black;white-space:pre-wrap;word-wrap:break-word">
<span class="" style="color:rgb(122,8,116);font-weight:bold">cd</span> <span class="" style="font-weight:bold">/</span>opt<span class="" style="font-weight:bold">/</span>local<span class="" style="font-weight:bold">/</span>var<span class="" style="font-weight:bold">/</span>macports<span class="" style="font-weight:bold">/</span>sources<span class="" style="font-weight:bold">/</span>
<span class="" style="color:rgb(194,12,185);font-weight:bold">sudo</span> <span class="" style="color:rgb(194,12,185);font-weight:bold">mkdir</span> <span class="" style="color:rgb(102,0,51)">-p</span> <a href="http://svn.macports.org">svn.macports.org</a><span class="" style="font-weight:bold">/</span>trunk<span class="" style="font-weight:bold">/</span>dports
<span class="" style="color:rgb(122,8,116);font-weight:bold">cd</span> <a href="http://svn.macports.org">svn.macports.org</a><span class="" style="font-weight:bold">/</span>trunk<span class="" style="font-weight:bold">/</span>dports<span class="" style="font-weight:bold">/</span>
<span class="" style="color:rgb(102,102,102);font-style:italic"># the following step takes a while</span>
<span class="" style="color:rgb(194,12,185);font-weight:bold">sudo</span> <span class="" style="font-weight:bold">/</span>Applications<span class="" style="font-weight:bold">/</span>Xcode.app<span class="" style="font-weight:bold">/</span>Contents<span class="" style="font-weight:bold">/</span>Developer<span class="" style="font-weight:bold">/</span>usr<span class="" style="font-weight:bold">/</span>bin<span class="" style="font-weight:bold">/</span><span class="" style="color:rgb(194,12,185);font-weight:bold">svn co</span> http:<span class="" style="font-weight:bold">//</span><a href="http://svn.macports.org">svn.macports.org</a><span class="" style="font-weight:bold">/</span>repository<span class="" style="font-weight:bold">/</span>macports<span class="" style="font-weight:bold">/</span>trunk<span class="" style="font-weight:bold">/</span>dports<span class="" style="font-weight:bold">/</span> .</pre>
</div><div class="gmail_extra"><br>Then I  commented the following line in /opt/local/etc/macports/sources.conf: </div><div class="gmail_extra"><br></div><div class="gmail_extra">rsync://<a href="http://rsync.macports.org/release/tarballs/ports.tar">rsync.macports.org/release/tarballs/ports.tar</a> [default]<br>
</div><div class="gmail_extra"><br></div><div class="gmail_extra">and replaced it with: </div><div class="gmail_extra">file:///opt/local/var/macports/sources/<a href="http://svn.macports.org/trunk/dports">svn.macports.org/trunk/dports</a> [default]</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Any step did I miss? Why Macports cannot find the portfile of python27? </div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks. </div><div class="gmail_extra">
<br><div class="gmail_quote">On Mon, Feb 17, 2014 at 1:17 PM, Jeremy Lavergne <span dir="ltr">&lt;<a href="mailto:jeremy@lavergne.gotdns.org" target="_blank">jeremy@lavergne.gotdns.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<a href="https://svn.macports.org/repository/macports/trunk/dports/lang/python27/" target="_blank">https://svn.macports.org/repository/macports/trunk/dports/lang/python27/</a><br>
<div class=""><div class="h5"><br>
On Feb 17, 2014, at 16:12, Shiyuan &lt;<a href="mailto:gshy2014@gmail.com">gshy2014@gmail.com</a>&gt; wrote:<br>
<br>
&gt; In fact, I cannot find the python27 in the svn repos <a href="http://svn.macports.org" target="_blank">svn.macports.org</a>.<br>
<br>
</div></div></blockquote></div><br></div></div>