Ticket #42653: patch-py_construct-2.51-Portfile.2.diff

File patch-py_construct-2.51-Portfile.2.diff, 1.9 KB (added by jul_bsd@…, 11 years ago)
  • Portfile-py-construct-2.

    old new  
    44PortGroup python 1.0
    55
    66name                            py-construct
    7 version                         2.00
     7version                         2.5.1
    88platforms                       darwin
    99supported_archs         noarch
    10 maintainers                     macfreek.nl:software dckd.nl:macports openmaintainer
     10maintainers                     dckd.nl:macports openmaintainer
    1111description                     python module for parsing and building binary or textual data structures
    1212long_description        Construct is a python library for parsing and building of data structures \
    1313                                        (binary or textual). It is based on the concept of defining data \
    1414                                        structures in a declarative manner, rather than procedural code: more \
    1515                                        complex constructs are composed of a hierarchy of simpler ones.
    1616
    17 homepage                        http://construct.wikispaces.com/
    18 master_sites            sourceforge:pyconstruct
    19 distname                        construct-${version}-distro
    20 checksums                       md5 ac374c2fdf6a9351468ad8c149584cf3 \
    21                     sha1 ff1e2f7b90f994f037ac22e490a881bc96e47d30
     17homepage                        http://construct.readthedocs.org/en/latest/
     18distname            construct-${version}
     19master_sites            https://pypi.python.org/packages/source/c/construct/
    2220
    23 python.versions         24 25
     21checksums           rmd160  977d5b3e79631725de5b56566ca49882c5ce7253 \
     22                    sha256  9d123b2590a5645385cf881f25960a2e2a262337e4697dfdbcac4b4496da44b3
     23
     24python.versions         25 26 27 31 32 33 34
    2425
    2526subport py24-construct {
    2627    # we download the 2.00-py24 "backport" version, since that is backward compatible in
     
    3132
    3233if {${name} ne ${subport}} {
    3334    use_zip                             yes
    34 
    35     worksrcdir                  construct
    36 
    37     # nothing to build
    38     build                               {}
    39 
    40     destroot {
    41         xinstall -d ${destroot}${python.pkgd}
    42         file copy ${workpath}/construct ${destroot}${python.pkgd}
    43     }
     35    depends_lib-append  port:py${python.version}-six
    4436}