# -*- 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-fs
version 2.4.4
revision 0
platforms darwin
license MIT
maintainers nomaintainer
description Python's filesystem abstraction layer
long_description ${description}
homepage https://github.com/PyFilesystem/pyfilesystem2
master_sites pypi:f/fs
distname fs-${version}
checksums rmd160 6dccb7b8f61bf92dd28d23416abf99ad8cb177e0 \
sha256 932b2bf9f76bcc50ebe9711378f7503f71410ddeb1a77754139b886fc5302e4f \
size 124012
python.versions 27 36 37
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
depends_lib-append \
port:py${python.version}-appdirs \
port:py${python.version}-six \
port:py${python.version}-tz
if {${python.version} eq 27} {
depends_lib-append \
port:py${python.version}-backports.os \
port:py${python.version}-enum34 \
port:py${python.version}-scandir \
port:py${python.version}-typing
}
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.md LICENSE \
${destroot}${docdir}
}
livecheck.type none
}