You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
57 lines
2.1 KiB
Tcl
57 lines
2.1 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 litecli
|
|
version 1.15.0
|
|
revision 0
|
|
|
|
categories databases python
|
|
maintainers nomaintainer
|
|
license BSD
|
|
platforms {darwin any}
|
|
supported_archs noarch
|
|
description CLI for SQLite Databases with auto-completion and syntax highlighting
|
|
long_description {*}${description}
|
|
|
|
homepage https://litecli.com/
|
|
|
|
checksums rmd160 32bf08a9482c92e5d64d58f6b2de03f44a17acd3 \
|
|
sha256 3285997f57b2d72dc70e9856cb302cddd8de07b0cebf5c90a60ecd20a053cd79 \
|
|
size 895268
|
|
|
|
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}-prompt_toolkit \
|
|
port:py${python.version}-pygments \
|
|
port:py${python.version}-setuptools \
|
|
port:py${python.version}-sqlparse
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
xinstall -m 0644 -W ${worksrcpath} CHANGELOG.md README.md \
|
|
LICENSE CONTRIBUTING.md ${destroot}${docdir}
|
|
}
|