2016-11-02 21:36:55 -07:00
|
|
|
# -*- 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
|
2015-11-20 22:04:19 +00:00
|
|
|
|
|
|
|
|
PortSystem 1.0
|
|
|
|
|
PortGroup python 1.0
|
|
|
|
|
|
2025-05-22 10:49:50 -04:00
|
|
|
name mycli
|
|
|
|
|
version 1.31.2
|
2019-03-11 09:50:42 -04:00
|
|
|
revision 0
|
2015-11-20 22:04:19 +00:00
|
|
|
|
2016-11-02 21:36:55 -07:00
|
|
|
categories databases python
|
2023-09-03 09:09:03 -07:00
|
|
|
maintainers nomaintainer
|
2015-11-20 22:04:19 +00:00
|
|
|
license BSD
|
2016-11-02 21:36:55 -07:00
|
|
|
supported_archs noarch
|
2022-12-01 13:16:27 +11:00
|
|
|
platforms {darwin any}
|
2015-11-20 22:04:19 +00:00
|
|
|
description A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting
|
2020-01-13 17:19:02 +11:00
|
|
|
long_description {*}${description}
|
2015-11-20 22:04:19 +00:00
|
|
|
|
2019-03-11 09:50:42 -04:00
|
|
|
homepage https://mycli.net
|
2015-11-20 22:04:19 +00:00
|
|
|
|
2025-05-22 10:49:50 -04:00
|
|
|
checksums rmd160 d5f8f55e7b39839df9d0c76e6fcd1cedd0a5a895 \
|
|
|
|
|
sha256 6f4929da427fb724d07e197428e32e0f93b2a45beb2308c81fc3e8384583d72b \
|
|
|
|
|
size 295447
|
2017-01-07 12:19:29 -08:00
|
|
|
|
2025-11-04 12:19:17 -05:00
|
|
|
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" {}
|
2016-11-02 21:36:55 -07:00
|
|
|
|
2025-11-04 12:19:17 -05:00
|
|
|
if {[variant_isset python310]} {
|
2022-01-26 23:44:08 -08:00
|
|
|
python.default_version 310
|
2025-05-22 10:49:50 -04:00
|
|
|
} elseif {[variant_isset python311]} {
|
|
|
|
|
python.default_version 311
|
|
|
|
|
} elseif {[variant_isset python312]} {
|
|
|
|
|
python.default_version 312
|
|
|
|
|
} else {
|
|
|
|
|
default_variants +python313
|
|
|
|
|
python.default_version 313
|
2019-03-11 09:50:42 -04:00
|
|
|
}
|
|
|
|
|
|
2025-05-22 10:49:50 -04:00
|
|
|
depends_build-append \
|
|
|
|
|
port:py${python.version}-setuptools_scm
|
|
|
|
|
|
2018-04-04 00:04:32 -07:00
|
|
|
depends_lib-append port:py${python.version}-cli-helpers \
|
|
|
|
|
port:py${python.version}-click \
|
|
|
|
|
port:py${python.version}-configobj \
|
|
|
|
|
port:py${python.version}-cryptography \
|
2019-10-26 12:15:44 -07:00
|
|
|
port:py${python.version}-paramiko \
|
2015-11-20 22:04:19 +00:00
|
|
|
port:py${python.version}-prompt_toolkit \
|
2018-04-04 00:04:32 -07:00
|
|
|
port:py${python.version}-pygments \
|
2015-11-20 22:04:19 +00:00
|
|
|
port:py${python.version}-pymysql \
|
2022-03-30 14:28:46 -04:00
|
|
|
port:py${python.version}-pyperclip \
|
2025-05-22 10:49:50 -04:00
|
|
|
port:py${python.version}-sqlglot \
|
2021-08-14 13:36:59 -04:00
|
|
|
port:py${python.version}-sqlparse \
|
2025-05-22 10:49:50 -04:00
|
|
|
port:py${python.version}-pyaes \
|
|
|
|
|
port:py${python.version}-pyfzf
|
2021-08-14 13:36:59 -04:00
|
|
|
|
|
|
|
|
test.run yes
|
2025-05-22 10:49:50 -04:00
|
|
|
python.test_framework
|
2021-08-14 13:36:59 -04:00
|
|
|
test.env-append PYTHONPATH=${worksrcpath}/build/lib
|
|
|
|
|
test.cmd ${python.bin}
|
|
|
|
|
test.pre_args -m ${name}.main
|
|
|
|
|
test.args --version
|
2019-10-26 12:15:44 -07:00
|
|
|
|
|
|
|
|
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}
|
|
|
|
|
}
|