Ticket #47399: py-sqlparse.diff

File py-sqlparse.diff, 1.6 KB (added by xeron (Ivan Larionov), 9 years ago)
  • Portfile

     
    11# $Id$
    22# -*- 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
    33
    4 PortSystem 1.0
    5 PortGroup python 1.0
     4PortSystem          1.0
     5PortGroup           python 1.0
    66
    77name                py-sqlparse
    8 version             0.1.3
     8version             0.1.14
    99python.versions     27
     10python.default_version 27
    1011categories-append   textproc
    1112license             BSD
    1213platforms           darwin
     
    1617long_description    \
    1718    ${description} that provides support for parsing, splitting and \
    1819    formatting SQL statements.
    19 homepage            http://code.google.com/p/python-sqlparse/
    20 master_sites        googlecode:python-sqlparse
     20
     21homepage            https://pypi.python.org/pypi/sqlparse/
     22master_sites        https://pypi.python.org/packages/source/s/sqlparse/
    2123distname            sqlparse-${version}
    2224
    23 checksums           rmd160  9ce60ec45edb24390f5fd1d69cd28adaa4da5549 \
    24                     sha256  5f870d293ecdaba8baace52536dd9a34884ed3775990c058ecfd1d23499d7e63
     25checksums           md5     d59da626d247d46196097c5bece677e7 \
     26                    rmd160  d159549be95372f4ccfff9067d6a953883eda2d9 \
     27                    sha256  e561e31853ab9f3634a1a2bd53035f9e47dfb203d56b33cc6569047ba087daf0
     28
     29if {${name} ne ${subport}} {
     30    livecheck.type      none
     31} else {
     32    livecheck.type      regex
     33    livecheck.url       ${homepage}
     34    livecheck.regex     "sqlparse (\\d+\\.\\d+(?:\\.\\d+))"
     35}