mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
70 lines
2.6 KiB
Tcl
70 lines
2.6 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 mycli
|
|
version 1.31.2
|
|
revision 0
|
|
|
|
categories databases python
|
|
maintainers nomaintainer
|
|
license BSD
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
description A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting
|
|
long_description {*}${description}
|
|
|
|
homepage https://mycli.net
|
|
|
|
checksums rmd160 d5f8f55e7b39839df9d0c76e6fcd1cedd0a5a895 \
|
|
sha256 6f4929da427fb724d07e197428e32e0f93b2a45beb2308c81fc3e8384583d72b \
|
|
size 295447
|
|
|
|
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_build-append \
|
|
port:py${python.version}-setuptools_scm
|
|
|
|
depends_lib-append port:py${python.version}-cli-helpers \
|
|
port:py${python.version}-click \
|
|
port:py${python.version}-configobj \
|
|
port:py${python.version}-cryptography \
|
|
port:py${python.version}-paramiko \
|
|
port:py${python.version}-prompt_toolkit \
|
|
port:py${python.version}-pygments \
|
|
port:py${python.version}-pymysql \
|
|
port:py${python.version}-pyperclip \
|
|
port:py${python.version}-sqlglot \
|
|
port:py${python.version}-sqlparse \
|
|
port:py${python.version}-pyaes \
|
|
port:py${python.version}-pyfzf
|
|
|
|
test.run yes
|
|
python.test_framework
|
|
test.env-append PYTHONPATH=${worksrcpath}/build/lib
|
|
test.cmd ${python.bin}
|
|
test.pre_args -m ${name}.main
|
|
test.args --version
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} changelog.md README.md \
|
|
LICENSE.txt CONTRIBUTING.md AUTHORS.rst ${destroot}${docdir}
|
|
}
|