Files
2020-02-05 13:21:26 -07:00

50 lines
1.7 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-off set: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
name py-ftputil
version 3.4
categories-append net
license BSD
platforms darwin
supported_archs noarch
maintainers nomaintainer
description High level Python interface to the ftplib module
long_description The module ftputil is a high-level interface to the \
ftplib module. The FTPHost objects generated from it \
allow many operations similar to those of os and \
os.path.
homepage https://ftputil.sschwarzer.net/trac/
master_sites ${homepage}raw-attachment/wiki/Download/${distfiles}?format=raw?dummy=
distname ${python.rootname}-${version}
checksums rmd160 76c8c205b2d627bbff45a09a38020a555e3b0f80 \
sha256 a3758561738c1570d2368e98d133c534242469e9da62507a4c83e4e6e73c956e \
size 141469
python.versions 37 38
if {${name} ne ${subport}} {
depends_build port:py${python.version}-setuptools
post-destroot {
xinstall -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 -W ${worksrcpath} LICENSE VERSION \
${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 -W ${worksrcpath}/doc README.txt ftputil.html ftputil.txt \
${destroot}${prefix}/share/doc/${subport}
}
livecheck.type regex
livecheck.url ${homepage}raw-attachment/wiki/Download/
livecheck.regex {>ftputil-([0-9.]+).tar.gz<}
} else {
livecheck.type none
}