Changeset 89399 for trunk/dports


Ignore:
Timestamp:
Jan 28, 2012, 8:23:06 AM (12 years ago)
Author:
jmr@…
Message:

py25-pyglet, py26-pyglet: set 32-bit supported_archs and add notes on how to run a universal python in 32-bit mode (#28357)

Location:
trunk/dports/python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py25-pyglet/Portfile

    r73249 r89399  
    99categories              python
    1010platforms               darwin
     11# uses carbon; apparently 1.2 will use cocoa
     12supported_archs         i386 ppc
    1113maintainers             nomaintainer
    1214
     
    2325                    rmd160  64a70d8a87ff056f4fc912fb9f4b32b3ea4cd262
    2426
     27set python_framework ${frameworks_dir}/Python.framework/Versions/${python.branch}
     28if {$build_arch == "x86_64" || $build_arch == "ppc64"} {
     29    notes "Since MacPorts is configured to use the $build_arch architecture\
     30where possible and the current version of pyglet only works when built for\
     3132-bit archs, you will probably need to run python like this to use pyglet:
     32arch -${configure.build_arch} ${python_framework}/Resources/Python.app/Contents/MacOS/Python"
     33}
     34
    2535livecheck.type          regex
    2636livecheck.url           ${homepage}download.html
  • trunk/dports/python/py26-pyglet/Portfile

    r62549 r89399  
    99categories          python
    1010platforms           darwin
     11# uses carbon; apparently 1.2 will use cocoa
     12supported_archs     i386 ppc
    1113maintainers         stromnov openmaintainer
    1214
     
    2224                    sha1    1c1fa4130b5e5b7aa9da2456b75742ae447d0315 \
    2325                    rmd160  64a70d8a87ff056f4fc912fb9f4b32b3ea4cd262
     26
     27if {$build_arch == "x86_64" || $build_arch == "ppc64"} {
     28    notes "Since MacPorts is configured to use the $build_arch architecture\
     29where possible and the current version of pyglet only works when built for\
     3032-bit archs, you will probably need to run python like this to use pyglet:
     31arch -${configure.build_arch} ${python.prefix}/Resources/Python.app/Contents/MacOS/Python"
     32}
Note: See TracChangeset for help on using the changeset viewer.