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

Last change on this file was 154174, checked in by stromnov@…, 7 weeks ago

py-zmq: update to version 16.0.0

  • 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 154174 2016-10-23 14:12:25Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-zmq
8version             16.0.0
9revision            0
10categories-append   devel net
11platforms           darwin
12license             LGPL
13
14python.versions     26 27 33 34 35
15
16maintainers         gmail.com:jrjsmrtn openmaintainer
17
18description         Python bindings for 0MQ
19
20long_description    PyZMQ is a lightweight and super-fast messaging library \
21                    built on top of the ZeroMQ library.
22
23homepage            http://github.com/zeromq/pyzmq
24master_sites        pypi:p/pyzmq
25
26distname            pyzmq-${version}
27
28checksums           rmd160  d96f14d23008ab7fde7cbd4a48c0abd2ac486b56 \
29                    sha256  712000cc23e3845936d22b6085be40679fd38d789a3d20836be191b8a86f15a7
30
31if {${name} ne ${subport}} {
32
33    if {[lsearch {26 33} ${python.version}] != -1} {
34        version             14.7.0
35        revision            1
36        distname            pyzmq-${version}
37        checksums           rmd160  4adc0c6bc955456ba2eaeecc4d5d16614bef643a \
38                            sha256  77994f80360488e7153e64e5959dc5471531d1648e3a4bff14a714d074a38cc2
39    }
40
41    depends_lib-append     path:lib/libzmq.dylib:zmq
42
43    post-patch {
44        set setup_cfg ${worksrcpath}/setup.cfg
45        file copy ${worksrcpath}/setup.cfg.template ${setup_cfg}
46        reinplace "s|/usr/local|${prefix}|g" ${setup_cfg}
47    }
48
49    livecheck.type      none
50} else {
51    livecheck.name      pyzmq
52    livecheck.type      pypi
53}
Note: See TracBrowser for help on using the repository browser.