Revision: 83366 http://trac.macports.org/changeset/83366 Author: stromnov@macports.org Date: 2011-08-30 06:02:11 -0700 (Tue, 30 Aug 2011) Log Message: ----------- py2*-zmq: unify Modified Paths: -------------- trunk/dports/python/py-zmq/Portfile Added Paths: ----------- trunk/dports/python/py-zmq/ Removed Paths: ------------- trunk/dports/python/py26-zmq/ trunk/dports/python/py27-zmq/ Modified: trunk/dports/python/py-zmq/Portfile =================================================================== --- trunk/dports/python/py26-zmq/Portfile 2011-08-30 12:11:20 UTC (rev 83365) +++ trunk/dports/python/py-zmq/Portfile 2011-08-30 13:02:11 UTC (rev 83366) @@ -1,35 +1,45 @@ -# -*- 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 +# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id$ -PortSystem 1.0 -PortGroup python26 1.0 +PortSystem 1.0 +PortGroup python 1.0 -name py26-zmq -version 2.1.7 -maintainers gmail.com:jrjsmrtn openmaintainer -categories python devel net -platforms darwin +name py-zmq +version 2.1.9 +revision 1 +categories python devel net +license LGPL +platforms darwin -description Python bindings for ØMQ -long_description PyZMQ is a lightweight and super-fast messaging library \ - built on top of the ZeroMQ library. +maintainers gmail.com:jrjsmrtn openmaintainer -homepage http://github.com/zeromq/pyzmq -master_sites http://pypi.python.org/packages/source/p/pyzmq/ -distname pyzmq-${version} +description Python bindings for ØMQ -checksums md5 aa4d7d81ad3c93dc1efd195153cb71ae \ - sha1 aac337efb9e3fa33a3fdfa288925ee1bc30a92f2 \ - rmd160 40d60bd47e7e4479b8a4d7e595d796b77edb14f2 +long_description PyZMQ is a lightweight and super-fast messaging library \ + built on top of the ZeroMQ library. -depends_lib-append port:zmq +homepage http://github.com/zeromq/pyzmq +master_sites http://pypi.python.org/packages/source/p/pyzmq/ -post-patch { - set setup_cfg ${worksrcpath}/setup.cfg - file copy ${worksrcpath}/setup.cfg.template ${setup_cfg} - reinplace "s|/usr/local|${prefix}|g" ${setup_cfg} +distname pyzmq-${version} + +checksums md5 44efd9e7dd041b9f779e3026d189f870 \ + sha1 986e05a89607e2a4f55f5efd2375cf72e840e5bb \ + rmd160 6bd0e0694a62e1ef339f1a5fb5ba073d778376fe + +python.default_version 27 +python.versions 26 27 + +if {$subport != $name} { + depends_lib port:zmq + + post-patch { + set setup_cfg ${worksrcpath}/setup.cfg + file copy ${worksrcpath}/setup.cfg.template ${setup_cfg} + reinplace "s|/usr/local|${prefix}|g" ${setup_cfg} + } } -livecheck.type regex -livecheck.url ${master_sites} -livecheck.regex "pyzmq-(\\d+(?:\\.\\d+)*)${extract.suffix}" +livecheck.type regex +livecheck.url ${master_sites} +livecheck.regex "pyzmq-(\\d+(?:\\.\\d+)*)${extract.suffix}"
participants (1)
-
stromnov@macports.org