[MacPorts] #47140: pypi2port @133341 fails to run

MacPorts noreply at macports.org
Fri Mar 13 01:29:26 PDT 2015


#47140: pypi2port @133341 fails to run
--------------------+-----------------------
 Reporter:  jmr@…   |      Owner:  gaurav@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.3.3
 Keywords:          |       Port:  pypi2port
--------------------+-----------------------
 The #! is not on the first line in the script, so this happens:
 {{{
 % pypi2port
 /opt/local/bin/pypi2port: line 18:
 Copyright (c) 2015, Gaurav Bansal
 All rights reserved.

 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are
 met:

 1. Redistributions of source code must retain the above copyright notice,
 this list of conditions and the following disclaimer.

 2. Redistributions in binary form must reproduce the above copyright
 notice, this list of conditions and the following disclaimer
 in the documentation and/or other materials provided with the
 distribution.

 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS:
 File name too long
 /opt/local/bin/pypi2port: line 23: import: command not found
 /opt/local/bin/pypi2port: line 24: import: command not found
 /opt/local/bin/pypi2port: line 25: import: command not found
 /opt/local/bin/pypi2port: line 26: import: command not found
 /opt/local/bin/pypi2port: line 27: import: command not found
 /opt/local/bin/pypi2port: line 28: import: command not found
 /opt/local/bin/pypi2port: line 29: try:: command not found
 /opt/local/bin/pypi2port: line 30: import: command not found
 /opt/local/bin/pypi2port: line 31: except: command not found
 /opt/local/bin/pypi2port: line 32: import: command not found
 /opt/local/bin/pypi2port: line 33: import: command not found
 /opt/local/bin/pypi2port: line 34: import: command not found
 /opt/local/bin/pypi2port: line 35: import: command not found
 /opt/local/bin/pypi2port: line 36: import: command not found
 /opt/local/bin/pypi2port: line 37: import: command not found
 /opt/local/bin/pypi2port: line 38: import: command not found
 /opt/local/bin/pypi2port: line 39: import: command not found
 /opt/local/bin/pypi2port: line 42: syntax error near unexpected token `('
 /opt/local/bin/pypi2port: line 42: `client =
 xmlrpclib.ServerProxy('http://pypi.python.org/pypi')’
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/47140>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list