Files
macports-ports/python/py-parfive/Portfile
2026-01-28 01:47:07 +11:00

42 lines
1.4 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-parfive
version 2.3.1
revision 0
categories-append net
license MIT
maintainers {mps @Schamschula} openmaintainer
description A parallel file downloader using asyncio.
long_description {*}${description} parfive can handle downloading multiple files in \
parallel as well as downloading each file in a number of chunks.
homepage https://parfive.readthedocs.io/en/stable/
supported_archs noarch
platforms {darwin any}
checksums rmd160 f621fd09a60a2dd4417f50f328b1aef027a4046d \
sha256 70bf6f4cbdb62e7df07e13dddc74bbb85a76efb8b38c0522bc63aa94a2270a78 \
size 40452
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}-aiohttp \
port:py${python.version}-tqdm
}
variant ftp description {Add ftp functionality} {
if {$subport ne $name} {
depends_lib-append \
port:py${python.version}-aioftp
}
}