Changeset 99003


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

py*-decoratortools: unify

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

Legend:

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

    r83751 r99003  
    22
    33PortSystem                      1.0
    4 PortGroup                       python24 1.0
     4PortGroup                       python 1.0
    55
    66name                            py-decoratortools
     
    88revision                        2
    99categories-append               www
     10license                         {PSF ZPL}
    1011maintainers                     akitada openmaintainer
    1112description                     Class, Function, and Assignment Decorators, Metaclasses, \
     
    1314long_description                ${description}
    1415platforms                       darwin
     16supported_archs         noarch
    1517homepage                        http://cheeseshop.python.org/pypi/DecoratorTools
    1618master_sites                    http://cheeseshop.python.org/packages/source/D/DecoratorTools/
     
    2022                                sha1 2043250d06129ca71c47b26024f4800c47d4843a \
    2123                                rmd160 f605ef9ffd0cb6605a9b68442bdb20af2b69023b
    22 depends_lib                     port:py24-distribute
    23 post-destroot {
    24         xinstall -m 644 -W ${worksrcpath} \
    25                 README.txt ${destroot}${prefix}/share/doc/${name}
     24
     25python.versions         24 25 26
     26
     27if {$subport != $name} {
     28        depends_lib                     port:py${python.version}-distribute
     29        post-destroot {
     30                xinstall -m 644 -W ${worksrcpath} \
     31                        README.txt ${destroot}${prefix}/share/doc/${subport}
     32        }
    2633}
Note: See TracChangeset for help on using the changeset viewer.