You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
54 lines
1.9 KiB
Tcl
54 lines
1.9 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 py-click
|
|
version 8.3.1
|
|
revision 0
|
|
categories-append devel
|
|
platforms {darwin any}
|
|
license BSD
|
|
supported_archs noarch
|
|
|
|
python.versions 27 39 310 311 312 313 314
|
|
|
|
python.pep517_backend flit
|
|
|
|
maintainers {stromnov @stromnov} openmaintainer
|
|
|
|
description A simple wrapper around optparse for powerful command line utilities.
|
|
long_description {*}${description}
|
|
|
|
homepage https://github.com/pallets/click
|
|
|
|
checksums rmd160 1524192ce128e32daf9d6ec391ac090b44b8c3d2 \
|
|
sha256 12ff4785d337a1bb490bb7e9c2b1ee5da3112e94a8622f26a6c77f5d2fc6842a \
|
|
size 295065
|
|
|
|
if {${name} ne ${subport}} {
|
|
if {${python.version} eq 27} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
depends_lib-append port:py${python.version}-importlib-metadata
|
|
version 7.1.2
|
|
revision 0
|
|
distname ${python.rootname}-${version}
|
|
checksums rmd160 fdad02d3ace749f9a10f8f33b22bfdc05fcb5f4e \
|
|
sha256 d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a \
|
|
size 297279
|
|
python.pep517_backend setuptools
|
|
} elseif {${python.version} eq 39} {
|
|
version 8.2.1
|
|
revision 0
|
|
checksums rmd160 e07a39feb89df5fa451fa6996c2bb8ea087f0885 \
|
|
sha256 27c491cc05d968d271d5a1db13e3b5a184636d9d930f148c50b038f0d0646202 \
|
|
size 286342
|
|
}
|
|
|
|
test.run yes
|
|
test.env-append PYTHONPATH=${destroot}${python.pkgd}
|
|
|
|
livecheck.type none
|
|
}
|