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

Last change on this file was 114324, checked in by ryandesign@…, 4 years ago

python ports: use eq and ne when comparing ${subport} instead of == and !=

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 114324 2013-12-05 08:44:51Z ryandesign@macports.org $
3
4PortSystem 1.0
5PortGroup python 1.0
6
7name                py-dispatcher
8version             2.0.1
9categories-append   devel
10license             BSD
11platforms           darwin
12supported_archs     noarch
13maintainers         dh openmaintainer
14description         python dispatcher mechanism for creating event models
15long_description    PyDispatcher provides the Python programmer with a \
16                    multiple-producer-multiple-consumer \
17                    signal-registration and routing infrastructure for use \
18                    in multiple contexts.
19
20homepage            http://pydispatcher.sourceforge.net/
21master_sites        sourceforge:pydispatcher
22distname            PyDispatcher-${version}
23checksums           md5     8b1695ed6f5bdbda8fbcde82b62d505c \
24                    sha1    1ad6f2feb48ff2ff53d23faacfcc00cc627b078b \
25                    rmd160  601836d7a6333043be8063f81e90573637cfd7e5
26
27python.versions     26
28
29if {${name} ne ${subport}} {
30    depends_build       port:py${python.version}-setuptools
31
32    test.run            yes
33    test.cmd            ${python.bin} tests/test.py
34    test.env            PYTHONPATH=${worksrcpath}/build/lib
35    test.target
36
37    post-destroot   {
38        file delete -force ${destroot}${prefix}/share/doc/${subport}
39        file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${subport}
40    }
41}
Note: See TracBrowser for help on using the repository browser.