You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
58 lines
2.2 KiB
Tcl
58 lines
2.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
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
name pgcli
|
|
version 4.3.0
|
|
revision 0
|
|
|
|
categories databases python
|
|
maintainers nomaintainer
|
|
license BSD
|
|
platforms {darwin any}
|
|
supported_archs noarch
|
|
description Postgres CLI with autocompletion and syntax highlighting
|
|
long_description {*}${description}
|
|
|
|
homepage https://pgcli.com
|
|
|
|
checksums rmd160 f31cb46705e3bac21f576823ee5d54a35ad9d1ab \
|
|
sha256 765ae1550c5508a481f19f16a99716c253fe91afb255797add2d635da20b6aef \
|
|
size 147254
|
|
|
|
variant python310 conflicts python311 python312 python313 description "Use Python 3.10" {}
|
|
variant python311 conflicts python310 python312 python313 description "Use Python 3.11" {}
|
|
variant python312 conflicts python310 python311 python313 description "Use Python 3.12" {}
|
|
variant python313 conflicts python310 python311 python312 description "Use Python 3.13" {}
|
|
|
|
if {[variant_isset python310]} {
|
|
python.default_version 310
|
|
} elseif {[variant_isset python311]} {
|
|
python.default_version 311
|
|
} elseif {[variant_isset python312]} {
|
|
python.default_version 312
|
|
} else {
|
|
default_variants +python313
|
|
python.default_version 313
|
|
}
|
|
|
|
depends_lib-append port:py${python.version}-cli-helpers \
|
|
port:py${python.version}-click \
|
|
port:py${python.version}-configobj \
|
|
port:py${python.version}-keyring \
|
|
port:py${python.version}-pgspecial \
|
|
port:py${python.version}-prompt_toolkit \
|
|
port:py${python.version}-psycopg \
|
|
port:py${python.version}-pygments \
|
|
port:py${python.version}-setproctitle \
|
|
port:py${python.version}-sqlparse \
|
|
port:py${python.version}-tzlocal
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} changelog.rst README.rst \
|
|
LICENSE.txt ${destroot}${docdir}
|
|
}
|