Files
macports-ports/python/py-cachetools/Portfile
T
2025-02-24 22:37:00 -05:00

37 lines
1.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-cachetools
version 5.5.2
revision 0
platforms {darwin any}
supported_archs noarch
license MIT
maintainers {reneeotten @reneeotten} openmaintainer
description memoizing collections and decorators
long_description This module provides various {*}${description}, including variants of the \
Python 3 Standard Library @lru_cache function decorator.
homepage https://github.com/tkem/cachetools
checksums rmd160 4db8dc8b59930202465b27ac8c3b912fd3aea7b9 \
sha256 1a661caa9175d26759571b2e19580f9d6393969e5dfca11fdb1f947a23e640d4 \
size 28380
python.versions 39 310 311 312 313
if {${name} ne ${subport}} {
test.run yes
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
CHANGELOG.rst ${destroot}${docdir}
}
}