[122851] branches/gsoc14-pip2port/pypi2port

gaurav at macports.org gaurav at macports.org
Thu Jul 31 13:45:18 PDT 2014


Revision: 122851
          https://trac.macports.org/changeset/122851
Author:   gaurav at macports.org
Date:     2014-07-31 13:45:18 -0700 (Thu, 31 Jul 2014)
Log Message:
-----------
Updated executable

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

Modified: branches/gsoc14-pip2port/pypi2port
===================================================================
--- branches/gsoc14-pip2port/pypi2port	2014-07-31 20:44:45 UTC (rev 122850)
+++ branches/gsoc14-pip2port/pypi2port	2014-07-31 20:45:18 UTC (rev 122851)
@@ -331,7 +331,7 @@
             master_site_exists = True
         else:
             master_site_exists = False
-        file.write('distname            {0}-{1}\n\n'.format(
+        file.write('distname            {0}-{1}.tar.gz\n\n'.format(
                    dict['name'], dict['version']))
 
 
@@ -375,6 +375,12 @@
         new_file = './dports/python/py-'+dict['name']+'/Portfile'
         diff_file = './dports/python/py-'+dict['name']+'/patch.Portfile.diff'
         create_diff(old_file, new_file, diff_file)
+        print str(os.path.abspath(diff_file))+"\n"
+        with open(diff_file) as diff:
+            print diff.read()
+        print "\nIf you want to open a new ticket. Please visit"
+        print "https://trac.macports.org/auth/login/?next=/newticket"
+        print "to open a new ticket after logging in with your credentials."
     else:
         print "No port found."
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140731/822cbce5/attachment.html>


More information about the macports-changes mailing list