Changeset 98326


Ignore:
Timestamp:
Oct 3, 2012, 1:16:55 AM (12 years ago)
Author:
blair@…
Message:

py-fpconst: move from a Python 2.4 only to a Python 2.x port.

File:
1 edited

Legend:

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

    r98325 r98326  
    22
    33PortSystem 1.0
    4 PortGroup       python24 1.0
     4PortGroup       python 1.0
    55
    66name            py-fpconst
    77version         0.7.2
    8 revision        1
     8revision        2
    99license         Apache-2
    1010platforms       darwin freebsd
     
    2626checksums       md5 10ba9e04129af23108d24c22c3a698b1
    2727
    28 post-destroot {
    29     xinstall -m 644 -W ${worksrcpath} README \
    30         ${destroot}${prefix}/share/doc/${name}
     28python.versions 24 25 26 27
     29
     30if {$subport != $name} {
     31    post-destroot {
     32        xinstall -m 644 -W ${worksrcpath} README \
     33            ${destroot}${prefix}/share/doc/${subport}
     34    }
     35} else {
     36    livecheck.type  regex
     37    livecheck.url   http://cheeseshop.python.org/pypi/fpconst/
     38    livecheck.regex fpconst-(\[0-9\.\]+).tar.gz
    3139}
    32                
    33 livecheck.type  regex
    34 livecheck.url   http://cheeseshop.python.org/pypi/fpconst/
    35 livecheck.regex fpconst-(\[0-9\.\]+).tar.gz
Note: See TracChangeset for help on using the changeset viewer.