Files
macports-ports/python/py-sqlparse/Portfile
T
2024-11-27 19:15:14 +01:00

55 lines
1.8 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
PortSystem 1.0
PortGroup python 1.0
name py-sqlparse
version 0.5.1
revision 0
license BSD
platforms {darwin any}
supported_archs noarch
maintainers nomaintainer
description Non-validating SQL parser
long_description {*}${description} that provides support for parsing, splitting \
and formatting SQL statements.
python.versions 27 35 36 37 38 39 310 311 312 313
python.pep517 yes
python.pep517_backend \
hatch
categories-append textproc
homepage https://pypi.python.org/pypi/${python.rootname}/
checksums rmd160 ab66507d5326afd89ac80d04efe463774979755f \
sha256 bb6b4df465655ef332548e24f08e205afc81b9ab86cb1c45657a7ff173a3a00e \
size 84502
if {${name} ne ${subport}} {
if {${python.version} eq 27} {
version 0.3.1
revision 0
checksums rmd160 b1a910193d4fd22679d0aea5c846a9a13e84ebef \
sha256 e162203737712307dfe78860cc56c8da8a852ab2ee33750e33aeadf38d12c548 \
size 67572
python.pep517 no
} elseif {${python.version} eq 35} {
version 0.4.3
revision 0
checksums rmd160 f095d90fcd2f2d7f343941ffe42c96d7ccfadbc8 \
sha256 69ca804846bb114d2ec380e4360a8a340db83f0ccf3afceeb1404df028f57268 \
size 70771
python.pep517 no
}
depends_build-append \
port:py${python.version}-setuptools
test.run yes
livecheck.type none
}