py25-pyx with texlive: works!
Hello macports-users, I have just installed the new py25-pyx port (pyx 0.10) on my MBP running 10.4.11 and MP 1.6.0. Using the ability to test local/new portfiles, I decided to first attempt installing py25-pyx using texlive instead of tetex for the dependency, simply by replacing teTeX with texlive in the Portfile. Success! I only have one python script which uses pyx, but it worked perfectly to draw and create the graphics which we need. Others could perhaps try their scripts, but pyx is functional. This did expose a bug in texlive: the file /opt/local/share/texmf/ fonts/map/dvips/updmap/psfonts.map has an extra space between a bracket and a font name. search for "< magh" to find the formatting error. This is apparently a known bug in texlive fonts and is probably already fixed upstream. However, pyx only emits a warning for the problem... the scripts run fine. I do not have macports SVN commit access or the desire to be a port maintainer, but I hope this info is useful for people looking to upgrade ports from teTeX to texlive. I have also checked the pyx- users list archives @ sourceforge, and the maintainers of pyx are already using texlive. It should be safe to update this port's dependencies. sincerely, Brian
You should do the same as I did for TeXmacs and submit a patch via the bugtracker. On Feb 5, 2008 10:53 PM, Brian Barnes <bcbarnes@gmail.com> wrote:
Hello macports-users,
I have just installed the new py25-pyx port (pyx 0.10) on my MBP running 10.4.11 and MP 1.6.0.
Using the ability to test local/new portfiles, I decided to first attempt installing py25-pyx using texlive instead of tetex for the dependency, simply by replacing teTeX with texlive in the Portfile. Success!
I only have one python script which uses pyx, but it worked perfectly to draw and create the graphics which we need. Others could perhaps try their scripts, but pyx is functional.
This did expose a bug in texlive: the file /opt/local/share/texmf/ fonts/map/dvips/updmap/psfonts.map has an extra space between a bracket and a font name. search for "< magh" to find the formatting error. This is apparently a known bug in texlive fonts and is probably already fixed upstream. However, pyx only emits a warning for the problem... the scripts run fine.
I do not have macports SVN commit access or the desire to be a port maintainer, but I hope this info is useful for people looking to upgrade ports from teTeX to texlive. I have also checked the pyx- users list archives @ sourceforge, and the maintainers of pyx are already using texlive. It should be safe to update this port's dependencies.
sincerely,
Brian
-- James Sumners http://james.roomfullofmirrors.com/ "All governments suffer a recurring problem: Power attracts pathological personalities. It is not that power corrupts but that it is magnetic to the corruptible. Such people have a tendency to become drunk on violence, a condition to which they are quickly addicted." Missionaria Protectiva, Text QIV (decto) CH:D 59
participants (2)
-
Brian Barnes
-
James Sumners