You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
63 lines
2.2 KiB
Tcl
63 lines
2.2 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-py7zr
|
|
version 1.0.0
|
|
revision 0
|
|
|
|
platforms {darwin any}
|
|
supported_archs noarch
|
|
license LGPL-2.1+
|
|
maintainers nomaintainer
|
|
|
|
description Pure python 7-zip library
|
|
long_description {*}${description}
|
|
|
|
homepage https://github.com/miurahr/py7zr
|
|
|
|
checksums rmd160 badb5948c66df1ee377fcd6a9ca4eb228611c00c \
|
|
sha256 f6bfee81637c9032f6a9f0eb045a4bfc7a7ff4138becfc42d7cb89b54ffbfef1 \
|
|
size 4965058
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools_scm
|
|
|
|
depends_lib-append \
|
|
port:py${python.version}-brotli \
|
|
port:py${python.version}-inflate64 \
|
|
port:py${python.version}-multivolumefile \
|
|
port:py${python.version}-psutil\
|
|
port:py${python.version}-pycryptodomex \
|
|
port:py${python.version}-pyppmd \
|
|
port:py${python.version}-pyzstd \
|
|
port:py${python.version}-texttable
|
|
|
|
platform darwin {
|
|
if {${os.major} > 10} {
|
|
depends_lib-append \
|
|
port:py${python.version}-pybcj
|
|
} elseif {${python.version} <= 310} {
|
|
# Legacy fallback, supported up to Python 3.10.
|
|
# This does not appear to be a required dependency anyway.
|
|
depends_lib-append \
|
|
port:py${python.version}-pyobjc6
|
|
}
|
|
}
|
|
|
|
depends_test-append \
|
|
port:py${python.version}-cpuinfo \
|
|
port:py${python.version}-pyannotate \
|
|
port:py${python.version}-pytest \
|
|
port:py${python.version}-pytest-benchmark \
|
|
port:py${python.version}-pytest-httpserver \
|
|
port:py${python.version}-pytest-timeout \
|
|
port:py${python.version}-pytest-remotedata
|
|
|
|
test.run yes
|
|
}
|