Opened 9 years ago

Last modified 8 years ago

#50836 new submission

vpython @6.11 new Portfile

Reported by: maugustin@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: petrrr
Port: vpython

Description (last modified by mf2k (Frank Schima))

New portfile for vpython (Visual Python, http://vpython.org).

This port needs a patch in setup.py to take the mt version of boost_python and boost_signal.

This port depends on ttfquery, that is submitted in ticket:50809

Attachments (2)

patch-vPython-Boost-mt.diff (459 bytes) - added by maugustin@… 9 years ago.
Portfile (1.6 KB) - added by maugustin@… 8 years ago.

Download all attachments as: .zip

Change History (8)

Changed 9 years ago by maugustin@…

Attachment: patch-vPython-Boost-mt.diff added

comment:1 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:2 Changed 8 years ago by repagh (Rene van Paassen)

I tried this one:

  • the checksums are no longer valid
  • the timing is wrong (I am on Yosemite), and needs a fix, by adding the following to the portfile:
    post-patch {
          reinplace {s/Dispatch[(]/DispatchTimeout(1/} ${worksrcpath}/site-packages/visual_common/create_display.py
    }
    

If not applied, graphics updates hang until mouse or other events come in.

comment:3 Changed 8 years ago by maugustin@…

  • updated download URL to point fix to version 6.11
  • updated checksum
  • include patch from Rene

comment:4 Changed 8 years ago by mf2k (Frank Schima)

Comments:

  • This port should use the Github portgroup which will simplify it somewhat.
  • You cannot depend on python stub ports. Change them to the py27 sub-ports.
  • You list all dependencies as depends_build-append but they are almost certainly depends_lib-append because they will likely be used by the port in order to run.

comment:5 Changed 8 years ago by maugustin@…

@mf2k: thanks for the tips. I've done the changes. New Portfile available.

Changed 8 years ago by maugustin@…

Attachment: Portfile added

comment:6 Changed 8 years ago by mf2k (Frank Schima)

Description: modified (diff)
Version: 2.3.4
Note: See TracTickets for help on using tickets.