New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #23506 (closed update: fixed)

Opened 2 years ago

Last modified 2 years ago

py26-docutils-0.6 upgrade proposal

Reported by: doc.aronnax@… Owned by: jmr@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: jsg8pitt@…
Port: py26-docutils py26-roman

Description

I have attached a new Portfile upgrading py26-docutils from 0.5 to 0.6. This brings in another Python dependency, a module for parsing Roman numerals. This is also attached to this ticket as the new proposed port: py26-roman.

Attachments

Portfile Download (1.4 KB) - added by doc.aronnax@… 2 years ago.
New portfile for py26-docutils
Portfile.diff Download (0.5 KB) - added by doc.aronnax@… 2 years ago.
Diff of Portfile for py26-docutils
Portfile.2 Download (0.7 KB) - added by doc.aronnax@… 2 years ago.
New portfile for proposed port: py26-roman

Change History

Changed 2 years ago by doc.aronnax@…

New portfile for py26-docutils

Changed 2 years ago by doc.aronnax@…

Diff of Portfile for py26-docutils

Changed 2 years ago by doc.aronnax@…

New portfile for proposed port: py26-roman

  Changed 2 years ago by doc.aronnax@…

  • cc doc.aronnax@… added

Cc Me!

  Changed 2 years ago by macsforever2000@…

  • cc doc.aronnax@… removed
  • keywords haspatch added
  • version 1.8.2 deleted
  • port set to py26-docutils py26-roman
  • owner changed from macports-tickets@… to jmr@…

  Changed 2 years ago by jmr@…

This is rather inconvenient, as the new version's new dependency installs files that conflict with the old version, which will cause activation to fail during upgrade.

  Changed 2 years ago by jmr@…

Committed py26-roman in r63306 with some corrections.

  Changed 2 years ago by jmr@…

For future reference, diffs should be generated in unified format (i.e. diff -u).

  Changed 2 years ago by jmr@…

  • status changed from new to closed
  • resolution set to fixed

Updated py26-docutils in r63307.

  Changed 2 years ago by doc.aronnax@…

Note that py26-roman installs itself using setuptools. A colleague who had python26 but not py26-setuptools reported that he was unable to install py26-roman; he was able to after installing py26-setuptools. Should py26-roman depend on py26-setuptools?

follow-up: ↓ 10   Changed 2 years ago by jsg8pitt@…

py26-roman won't install without setuptools or distribute.

josephgallo@colossus:~ $ sudo port install py26-docutils
--->  Computing dependencies for py26-docutils
--->  Building py26-roman
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-roman/work/roman-1.4.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build " returned error 1
Command output: Traceback (most recent call last):
  File "setup.py", line 1, in <module>
    from setuptools import setup
ImportError: No module named setuptools

  Changed 2 years ago by jsg8pitt@…

  • cc jsg8pitt@… added

Cc Me!

in reply to: ↑ 8   Changed 2 years ago by ryandesign@…

Replying to jmr@…:

the new version's new dependency installs files that conflict with the old version, which will cause activation to fail during upgrade.

I have filed #23520 for this.

Replying to doc.aronnax@…:

Note that py26-roman installs itself using setuptools.

Replying to jsg8pitt@…:

py26-roman won't install without setuptools or distribute.

This is filed as #23518.

Note: See TracTickets for help on using tickets.