Revision: 122850 https://trac.macports.org/changeset/122850 Author: gaurav@macports.org Date: 2014-07-31 13:44:45 -0700 (Thu, 31 Jul 2014) Log Message: ----------- Updated New Ticket support message Modified Paths: -------------- branches/gsoc14-pip2port/pypi2port.py Modified: branches/gsoc14-pip2port/pypi2port.py =================================================================== --- branches/gsoc14-pip2port/pypi2port.py 2014-07-31 20:31:46 UTC (rev 122849) +++ branches/gsoc14-pip2port/pypi2port.py 2014-07-31 20:44:45 UTC (rev 122850) @@ -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."
participants (1)
-
gaurav@macports.org