Files
Joshua Root 91b1933cf4 py-scandir: remove 38 and 39 subports
No dependents; this is available in the stdlib in Python 3.5 and later,
and the extension module silently fails to build under some newer
versions.
2023-12-19 08:16:21 +11:00

40 lines
1.1 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-scandir
version 1.10.0
categories-append devel
license BSD
# Part of the stdlib since Python 3.5
python.versions 27
maintainers {stromnov @stromnov} openmaintainer
description Scandir, a better directory iterator and faster os.walk()
long_description {*}${description}
homepage https://github.com/benhoyt/scandir
checksums rmd160 e2380a39b8e1d7f65a81bb89c1eabd12c79a32e1 \
sha256 4d4631f6062e658e9007ab3149a9b914f3548cb38bfb021c64f39a025ce578ae \
size 33311
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
if {${python.version} eq 27} {
depends_test-append \
port:py${python.version}-mock
}
test.run yes
test.cmd python${python.branch} test/run_tests.py
test.target
livecheck.type none
}