[MacPorts] #45231: py-html2text xrange error with python3
#45231: py-html2text xrange error with python3 ---------------------------+-------------------------------- Reporter: khindenburg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: py-html2text ---------------------------+-------------------------------- xrange is not in python3 {{{ for i in xrange(len(self.list)): NameError: global name 'xrange' is not defined }}} I think we should use https://github.com/html2text/html2text 2014.7.3 (aaronsw pasted away some time ago) I can commit if no one has any objections. -- Ticket URL: <https://trac.macports.org/ticket/45231> MacPorts <http://www.macports.org/> Ports system for OS X
#45231: py-html2text xrange error with python3 ----------------------------+-------------------------------- Reporter: khindenburg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py-html2text | ----------------------------+-------------------------------- Comment (by khindenburg@…): Note that I try using the python33 subport that generated the error -- Ticket URL: <https://trac.macports.org/ticket/45231#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#45231: py-html2text xrange error with python3 ----------------------------+-------------------------------- Reporter: khindenburg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py-html2text | ----------------------------+-------------------------------- Comment (by petr@…): Well, `html2text` is also available through PyPI currently @2014.9.25: https://pypi.python.org/pypi/html2text/2014.9.25 ... and it seems to be based on this repo: https://github.com/Alir3z4/html2text which has a clearer relation aaronsw (and a complete history) as well. For me the relation between the to repos is unclear. Maybe, we should base the port on the PyPI distribution, as this is what people would usually install. -- Ticket URL: <https://trac.macports.org/ticket/45231#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#45231: py-html2text xrange error with python3 ----------------------------+-------------------------------- Reporter: khindenburg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py-html2text | ----------------------------+-------------------------------- Comment (by petr@…): The contributes to the two repos mostly coincide. -- Ticket URL: <https://trac.macports.org/ticket/45231#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#45231: py-html2text xrange error with python3 ----------------------------+-------------------------------- Reporter: khindenburg@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: Port: py-html2text | ----------------------------+-------------------------------- Changes (by khindenburg@…): * status: new => closed * resolution: => fixed Comment: I changed it to use pypi - thanks r126835 -- Ticket URL: <https://trac.macports.org/ticket/45231#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#45231: py-html2text xrange error with python3 ----------------------------+-------------------------------- Reporter: khindenburg@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: Port: py-html2text | ----------------------------+-------------------------------- Comment (by petr@…): Maybe, it would be the right occasion to replace py31,32 with py34 subport? What you think? -- Ticket URL: <https://trac.macports.org/ticket/45231#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#45231: py-html2text xrange error with python3 ----------------------------+-------------------------------- Reporter: khindenburg@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: Port: py-html2text | ----------------------------+-------------------------------- Comment (by khindenburg@…): I already did in r126836 -- Ticket URL: <https://trac.macports.org/ticket/45231#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts