source: trunk/dports/python/py-pyprotocols/Portfile

Last change on this file was 130385, checked in by larryv@…, 3 years ago

py{24,25,26}-pyprotocols: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 130385 2014-12-30 05:20:53Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-pyprotocols
8version             1.0a0dev-r2302
9revision            1
10categories-append   devel
11platforms           darwin
12license             {PSF ZPL}
13maintainers         nomaintainer
14
15description         Protocol Definition, Declaration, and Adaptation
16long_description    PyProtocols extends the PEP 246 adapt() function \
17                    with a new "declaration API" that lets you easily \
18                    define your own interfaces and adapters, and \
19                    declare what adapters should be used to adapt\
20                    what types, objects, or interfaces.
21homepage            http://www.turbogears.org/
22
23master_sites
24dist_subdir         python
25distname            PyProtocols-${version}
26use_zip             yes
27
28checksums           md5     04ab0051ceb961919607b025a92671f7 \
29                    sha1    cb6925bb3186de87ff51ba194379d705d4ce9ec9 \
30                    rmd160  580e78b65e819a3d74824fe6d9c32212749ae31e
31
32python.versions     27
33
34if {${name} ne ${subport}} {
35    depends_lib     port:py${python.version}-decoratortools
36
37    post-destroot {
38        delete ${destroot}${prefix}/share/doc/${subport}
39        copy ${worksrcpath}/docs/ref \
40            ${destroot}${prefix}/share/doc/${subport}
41        xinstall -m 644 -W ${worksrcpath} \
42            CHANGES.txt README.txt TODO.txt UPGRADING.txt \
43            ${destroot}${prefix}/share/doc/${subport}
44    }
45}
Note: See TracBrowser for help on using the repository browser.