Revision: 104684 https://trac.macports.org/changeset/104684 Author: stromnov@macports.org Date: 2013-03-31 07:22:14 -0700 (Sun, 31 Mar 2013) Log Message: ----------- py-torndb: new port Added Paths: ----------- trunk/dports/python/py-torndb/ trunk/dports/python/py-torndb/Portfile Added: trunk/dports/python/py-torndb/Portfile =================================================================== --- trunk/dports/python/py-torndb/Portfile (rev 0) +++ trunk/dports/python/py-torndb/Portfile 2013-03-31 14:22:14 UTC (rev 104684) @@ -0,0 +1,41 @@ +# -*- 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 +# $Id$ + +PortSystem 1.0 +PortGroup python 1.0 + +name py-torndb +version 0.1 +revision 0 +categories-append www +platforms darwin +license Apache-2 +supported_archs noarch + +python.versions 25 26 27 + +maintainers stromnov openmaintainer + +description A lightweight wrapper around MySQLdb. + +long_description A lightweight wrapper around MySQLdb. \ + Originally part of the Tornado framework. + +homepage https://github.com/bdarnell/torndb +master_sites https://pypi.python.org/packages/source/t/torndb/ + +distname torndb-${version} + +checksums rmd160 b8cfda68c0b594462f49c634bd7d481a17e4cb83 \ + sha256 e68eb595112601be08a39ec60b7af312cee843fb1d9bb2bf73169d9c4f5e14e4 + +if {$subport != $name} { + depends_build-append port:py${python.version}-distribute + depends_lib-append port:py${python.version}-mysql + + livecheck.type none +} else { + livecheck.type regex + livecheck.url ${master_sites} + livecheck.regex "torndb-(\\d+(?:\\.\\d+)*)${extract.suffix}" +} Property changes on: trunk/dports/python/py-torndb/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native