Revision
122851
Author
gaurav@macports.org
Date
2014-07-31 13:45:18 -0700 (Thu, 31 Jul 2014)

Log Message

Updated executable

Modified Paths

Diff

Modified: branches/gsoc14-pip2port/pypi2port (122850 => 122851)


--- 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."