Changeset 99006


Ignore:
Timestamp:
Oct 23, 2012, 4:38:17 PM (12 years ago)
Author:
jmr@…
Message:

py*-ruledispatch: unify

Location:
trunk/dports/python
Files:
1 deleted
1 edited

Legend:

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

    r78753 r99006  
    22
    33PortSystem                      1.0
    4 PortGroup                       python24 1.0
     4PortGroup                       python 1.0
    55
    66name                            py-ruledispatch
    77version                         0.5a0.dev-r2306
    88categories-append               devel
     9license                         {PSF ZPL}
    910maintainers                     akitada openmaintainer
    1011description                     Rule-based Dispatching and Generic Functions
     
    1314
    1415homepage                        http://www.turbogears.org/
    15 master_sites                    http://files.turbogears.org/eggs/
     16master_sites
     17dist_subdir                     python
    1618distname                        RuleDispatch-${version}
    1719
     
    1921                                sha1 009fe952a3d469d31a656083ef951a61efa52dd6 \
    2022                                rmd160 e109c1df8f164993c3236af60397d61029040259
    21 depends_lib                     port:py-pyprotocols
    2223
    23 post-destroot {
    24         xinstall -m 644 -W ${worksrcpath} \
    25                 TODO.txt ${destroot}${prefix}/share/doc/${name}
     24python.versions         24 25
     25
     26if {$subport != $name} {
     27        depends_lib                     port:py${python.version}-pyprotocols
     28
     29        post-destroot {
     30                xinstall -m 644 -W ${worksrcpath} \
     31                        TODO.txt ${destroot}${prefix}/share/doc/${subport}
     32        }
    2633}
Note: See TracChangeset for help on using the changeset viewer.