source: trunk/dports/python/py-torndb/Portfile @ 104684

Last change on this file since 104684 was 104684, checked in by stromnov@…, 6 years ago

py-torndb: new port

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 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 104684 2013-03-31 14:22:14Z stromnov@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-torndb
8version             0.1
9revision            0
10categories-append   www
11platforms           darwin
12license             Apache-2
13supported_archs     noarch
14
15python.versions     25 26 27
16
17maintainers         stromnov openmaintainer
18
19description         A lightweight wrapper around MySQLdb.
20
21long_description    A lightweight wrapper around MySQLdb. \
22                    Originally part of the Tornado framework.
23
24homepage            https://github.com/bdarnell/torndb
25master_sites        https://pypi.python.org/packages/source/t/torndb/
26
27distname            torndb-${version}
28
29checksums           rmd160  b8cfda68c0b594462f49c634bd7d481a17e4cb83 \
30                    sha256  e68eb595112601be08a39ec60b7af312cee843fb1d9bb2bf73169d9c4f5e14e4
31
32if {$subport != $name} {
33    depends_build-append    port:py${python.version}-distribute
34    depends_lib-append      port:py${python.version}-mysql
35
36    livecheck.type          none
37} else {
38    livecheck.type          regex
39    livecheck.url           ${master_sites}
40    livecheck.regex         "torndb-(\\d+(?:\\.\\d+)*)${extract.suffix}"
41}
Note: See TracBrowser for help on using the repository browser.