[MacPorts] #47140: pypi2port @133341 fails to run
#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
#47140: pypi2port @133341 fails to run ------------------------+---------------------- Reporter: jmr@… | Owner: gaurav@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: pypi2port | ------------------------+---------------------- Changes (by ryandesign@…): * status: new => closed * cc: mojca@…, ryandesign@… (added) * resolution: => fixed Comment: Fixed in r141844. Port updated in r142527. -- Ticket URL: <https://trac.macports.org/ticket/47140#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47140: pypi2port @133341 fails to run ------------------------+---------------------- Reporter: jmr@… | Owner: gaurav@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: pypi2port | ------------------------+---------------------- Comment (by mojca@…): I (was sure that I) fixed that, but apparently I forgot to commit it. Thank you, Ryan. -- Ticket URL: <https://trac.macports.org/ticket/47140#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47140: pypi2port @133341 fails to run ------------------------+---------------------- Reporter: jmr@… | Owner: gaurav@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: pypi2port | ------------------------+---------------------- Comment (by ryandesign@…): Yes, you committed r141844 to fix the script, and I committed r142527 to update the port to that revision. There's a couple other open pypi2port tickets that I haven't looked into yet... -- Ticket URL: <https://trac.macports.org/ticket/47140#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts