Ticket #37222: 5.patch

File 5.patch, 6.3 KB (added by seanfarley (Sean Farley), 12 years ago)

py-pyobjc-cocoa: consolidate into one portfile

  • new file dports/python/py-pyobjc-cocoa/Portfile

    # HG changeset patch
    # User Sean Farley <sean.michael.farley@gmail.com>
    # Date 1354587614 21600
    # Node ID 28cc291acd987d10037be54b6589e25837c3ea18
    # Parent  6d26c6f5d05b07b7a7445d1d9e341d6a5ca819b3
    py-pyobjc-cocoa: consolidate into one portfile
    
    diff --git a/dports/python/py-pyobjc-cocoa/Portfile b/dports/python/py-pyobjc-cocoa/Portfile
    new file mode 100644
    - +  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
     2# $Id$
     3
     4PortSystem 1.0
     5PortGroup python27 1.0
     6
     7name            py27-pyobjc-cocoa
     8version         2.3
     9categories      python devel
     10license         MIT
     11maintainers     nomaintainer
     12platforms       darwin
     13description     cocoa wrappers for py27-pyobjc
     14long_description    This port provides the CoreFoundation, Foundation and \
     15                    AppKit wrappers for use with py27-pyobjc.
     16
     17homepage        http://pyobjc.sourceforge.net/
     18master_sites    http://pypi.python.org/packages/source/p/pyobjc-framework-Cocoa/
     19distname        pyobjc-framework-Cocoa-${version}
     20
     21checksums       sha1    fa51fafac47f8b0bbbeb8ccad3b43f9d2e91037c \
     22                rmd160  0f88ab283461d642716e29e62cb67fd0f3dfc173
     23
     24depends_lib     port:py27-pyobjc
     25
     26post-destroot {
     27    xinstall -m 644 -W ${worksrcpath} \
     28        LICENSE.txt README.txt \
     29        ${destroot}${prefix}/share/doc/${name}
     30    copy ${worksrcpath}/Examples \
     31        ${destroot}${prefix}/share/doc/${name}/examples
     32    copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}
     33}
     34
     35livecheck.type  regex
     36livecheck.url   http://pypi.python.org/pypi/pyobjc-framework-Cocoa/
     37livecheck.regex {pyobjc-framework-Cocoa ([0-9.]+)}
  • deleted file dports/python/py25-pyobjc-cocoa/Portfile

    diff --git a/dports/python/py25-pyobjc-cocoa/Portfile b/dports/python/py25-pyobjc-cocoa/Portfile
    deleted file mode 100644
    + -  
    1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    2 # $Id$
    3 
    4 PortSystem 1.0
    5 PortGroup python25 1.0
    6 
    7 name            py25-pyobjc-cocoa
    8 version         2.2
    9 categories      python devel
    10 license         MIT
    11 maintainers     nomaintainer
    12 platforms       darwin
    13 description     cocoa wrappers for py25-pyobjc
    14 long_description    This port provides the CoreFoundation, Foundation and \
    15                     AppKit wrappers for use with py25-pyobjc.
    16 
    17 homepage        http://pyobjc.sourceforge.net/
    18 master_sites    http://pypi.python.org/packages/source/p/pyobjc-framework-Cocoa/
    19 distname        pyobjc-framework-Cocoa-${version}
    20 checksums       md5 324185e6699b59d1ce85b5020e8f83e5 \
    21                 sha1 b6c224065096cb2389660e19f0a757d0289031a8 \
    22                 rmd160 c8ebb071a0d04188106c9698f117d655325367f9
    23 
    24 depends_lib     port:py25-pyobjc
    25 
    26 post-destroot {
    27     xinstall -m 644 -W ${worksrcpath} \
    28         LICENSE.txt README.txt \
    29         ${destroot}${prefix}/share/doc/${name}
    30     copy ${worksrcpath}/Examples \
    31         ${destroot}${prefix}/share/doc/${name}/examples
    32     copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}
    33 }
    34 
    35 # 2.3 only supports python >= 2.6
    36 livecheck.type  none
  • deleted file dports/python/py26-pyobjc-cocoa/Portfile

    diff --git a/dports/python/py26-pyobjc-cocoa/Portfile b/dports/python/py26-pyobjc-cocoa/Portfile
    deleted file mode 100644
    + -  
    1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    2 # $Id$
    3 
    4 PortSystem 1.0
    5 PortGroup python26 1.0
    6 
    7 name            py26-pyobjc-cocoa
    8 version         2.3
    9 categories      python devel
    10 license         MIT
    11 maintainers     nomaintainer
    12 platforms       darwin
    13 description     cocoa wrappers for py26-pyobjc
    14 long_description    This port provides the CoreFoundation, Foundation and \
    15                     AppKit wrappers for use with py26-pyobjc.
    16 
    17 homepage        http://pyobjc.sourceforge.net/
    18 master_sites    http://pypi.python.org/packages/source/p/pyobjc-framework-Cocoa/
    19 distname        pyobjc-framework-Cocoa-${version}
    20 checksums       md5 943f884dda6b50e6b3b0315e4187157d \
    21                 sha1 fa51fafac47f8b0bbbeb8ccad3b43f9d2e91037c \
    22                 rmd160 0f88ab283461d642716e29e62cb67fd0f3dfc173
    23 
    24 depends_lib     port:py26-pyobjc
    25 
    26 post-destroot {
    27     xinstall -m 644 -W ${worksrcpath} \
    28         LICENSE.txt README.txt \
    29         ${destroot}${prefix}/share/doc/${name}
    30     copy ${worksrcpath}/Examples \
    31         ${destroot}${prefix}/share/doc/${name}/examples
    32     copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}
    33 }
    34 
    35 livecheck.type  regex
    36 livecheck.url   http://pypi.python.org/pypi/pyobjc-framework-Cocoa/
    37 livecheck.regex {pyobjc-framework-Cocoa ([0-9.]+)}
  • deleted file dports/python/py27-pyobjc-cocoa/Portfile

    diff --git a/dports/python/py27-pyobjc-cocoa/Portfile b/dports/python/py27-pyobjc-cocoa/Portfile
    deleted file mode 100644
    + -  
    1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    2 # $Id$
    3 
    4 PortSystem 1.0
    5 PortGroup python27 1.0
    6 
    7 name            py27-pyobjc-cocoa
    8 version         2.3
    9 categories      python devel
    10 license         MIT
    11 maintainers     nomaintainer
    12 platforms       darwin
    13 description     cocoa wrappers for py27-pyobjc
    14 long_description    This port provides the CoreFoundation, Foundation and \
    15                     AppKit wrappers for use with py27-pyobjc.
    16 
    17 homepage        http://pyobjc.sourceforge.net/
    18 master_sites    http://pypi.python.org/packages/source/p/pyobjc-framework-Cocoa/
    19 distname        pyobjc-framework-Cocoa-${version}
    20 
    21 checksums       sha1    fa51fafac47f8b0bbbeb8ccad3b43f9d2e91037c \
    22                 rmd160  0f88ab283461d642716e29e62cb67fd0f3dfc173
    23 
    24 depends_lib     port:py27-pyobjc
    25 
    26 post-destroot {
    27     xinstall -m 644 -W ${worksrcpath} \
    28         LICENSE.txt README.txt \
    29         ${destroot}${prefix}/share/doc/${name}
    30     copy ${worksrcpath}/Examples \
    31         ${destroot}${prefix}/share/doc/${name}/examples
    32     copy ${worksrcpath}/Doc ${destroot}${prefix}/share/doc/${name}
    33 }
    34 
    35 livecheck.type  regex
    36 livecheck.url   http://pypi.python.org/pypi/pyobjc-framework-Cocoa/
    37 livecheck.regex {pyobjc-framework-Cocoa ([0-9.]+)}