Changeset 82224


Ignore:
Timestamp:
Aug 10, 2011, 7:02:11 PM (6 years ago)
Author:
snc@…
Message:

py-pyxg: unify

Location:
trunk/dports/python
Files:
3 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-pyxg/Portfile

    r81291 r82224  
    33
    44PortSystem      1.0
    5 PortGroup       python24 1.0
     5PortGroup           python 1.0
    66
    77name            py-pyxg
    88version         0.3.0
     9python.versions 24 25 26 27
     10python.default_version  27
    911categories      python devel
    1012platforms       darwin
     
    2325                sha256  6a551af355939d102fba1fd22e1cd4a7f12ba3387b612008565f36fdaa772fc4
    2426
    25 depends_lib     port:py-bdist_mpkg \
    26                 port:py-pyobjc
     27supported_archs noarch
    2728
    28 supported_archs noarch
     29
     30if {$subport != $name} {
     31    if {${python.version} == 24} {
     32        depends_lib-append  port:py-bdist_mpkg \
     33                            port:py-pyobjc
     34        if {${os.major} > 8} {
     35            notes-append "#29462: py-pyobjc2: unrecognized command line option '-Wno-long-double'"
     36            depends_lib-delete  port:py-pyobjc
     37            depends_lib-append  port:py-pyobjc2
     38        }
     39    }
     40
     41    if {${python.version} == 25} {
     42        depends_lib-append  port:py${python.version}-bdist_mpkg
     43    }
     44
     45    if {${python.version} == 25 || ${python.version} == 26 || ${python.version} == 27} {
     46        depends_lib-append  port:py${python.version}-pyobjc-cocoa
     47    }
     48}
    2949
    3050livecheck.url   http://github.com/pyxg/pyxg/downloads
Note: See TracChangeset for help on using the changeset viewer.