Files

57 lines
2.1 KiB
Tcl
Raw Permalink Normal View History

2019-05-01 11:16:13 +02: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
PortSystem 1.0
PortGroup python 1.0
2025-05-22 10:43:31 -04:00
name litecli
version 1.15.0
2022-01-16 23:21:11 +01:00
revision 0
2019-05-01 11:16:13 +02:00
categories databases python
2023-09-03 09:09:03 -07:00
maintainers nomaintainer
2019-05-01 11:16:13 +02:00
license BSD
platforms {darwin any}
2019-05-01 11:16:13 +02:00
supported_archs noarch
description CLI for SQLite Databases with auto-completion and syntax highlighting
long_description {*}${description}
2019-05-01 11:16:13 +02:00
homepage https://litecli.com/
2025-05-22 10:43:31 -04:00
checksums rmd160 32bf08a9482c92e5d64d58f6b2de03f44a17acd3 \
sha256 3285997f57b2d72dc70e9856cb302cddd8de07b0cebf5c90a60ecd20a053cd79 \
size 895268
2019-05-01 11:16:13 +02:00
2025-11-04 13:19:16 -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" {}
2019-10-26 12:46:23 -07:00
2025-11-04 13:19:16 -05:00
if {[variant_isset python310]} {
python.default_version 310
2024-09-10 15:15:57 -04:00
} elseif {[variant_isset python311]} {
2023-10-18 00:40:59 +08:00
python.default_version 311
2025-05-22 10:43:31 -04:00
} elseif {[variant_isset python312]} {
2024-09-10 15:15:57 -04:00
python.default_version 312
2025-05-22 10:43:31 -04:00
} else {
default_variants +python313
python.default_version 313
2019-05-01 11:16:13 +02:00
}
2025-05-22 10:43:31 -04:00
depends_build-append \
port:py${python.version}-setuptools_scm
2019-05-01 11:16:13 +02:00
depends_lib-append port:py${python.version}-cli-helpers \
port:py${python.version}-click \
port:py${python.version}-configobj \
port:py${python.version}-prompt_toolkit \
port:py${python.version}-pygments \
port:py${python.version}-setuptools \
port:py${python.version}-sqlparse
post-destroot {
2019-10-26 12:46:23 -07:00
set docdir ${prefix}/share/doc/${subport}
2019-05-01 11:16:13 +02:00
xinstall -d ${destroot}${docdir}
2020-12-29 00:40:31 -06:00
xinstall -m 0644 -W ${worksrcpath} CHANGELOG.md README.md \
2019-10-26 12:46:23 -07:00
LICENSE CONTRIBUTING.md ${destroot}${docdir}
2019-05-01 11:16:13 +02:00
}