Files
macports-ports/python/py-sqlparse/Portfile
T
2015-09-12 00:40:33 +00:00

35 lines
1.2 KiB
Tcl

# -*- 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-sqlparse
version 0.1.16
python.versions 27
categories-append textproc
license BSD
platforms darwin
supported_archs noarch
maintainers nomaintainer
description Non-validating SQL parser
long_description \
${description} that provides support for parsing, splitting and \
formatting SQL statements.
homepage https://pypi.python.org/pypi/sqlparse/
master_sites https://pypi.python.org/packages/source/s/sqlparse/
distname sqlparse-${version}
checksums md5 370962a307ebaaa70a28b6b0ccb53980 \
rmd160 02112a55638ec9d1a05d089f5740b4ac6b756328 \
sha256 678c6c36ca4b01405177da8b84eecf92ec92c9f6c762396c965bb5d305f20f81
if {${name} ne ${subport}} {
livecheck.type none
} else {
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex "sqlparse (\\d+\\.\\d+(?:\\.\\d+))"
}