<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hey All, Marius,<div class=""><br class=""></div><div class="">I wanted to look at letsencrypt and found this string and used it a as starting point.</div><div class=""><br class=""></div><div class="">I used the Portfiles from:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/Schamschula/macports/blob/master/python/py-certbot/Portfile" class="">https://github.com/Schamschula/macports/blob/master/python/py-certbot/Portfile</a></div><div class=""><br class=""></div><div class="">I then kept adding the other Portfiles to my local repository from his python directory until it installed.</div><div class=""><br class=""></div><div class="">Now that it is installed when I run it I appear to be missing some dependencies within the python environment.</div><div class="">I would like to add the pyrfc3339 first but I’m not sure how to go about it.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class="">Ben</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">slim% sudo ls -la /opt/local/bin/certbot-2.7</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">lrwxr-xr-x  1 root  admin  71 Dec 18 15:40 /opt/local/bin/certbot-2.7 -> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/certbot</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">slim% sudo /opt/local/bin/certbot-2.7 </span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Traceback (most recent call last):</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  File "/opt/local/bin/certbot-2.7", line 6, in <module></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    from pkg_resources import load_entry_point</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3019, in <module></span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    @_call_aside</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3003, in _call_aside</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    f(*args, **kwargs)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3032, in _initialize_master_working_set</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    working_set = WorkingSet._build_master()</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 655, in _build_master</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    ws.require(__requires__)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 963, in require</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    needed = self.resolve(parse_requirements(requirements))</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 849, in resolve</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    raise DistributionNotFound(req, requirers)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">pkg_resources.DistributionNotFound: The 'pyrfc3339' distribution was not found and is required by certbot</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">slim%</span></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""> </div><div class=""><div><blockquote type="cite" class=""><div class="">On Nov 21, 2016, at 7:03 PM, Marius Schamschula <<a href="mailto:lists@schamschula.com" class="">lists@schamschula.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=windows-1252" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Mike,<div class=""><br class=""></div><div class="">I have py-certbot installed locally, using MacPorts for all prerequisites as well. I haven’t uploaded it to the macports-ports repository, as I no longer have a web server running macOS, so I have not tested most current versions.</div><div class=""><br class=""></div><div class="">See <a href="https://github.com/Schamschula/macports/blob/master/python/py-certbot/Portfile" class="">https://github.com/Schamschula/macports/blob/master/python/py-certbot/Portfile</a></div><div class=""><br class=""></div><div class=""><div class=""><div class="">On Nov 21, 2016, at 5:34 PM, Mike Savory <<a href="mailto:msavory1@nzbox.com" class="">msavory1@nzbox.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite" class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Bill<div class=""><br class=""></div><div class="">Looks like the certbot-auto also has some support for Macports</div><div class=""><div style="margin: 0px; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    curl -O <a href="https://dl.eff.org/certbot-auto" class="">https://dl.eff.org/certbot-auto</a></span></div></div><div style="margin: 0px; line-height: normal;" class=""><br class=""></div><div class="">LINE 435:</div><div class=""><br class=""></div><div class=""><div class="">BootstrapMac() {</div><div class="">  if hash brew 2>/dev/null; then</div><div class="">    echo "Using Homebrew to install dependencies..."</div><div class="">    pkgman=brew</div><div class="">    pkgcmd="brew install"</div><div class="">  elif hash port 2>/dev/null; then</div><div class="">    echo "Using MacPorts to install dependencies..."</div><div class="">    pkgman=port</div><div class="">    pkgcmd="$SUDO port install"</div><div class="">  else</div><div class="">    echo "No Homebrew/MacPorts; installing Homebrew..."</div><div class="">    ruby -e "$(curl -fsSL <a href="https://raw.githubusercontent.com/Homebrew/install/master/install" class="">https://raw.githubusercontent.com/Homebrew/install/master/install</a>)"</div><div class="">    pkgman=brew</div><div class="">    pkgcmd="brew install"</div><div class="">  fi</div><div class=""><br class=""></div><div class="">Although it looks like it insists on setting up a python virtualenv for you. and then pulls in python dependancies with pip, which is not the normal macports way.</div><div class=""><a href="https://letsencrypt.readthedocs.org/en/latest/contributing.html#prerequisites" class="">https://letsencrypt.readthedocs.org/en/latest/contributing.html#prerequisites</a></div><div class=""><br class=""></div><div class="">I'll set up a VM and try it and let you know (don't want to break my main Mac).</div><div class=""><br class=""></div><div class="">Mike</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="">On 22/11/2016, at 10:38 AM, Bill Christensen <<a href="mailto:billc_lists@greenbuilder.com" class="">billc_lists@greenbuilder.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Any chance of a Certbot port?  <a href="https://certbot.eff.org/" class="">https://certbot.eff.org/</a><div class=""><br class=""></div><div class="">They've got an install with Homebrew, but I'd rather do everything with MacPorts.  </div><div class=""><br class=""></div><div class="">(yeah, I know, I could learn to build ports myself and become the maintainer.  And maybe I will at some point, but not right now)</div></div>
</div></blockquote></div><br class=""></div></div></blockquote></div><br class=""><div class="">
<div style="font-family: Helvetica; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Marius</div><div class="">--</div><div class="">Marius Schamschula</div><div class=""><br class=""></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">

</div>
<br class=""></div></div></div></blockquote></div><br class=""></div></body></html>