You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
76e5b347e1
In preparation for changing the default.
61 lines
2.4 KiB
Tcl
61 lines
2.4 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
|
|
PortGroup github 1.0
|
|
|
|
github.setup dbcli pgcli 4.0.1 v
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
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 ed97b705d3065229e6634c5acc2cc25b65f81158 \
|
|
sha256 9def4992f787f126857c9b40f962d4a725b8b10df5680fd2f190d76766782848 \
|
|
size 646454
|
|
|
|
variant python38 conflicts python39 python310 python311 description "Use Python 3.8" {}
|
|
variant python39 conflicts python38 python310 python311 description "Use Python 3.9" {}
|
|
variant python310 conflicts python38 python39 python311 description "Use Python 3.10" {}
|
|
variant python311 conflicts python38 python39 python310 description "Use Python 3.11" {}
|
|
|
|
if {[variant_isset python38]} {
|
|
python.default_version 38
|
|
} elseif {[variant_isset python39]} {
|
|
python.default_version 39
|
|
} elseif {[variant_isset python310]} {
|
|
python.default_version 310
|
|
} else {
|
|
default_variants +python311
|
|
python.default_version 311
|
|
}
|
|
|
|
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}-pendulum \
|
|
port:py${python.version}-prompt_toolkit \
|
|
port:py${python.version}-psycopg \
|
|
port:py${python.version}-pygments \
|
|
port:py${python.version}-setuptools \
|
|
port:py${python.version}-setproctitle \
|
|
port:py${python.version}-sqlparse
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} changelog.rst README.rst \
|
|
LICENSE.txt DEVELOP.rst AUTHORS ${destroot}${docdir}
|
|
}
|