New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82490


Ignore:
Timestamp:
08/14/11 09:31:44 (4 years ago)
Author:
ram@…
Message:

python/py{31,32}-dateutil: new port

Location:
trunk/dports/python
Files:
2 edited
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py31-dateutil/Portfile

    r82458 r82490  
    33 
    44PortSystem        1.0 
    5 PortGroup         python 1.0 
     5PortGroup         python31 1.0 
    66 
    7 name              py-dateutil 
     7name              py31-dateutil 
    88set my_name       python-dateutil 
    9 version           1.5 
    10 revision          1 
     9version           2.0 
    1110categories        python 
    1211platforms         darwin 
    1312supported_archs   noarch 
    14 maintainers       dh ram openmaintainer 
     13maintainers       ram openmaintainer 
    1514 
    1615description       powerful extensions to the standard python datetime module 
     
    2524                  rmd160 5f7c80ec9bf68f1708213596a994130964e91e52 
    2625 
    27 python.versions   24 25 26 27 
    28  
    29 if {${subport} == "py24-dateutil"} { 
    30     depends_run   port:py-tz \ 
    31                   port:py-setuptools 
    32 } elseif {${subport} != ${name}} { 
    33     depends_run   port:py${python.version}-tz \ 
    34                   port:py${python.version}-distribute 
    35 } 
     26depends_run       port:py31-tz \ 
     27                  port:py31-distribute 
    3628 
    3729test.run          yes 
     
    4133 
    4234post-destroot { 
    43   if {${name} != ${subport}} { 
    44   set docdir ${prefix}/share/doc/${subport} 
     35  set docdir ${prefix}/share/doc/${name} 
    4536  xinstall -d ${destroot}${docdir} 
    4637  xinstall -m 0644 -W ${worksrcpath} LICENSE README NEWS ${destroot}${docdir} 
    47   } 
    4838} 
    4939 
    5040livecheck.type    regex 
    51 livecheck.regex   /${my_name}-(1.(\\d+)*) 
     41livecheck.regex   /${my_name}-(\\d+(?:\\.\\d+)*) 
  • trunk/dports/python/py32-dateutil/Portfile

    r82458 r82490  
    33 
    44PortSystem        1.0 
    5 PortGroup         python 1.0 
     5PortGroup         python32 1.0 
    66 
    7 name              py-dateutil 
     7name              py32-dateutil 
    88set my_name       python-dateutil 
    9 version           1.5 
    10 revision          1 
     9version           2.0 
    1110categories        python 
    1211platforms         darwin 
    1312supported_archs   noarch 
    14 maintainers       dh ram openmaintainer 
     13maintainers       ram openmaintainer 
    1514 
    1615description       powerful extensions to the standard python datetime module 
     
    2524                  rmd160 5f7c80ec9bf68f1708213596a994130964e91e52 
    2625 
    27 python.versions   24 25 26 27 
    28  
    29 if {${subport} == "py24-dateutil"} { 
    30     depends_run   port:py-tz \ 
    31                   port:py-setuptools 
    32 } elseif {${subport} != ${name}} { 
    33     depends_run   port:py${python.version}-tz \ 
    34                   port:py${python.version}-distribute 
    35 } 
     26depends_run       port:py32-tz \ 
     27                  port:py32-distribute 
    3628 
    3729test.run          yes 
     
    4133 
    4234post-destroot { 
    43   if {${name} != ${subport}} { 
    44   set docdir ${prefix}/share/doc/${subport} 
     35  set docdir ${prefix}/share/doc/${name} 
    4536  xinstall -d ${destroot}${docdir} 
    4637  xinstall -m 0644 -W ${worksrcpath} LICENSE README NEWS ${destroot}${docdir} 
    47   } 
    4838} 
    4939 
    5040livecheck.type    regex 
    51 livecheck.regex   /${my_name}-(1.(\\d+)*) 
     41livecheck.regex   /${my_name}-(\\d+(?:\\.\\d+)*) 
Note: See TracChangeset for help on using the changeset viewer.