[123382] branches/gsoc14-pip2port/pypi2port

gaurav at macports.org gaurav at macports.org
Fri Aug 8 15:58:06 PDT 2014


Revision: 123382
          https://trac.macports.org/changeset/123382
Author:   gaurav at macports.org
Date:     2014-08-08 15:58:06 -0700 (Fri, 08 Aug 2014)
Log Message:
-----------
Updated executable

Modified Paths:
--------------
    branches/gsoc14-pip2port/pypi2port

Modified: branches/gsoc14-pip2port/pypi2port
===================================================================
--- branches/gsoc14-pip2port/pypi2port	2014-08-08 22:57:27 UTC (rev 123381)
+++ branches/gsoc14-pip2port/pypi2port	2014-08-08 22:58:06 UTC (rev 123382)
@@ -557,8 +557,9 @@
         if deps:
             for dep in deps:
                 dep = dep.split('>')[0].split('=')[0]
-                if not dep == "setuptools":
-                    file.write('                        port:py-{0}\n'.format(dep))
+                dep = dep.replace('[','').replace(']','')
+                if not(dep == "setuptools" or dep == "\n" or dep == ""):
+                    file.write('                        port:py${python.version}-'+dep+'\n')
         file.write('\n')
         file.write('    livecheck.type      none\n')
         if master_site_exists:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140808/382be83c/attachment-0001.html>


More information about the macports-changes mailing list