source: trunk/dports/python/py-zope-event/Portfile

Last change on this file was 153108, checked in by mcalhoun@…, 14 months ago

py-zope-event: add mode line

  • 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:et:sw=4:ts=4:sts=4
2# $Id: Portfile 153108 2016-09-24 23:09:51Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-zope-event
8set real_name       zope.event
9version             4.2.0
10python.versions     27 34 35
11maintainers         nomaintainer
12platforms           darwin
13description         Very basic event publishing system
14license             ZPL-2.1
15
16long_description \
17    The zope.event package provides a simple event system, including an \
18    event publishing API, intended for use by applications which are unaware of \
19    any subscribers to their events, and a very simple event-dispatching system \
20    on which more sophisticated event dispatching systems can be built.
21
22categories-append   zope
23
24homepage            http://pypi.python.org/pypi/${real_name}
25master_sites        pypi:z/${real_name}
26distname            ${real_name}-${version}
27
28checksums           rmd160  230e4888c5bfd3e9da0936372a9257d86018322a \
29                    sha256  ce11004217863a4827ea1a67a31730bddab9073832bdb3b9be85869259118758
30
31if {${name} ne ${subport}} {
32    depends_build       port:py${python.version}-setuptools
33
34    variant tests description {Add dependencies needed to run tests} {
35        test.run        yes
36        depends_build   port:py${python.version}-nose
37        test.cmd        nosetests-${python.branch}
38        test.target
39    }
40} else {
41    livecheck.type      regex
42    livecheck.regex     ${real_name}-(\[0-9.\]+)${extract.suffix}
43}
Note: See TracBrowser for help on using the repository browser.