Changeset 60894


Ignore:
Timestamp:
Nov 27, 2009, 4:48:26 PM (10 years ago)
Author:
jmr@…
Message:

update py25 and py26 pyobjc and cocoa wrappers to 2.2, and merge back into a single version since 2.2 builds on tiger again

Location:
trunk/dports/python
Files:
2 added
2 deleted
12 edited
2 copied

Legend:

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

    r58216 r60894  
    3232                   port:py25-numpy \
    3333                   port:py25-configobj \
    34                    port:py25-pyobjc2 \
    35                    port:py25-pyobjc2-cocoa
     34                   port:py25-pyobjc-cocoa
    3635
    3736patchfiles         patch-setupext.py.diff \
     
    6261More details, regarding backends, can be found in the matplotlib FAQ:
    6362\nhttp://matplotlib.sourceforge.net/faq/installing_faq.html#what-is-a-backend\n"
    64 }
    65 
    66 platform darwin 8 {
    67   depends_lib-append port:py25-pyobjc
    68   depends_lib-delete port:py25-pyobjc2 port:py25-pyobjc2-cocoa
    6963}
    7064
  • trunk/dports/python/py25-pyobjc-cocoa/Portfile

    r57646 r60894  
    66
    77name            py25-pyobjc2-cocoa
    8 version         2.0
    9 revision        1
     8version         2.2
    109categories      python devel
    1110license         MIT
    1211maintainers     jmr openmaintainer
    1312platforms       darwin
    14 description     cocoa wrappers for py25-pyobjc2
    15 long_description    This port provides the CoreFoundation, Foundation and AppKit wrappers \
    16                     for use with py25-pyobjc2.
     13description     cocoa wrappers for py25-pyobjc
     14long_description    This port provides the CoreFoundation, Foundation and \
     15                    AppKit wrappers for use with py25-pyobjc.
    1716
    1817homepage        http://pyobjc.sourceforge.net/
     18master_sites    http://pypi.python.org/packages/source/p/pyobjc-framework-Cocoa/
     19distname        pyobjc-framework-Cocoa-${version}
     20checksums       md5 324185e6699b59d1ce85b5020e8f83e5 \
     21                sha1 b6c224065096cb2389660e19f0a757d0289031a8 \
     22                rmd160 c8ebb071a0d04188106c9698f117d655325367f9
    1923
    20 depends_lib-append     port:py25-pyobjc2
    21 
    22 fetch.type      svn
    23 svn.url         http://svn.red-bean.com/pyobjc/tags/r200-leopard/pyobjc-framework-Cocoa/
    24 worksrcdir      pyobjc-framework-Cocoa
    25 
    26 if {${os.major} < 9} {
    27     pre-fetch {
    28         return -code error "PyObjC 2.0 requires Mac OS X 10.5"
    29     }
    30 }
     24depends_lib     port:py25-pyobjc
     25# just to avoid upgrade conflicts (sigh)
     26depends_build   port:py25-pyobjc2-cocoa
    3127
    3228post-destroot {
     
    3632    copy ${worksrcpath}/Examples \
    3733        ${destroot}${prefix}/share/doc/${name}/examples
     34    copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}
    3835}
    3936
    40 livecheck.type  none
     37livecheck.type  regex
     38livecheck.url   http://pypi.python.org/pypi/pyobjc-framework-Cocoa/
     39livecheck.regex {pyobjc-framework-Cocoa ([0-9.]+)}
  • trunk/dports/python/py25-pyobjc/Portfile

    r57646 r60894  
    66
    77name            py25-pyobjc
    8 version         1.4
     8version         2.2
    99categories      python devel
    1010license         MIT
     
    2121
    2222homepage        http://pyobjc.sourceforge.net/
    23 master_sites    ${homepage}software/ \
    24                 macports:py-pyobjc
    25 distname        pyobjc-${version}
    26 checksums       md5 c7ec904371aae5714a5a2a07a2c1edbc \
    27                 sha1 6f83b13b78e19f390709eaedf3004c81d983dc5d
     23master_sites    http://pypi.python.org/packages/source/p/pyobjc-core/
     24distname        pyobjc-core-${version}
     25checksums       md5 91155ec6b319c9b4b066a616dccbdaa2 \
     26                sha1 6e1fbfa5708eefaf7a36147daf21f0aab62ec1e4 \
     27                rmd160 a7063fe74ecc95b3105e78196e5b5adc3bba3d4a
    2828
    29 if {${os.major} > 8} {
    30     pre-fetch {
    31         return -code error "PyObjC 1.4 is for Mac OS X 10.4 and lower. On 10.5, use py25-pyobjc2 instead."
    32     }
    33 }
     29depends_lib     port:py25-setuptools \
     30                path:${python.pkgd}/py2app/__init__.py:py25-py2app
     31# just to avoid upgrade conflicts (sigh)
     32depends_build   port:py25-pyobjc2
     33
     34patchfiles      objc-class.m.diff
    3435
    3536post-destroot {
    36     xinstall -m 644 -W ${worksrcpath} HISTORIC.txt Install.html Install.txt \
    37         License.txt NEWS.html NEWS.txt README.txt ReadMe.html \
     37    xinstall -m 644 -W ${worksrcpath} HISTORIC.txt Install.txt \
     38        License.txt NEWS.txt README.txt \
    3839        ${destroot}${prefix}/share/doc/${name}
    39     file copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}/html
    40     file delete ${destroot}${prefix}/share/doc/${name}/examples
    41     file copy ${worksrcpath}/Examples \
     40    copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}/html
     41    delete ${destroot}${prefix}/share/doc/${name}/examples
     42    copy ${worksrcpath}/Examples \
    4243        ${destroot}${prefix}/share/doc/${name}/examples
    4344}
    4445
    45 livecheck.type  none
     46livecheck.type  regex
     47livecheck.url   http://pypi.python.org/pypi/pyobjc-core/
     48livecheck.regex {pyobjc-core ([0-9.]+)}
  • trunk/dports/python/py25-pyobjc2-cocoa/Portfile

    r57646 r60894  
    33
    44PortSystem 1.0
    5 PortGroup python25 1.0
    65
    76name            py25-pyobjc2-cocoa
     7replaced_by     py25-pyobjc-cocoa
    88version         2.0
    9 revision        1
     9revision        2
    1010categories      python devel
    11 license         MIT
    12 maintainers     jmr openmaintainer
     11maintainers     nomaintainer
    1312platforms       darwin
    14 description     cocoa wrappers for py25-pyobjc2
    15 long_description    This port provides the CoreFoundation, Foundation and AppKit wrappers \
    16                     for use with py25-pyobjc2.
     13description     stub port, replaced by py25-pyobjc-cocoa
     14long_description    py25-pyobjc2-cocoa is now a stub, install \
     15                    py25-pyobjc-cocoa instead.
    1716
    1817homepage        http://pyobjc.sourceforge.net/
    1918
    20 depends_lib-append     port:py25-pyobjc2
    21 
    22 fetch.type      svn
    23 svn.url         http://svn.red-bean.com/pyobjc/tags/r200-leopard/pyobjc-framework-Cocoa/
    24 worksrcdir      pyobjc-framework-Cocoa
    25 
    26 if {${os.major} < 9} {
    27     pre-fetch {
    28         return -code error "PyObjC 2.0 requires Mac OS X 10.5"
    29     }
    30 }
    31 
    32 post-destroot {
    33     xinstall -m 644 -W ${worksrcpath} \
    34         LICENSE.txt README.txt \
    35         ${destroot}${prefix}/share/doc/${name}
    36     copy ${worksrcpath}/Examples \
    37         ${destroot}${prefix}/share/doc/${name}/examples
     19distfiles
     20use_configure   no
     21build           {}
     22destroot {
     23    xinstall -d ${destroot}${prefix}/share/doc/${name}
     24    system "echo $long_description > ${destroot}${prefix}/share/doc/${name}/readme.txt"
    3825}
    3926
  • trunk/dports/python/py25-pyobjc2/Portfile

    r58902 r60894  
    33
    44PortSystem 1.0
    5 PortGroup python25 1.0
    65
    76name            py25-pyobjc2
     7replaced_by     py25-pyobjc
    88version         2.0
    9 revision        1
     9revision        2
    1010categories      python devel
    11 license         MIT
    12 maintainers     jmr openmaintainer
     11maintainers     nomaintainer
    1312platforms       darwin
    14 description     bidirectional bridge between python and Objective C
    15 long_description    The PyObjC project aims to provide a bridge between \
    16                 the Python and Objective-C programming languages. The \
    17                 bridge is intended to be fully bidirectional, allowing \
    18                 the Python programmer to take full advantage of the \
    19                 power provided by various Objective-C based toolkits \
    20                 and the Objective-C programmer transparent access to \
    21                 Python based functionality.
     13description     stub port, replaced by py25-pyobjc
     14long_description    py25-pyobjc2 is now a stub, install py25-pyobjc instead.
    2215
    2316homepage        http://pyobjc.sourceforge.net/
    2417
    25 depends_lib-append     port:py25-setuptools \
    26                 path:${python.pkgd}/py2app/__init__.py:py25-py2app
    27 
    28 fetch.type      svn
    29 svn.url         http://svn.red-bean.com/pyobjc/tags/r200-leopard/pyobjc-core/
    30 worksrcdir      pyobjc-core
    31 
    32 if {${os.major} < 9} {
    33     pre-fetch {
    34         return -code error "PyObjC 2.0 requires Mac OS X 10.5"
    35     }
    36 }
    37 
    38 patchfiles      setup.py.diff undef_snprintf.diff
    39 
    40 post-destroot {
    41     xinstall -m 644 -W ${worksrcpath} HISTORIC.txt Install.html Install.txt \
    42         License.txt NEWS.html NEWS.txt ReadMe.txt ReadMe.html \
    43         ${destroot}${prefix}/share/doc/${name}
    44     copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}/html
    45     delete ${destroot}${prefix}/share/doc/${name}/examples
    46     copy ${worksrcpath}/Examples \
    47         ${destroot}${prefix}/share/doc/${name}/examples
     18distfiles
     19use_configure   no
     20build           {}
     21destroot {
     22    xinstall -d ${destroot}${prefix}/share/doc/${name}
     23    system "echo $long_description > ${destroot}${prefix}/share/doc/${name}/readme.txt"
    4824}
    4925
  • trunk/dports/python/py25-pyxg/Portfile

    r51984 r60894  
    2323
    2424depends_lib     port:py25-bdist_mpkg \
    25                 port:py25-pyobjc
    26 
    27 platform darwin 9 {
    28                 depends_lib-delete port:py25-pyobjc
    29                 depends_lib-append port:py25-pyobjc2-cocoa
    30 }
     25                port:py25-pyobjc-cocoa
    3126
    3227livecheck.url   ${master_sites}
  • trunk/dports/python/py26-matplotlib/Portfile

    r60517 r60894  
    3333                   port:py26-numpy \
    3434                   port:py26-configobj \
    35                    port:py26-pyobjc2 \
    36                    port:py26-pyobjc2-cocoa
     35                   port:py26-pyobjc-cocoa
    3736
    3837patchfiles         patch-setupext.py.diff \
     
    6463More details, regarding backends, can be found in the matplotlib FAQ:
    6564\nhttp://matplotlib.sourceforge.net/faq/installing_faq.html#what-is-a-backend\n"
    66 }
    67 
    68 platform darwin 8 {
    69   depends_lib-append port:py26-pyobjc
    70   depends_lib-delete port:py26-pyobjc2 port:py26-pyobjc2-cocoa
    7165}
    7266
  • trunk/dports/python/py26-pyobjc-cocoa/Portfile

    r57646 r60894  
    55PortGroup python26 1.0
    66
    7 name            py26-pyobjc2-cocoa
    8 version         2.0
    9 revision        1
     7name            py26-pyobjc-cocoa
     8version         2.2
    109categories      python devel
    1110license         MIT
    1211maintainers     jmr openmaintainer
    1312platforms       darwin
    14 description     cocoa wrappers for py26-pyobjc2
    15 long_description    This port provides the CoreFoundation, Foundation and AppKit wrappers \
    16                     for use with py26-pyobjc2.
     13description     cocoa wrappers for py26-pyobjc
     14long_description    This port provides the CoreFoundation, Foundation and \
     15                    AppKit wrappers for use with py26-pyobjc.
    1716
    1817homepage        http://pyobjc.sourceforge.net/
     18master_sites    http://pypi.python.org/packages/source/p/pyobjc-framework-Cocoa/
     19distname        pyobjc-framework-Cocoa-${version}
     20checksums       md5 324185e6699b59d1ce85b5020e8f83e5 \
     21                sha1 b6c224065096cb2389660e19f0a757d0289031a8 \
     22                rmd160 c8ebb071a0d04188106c9698f117d655325367f9
    1923
    20 depends_lib-append  port:py26-pyobjc2
    21 
    22 fetch.type      svn
    23 svn.url         http://svn.red-bean.com/pyobjc/tags/r200-leopard/pyobjc-framework-Cocoa/
    24 worksrcdir      pyobjc-framework-Cocoa
    25 
    26 if {${os.major} < 9} {
    27     pre-fetch {
    28         return -code error "PyObjC 2.0 requires Mac OS X 10.5"
    29     }
    30 }
     24depends_lib     port:py26-pyobjc
     25# just to avoid upgrade conflicts (sigh)
     26depends_build   port:py26-pyobjc2-cocoa
    3127
    3228post-destroot {
     
    3632    copy ${worksrcpath}/Examples \
    3733        ${destroot}${prefix}/share/doc/${name}/examples
     34    copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}
    3835}
    3936
    40 livecheck.type  none
     37livecheck.type  regex
     38livecheck.url   http://pypi.python.org/pypi/pyobjc-framework-Cocoa/
     39livecheck.regex {pyobjc-framework-Cocoa ([0-9.]+)}
  • trunk/dports/python/py26-pyobjc/Portfile

    r59665 r60894  
    66
    77name            py26-pyobjc
    8 version         1.4
     8version         2.2
    99categories      python devel
    1010license         MIT
     
    2121
    2222homepage        http://pyobjc.sourceforge.net/
    23 master_sites    ${homepage}software/ \
    24                 macports:py-pyobjc
    25 distname        pyobjc-${version}
    26 checksums       md5 c7ec904371aae5714a5a2a07a2c1edbc \
    27                 sha1 6f83b13b78e19f390709eaedf3004c81d983dc5d
     23master_sites    http://pypi.python.org/packages/source/p/pyobjc-core/
     24distname        pyobjc-core-${version}
     25checksums       md5 91155ec6b319c9b4b066a616dccbdaa2 \
     26                sha1 6e1fbfa5708eefaf7a36147daf21f0aab62ec1e4 \
     27                rmd160 a7063fe74ecc95b3105e78196e5b5adc3bba3d4a
    2828
    29 if {${os.major} > 8} {
    30     pre-fetch {
    31         return -code error "PyObjC 1.4 is for Mac OS X 10.4 and lower. On 10.5, use py26-pyobjc2 instead."
    32     }
    33 }
     29depends_lib     port:py26-setuptools \
     30                path:${python.pkgd}/py2app/__init__.py:py26-py2app
     31# just to avoid upgrade conflicts (sigh)
     32depends_build   port:py26-pyobjc2
    3433
    3534post-destroot {
    36     xinstall -m 644 -W ${worksrcpath} HISTORIC.txt Install.html Install.txt \
    37         License.txt NEWS.html NEWS.txt README.txt ReadMe.html \
     35    xinstall -m 644 -W ${worksrcpath} HISTORIC.txt Install.txt \
     36        License.txt NEWS.txt README.txt \
    3837        ${destroot}${prefix}/share/doc/${name}
    39     file copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}/html
    40     file delete ${destroot}${prefix}/share/doc/${name}/examples
    41     file copy ${worksrcpath}/Examples \
     38    copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}/html
     39    delete ${destroot}${prefix}/share/doc/${name}/examples
     40    copy ${worksrcpath}/Examples \
    4241        ${destroot}${prefix}/share/doc/${name}/examples
    4342}
    4443
    45 livecheck.type  none
     44livecheck.type  regex
     45livecheck.url   http://pypi.python.org/pypi/pyobjc-core/
     46livecheck.regex {pyobjc-core ([0-9.]+)}
  • trunk/dports/python/py26-pyobjc2-cocoa/Portfile

    r57646 r60894  
    33
    44PortSystem 1.0
    5 PortGroup python26 1.0
    65
    76name            py26-pyobjc2-cocoa
     7replaced_by     py26-pyobjc-cocoa
    88version         2.0
    9 revision        1
     9revision        2
    1010categories      python devel
    11 license         MIT
    12 maintainers     jmr openmaintainer
     11maintainers     nomaintainer
    1312platforms       darwin
    14 description     cocoa wrappers for py26-pyobjc2
    15 long_description    This port provides the CoreFoundation, Foundation and AppKit wrappers \
    16                     for use with py26-pyobjc2.
     13description     stub port, replaced by py26-pyobjc-cocoa
     14long_description    py26-pyobjc2-cocoa is now a stub, install \
     15                    py26-pyobjc-cocoa instead.
    1716
    1817homepage        http://pyobjc.sourceforge.net/
    1918
    20 depends_lib-append  port:py26-pyobjc2
    21 
    22 fetch.type      svn
    23 svn.url         http://svn.red-bean.com/pyobjc/tags/r200-leopard/pyobjc-framework-Cocoa/
    24 worksrcdir      pyobjc-framework-Cocoa
    25 
    26 if {${os.major} < 9} {
    27     pre-fetch {
    28         return -code error "PyObjC 2.0 requires Mac OS X 10.5"
    29     }
    30 }
    31 
    32 post-destroot {
    33     xinstall -m 644 -W ${worksrcpath} \
    34         LICENSE.txt README.txt \
    35         ${destroot}${prefix}/share/doc/${name}
    36     copy ${worksrcpath}/Examples \
    37         ${destroot}${prefix}/share/doc/${name}/examples
     19distfiles
     20use_configure   no
     21build           {}
     22destroot {
     23    xinstall -d ${destroot}${prefix}/share/doc/${name}
     24    system "echo $long_description > ${destroot}${prefix}/share/doc/${name}/readme.txt"
    3825}
    3926
  • trunk/dports/python/py26-pyobjc2/Portfile

    r58902 r60894  
    33
    44PortSystem 1.0
    5 PortGroup python26 1.0
    65
    76name            py26-pyobjc2
     7replaced_by     py26-pyobjc
    88version         2.0
    9 revision        1
     9revision        2
    1010categories      python devel
    11 license         MIT
    12 maintainers     jmr openmaintainer
     11maintainers     nomaintainer
    1312platforms       darwin
    14 description     bidirectional bridge between python and Objective C
    15 long_description    The PyObjC project aims to provide a bridge between \
    16                 the Python and Objective-C programming languages. The \
    17                 bridge is intended to be fully bidirectional, allowing \
    18                 the Python programmer to take full advantage of the \
    19                 power provided by various Objective-C based toolkits \
    20                 and the Objective-C programmer transparent access to \
    21                 Python based functionality.
     13description     stub port, replaced by py26-pyobjc
     14long_description    py26-pyobjc2 is now a stub, install py26-pyobjc instead.
    2215
    2316homepage        http://pyobjc.sourceforge.net/
    2417
    25 depends_lib-append  port:py26-setuptools \
    26                     path:${python.pkgd}/py2app/__init__.py:py26-py2app
    27 
    28 fetch.type      svn
    29 svn.url         http://svn.red-bean.com/pyobjc/tags/r200-leopard/pyobjc-core/
    30 worksrcdir      pyobjc-core
    31 
    32 patchfiles      patch-setup.py undef_snprintf.diff
    33 
    34 if {${os.major} < 9} {
    35     pre-fetch {
    36         return -code error "PyObjC 2.0 requires Mac OS X 10.5"
    37     }
    38 }
    39 
    40 post-destroot {
    41     xinstall -m 644 -W ${worksrcpath} HISTORIC.txt Install.html Install.txt \
    42         License.txt NEWS.html NEWS.txt ReadMe.txt ReadMe.html \
    43         ${destroot}${prefix}/share/doc/${name}
    44     copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}/html
    45     delete ${destroot}${prefix}/share/doc/${name}/examples
    46     copy ${worksrcpath}/Examples \
    47         ${destroot}${prefix}/share/doc/${name}/examples
     18distfiles
     19use_configure   no
     20build           {}
     21destroot {
     22    xinstall -d ${destroot}${prefix}/share/doc/${name}
     23    system "echo $long_description > ${destroot}${prefix}/share/doc/${name}/readme.txt"
    4824}
    4925
  • trunk/dports/python/py26-pyxg/Portfile

    r60822 r60894  
    2222checksums       md5 9611586e60cf872cf47281fd81ccb5e4
    2323
    24 depends_lib     port:py26-pyobjc2-cocoa
    25 
    26 platform darwin 8 {
    27                 depends_lib-delete port:py26-pyobjc2-cocoa
    28                 depends_lib-append port:py26-pyobjc
    29 }
     24depends_lib     port:py26-pyobjc-cocoa
    3025
    3126livecheck.url   ${master_sites}
Note: See TracChangeset for help on using the changeset viewer.