[MacPorts] #18869: py25-docutils does not include roman.py
#18869: py25-docutils does not include roman.py ---------------------------------------+------------------------------------ Reporter: swinbank@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: py25-docutils ---------------------------------------+------------------------------------ Hence: {{{ $ rst2html.py Traceback (most recent call last): File "/opt/local/bin/rst2html.py", line 23, in <module> publish_cmdline(writer_name='html', description=description) File "/opt/local/lib/python2.5/site-packages/docutils/core.py", line 334, in publish_cmdline pub.set_components(reader_name, parser_name, writer_name) File "/opt/local/lib/python2.5/site-packages/docutils/core.py", line 92, in set_components self.set_reader(reader_name, self.parser, parser_name) File "/opt/local/lib/python2.5/site-packages/docutils/core.py", line 82, in set_reader self.reader = reader_class(parser, parser_name) File "/opt/local/lib/python2.5/site- packages/docutils/readers/__init__.py", line 49, in __init__ self.set_parser(parser_name) File "/opt/local/lib/python2.5/site- packages/docutils/readers/__init__.py", line 60, in set_parser parser_class = parsers.get_parser_class(parser_name) File "/opt/local/lib/python2.5/site- packages/docutils/parsers/__init__.py", line 46, in get_parser_class module = __import__(parser_name, globals(), locals()) File "/opt/local/lib/python2.5/site- packages/docutils/parsers/rst/__init__.py", line 75, in <module> from docutils.parsers.rst import states File "/opt/local/lib/python2.5/site- packages/docutils/parsers/rst/states.py", line 108, in <module> import roman ImportError: No module named roman }}} I note that it '''is''' included with py26-docutils. -- Ticket URL: <http://trac.macports.org/ticket/18869> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18869: py25-docutils does not include roman.py ---------------------------------------+------------------------------------ Reporter: swinbank@… | Owner: alex@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: py25-docutils ---------------------------------------+------------------------------------ Changes (by blb@…): * owner: macports-tickets@… => alex@… Comment: Hmm, seems to install roman.py and roman.pyc for me (and rst2html.py runs without error): {{{ $ port contents py25-docutils |grep roman.py /opt/local/lib/python2.5/site-packages/roman.py /opt/local/lib/python2.5/site-packages/roman.pyc }}} Is your version of py25-docutils 0.5? -- Ticket URL: <http://trac.macports.org/ticket/18869#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18869: py25-docutils does not include roman.py ---------------------------------------+------------------------------------ Reporter: swinbank@… | Owner: alex@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: py25-docutils ---------------------------------------+------------------------------------ Comment(by swinbank@…): Weird: {{{ $ port contents py25-docutils | grep roman.py $ sudo port uninstall py25-docutils ---> Deactivating py25-docutils @0.5_0 $ sudo port install py25-docutils ---> Fetching py25-docutils ---> Verifying checksum(s) for py25-docutils ---> Extracting py25-docutils ---> Configuring py25-docutils ---> Building py25-docutils ---> Staging py25-docutils into destroot ---> Installing py25-docutils @0.5_0 ---> Activating py25-docutils @0.5_0 ---> Cleaning py25-docutils $ port contents py25-docutils | grep roman.py /opt/local/lib/python2.5/site-packages/roman.py /opt/local/lib/python2.5/site-packages/roman.pyc $ python -c'import roman' $ }}} No good reason that I can see, but it seems to be happy now. Thanks! -- Ticket URL: <http://trac.macports.org/ticket/18869#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18869: py25-docutils does not include roman.py ---------------------------------------+------------------------------------ Reporter: swinbank@… | Owner: alex@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: py25-docutils ---------------------------------------+------------------------------------ Comment(by blb@…): Looking at docutils' setup.py script for installation, it appears that it won't install roman.py if it already sees that it is available. Maybe you upgraded py25-docutils from an older version, and seeing roman.py from that, the new version elected to not install it? -- Ticket URL: <http://trac.macports.org/ticket/18869#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18869: py25-docutils does not include roman.py ---------------------------------------+------------------------------------ Reporter: swinbank@… | Owner: alex@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: py25-docutils ---------------------------------------+------------------------------------ Comment(by raimue@…): I have experienced the same thing. Reinstalling py25-docutils fixed it. -- Ticket URL: <http://trac.macports.org/ticket/18869#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18869: py25-docutils does not include roman.py --------------------------------------+------------------------------------- Reporter: swinbank@… | Owner: alex@… Type: defect | Status: new Priority: Normal | Component: ports Version: 1.7.0 | Keywords: Port: py25-docutils | --------------------------------------+------------------------------------- Comment(by weakish@…): Replying to [comment:3 blb@…]:
Looking at docutils' setup.py script for installation, it appears that it won't install roman.py if it already sees that it is available. Maybe you upgraded py25-docutils from an older version, and seeing roman.py from that, the new version elected to not install it?
Exactly. Maybe the roman.py can be a separate port? (Just like what Debian did?) -- Ticket URL: <http://trac.macports.org/ticket/18869#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18869: py25-docutils does not include roman.py ---------------------------------------+------------------------------------ Reporter: swinbank@… | Owner: alex@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: py25-docutils ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * cc: jmr@…, eridius@…, ryandesign@… (added) Comment: py26-roman is now a separate port. Now we need the same for Python 2.5 and 2.4 -- bearing in mind the issue with the current implementation reported in #23520. -- Ticket URL: <http://trac.macports.org/ticket/18869#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18869: py25-docutils does not include roman.py ---------------------------------------+------------------------------------ Reporter: swinbank@… | Owner: alex@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: py25-docutils ---------------------------------------+------------------------------------ Changes (by jmr@…): * cc: jmr@…, eridius@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/18869#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18869: py25-docutils does not include roman.py ----------------------------+-------------------- Reporter: swinbank@… | Owner: alex@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: | Keywords: Port: py25-docutils | ----------------------------+-------------------- Comment (by petr@…): Closing this ticket! The ports `py-roman` and `py-docutils` are now separate ports for some time and the ports were updated many times. So any of the described problems should have surfaces. -- Ticket URL: <https://trac.macports.org/ticket/18869#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#18869: py25-docutils does not include roman.py ----------------------------+-------------------- Reporter: swinbank@… | Owner: alex@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: py25-docutils | ----------------------------+-------------------- Changes (by petr@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/18869#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts