Files
2026-06-26 08:53:12 -07:00

39 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-propcache
version 0.5.2
revision 0
categories-append devel
license Apache-2
python.versions 310 311 312 313 314
maintainers {toby @tobypeterson} openmaintainer
description fast implementation of cached properties
long_description accelerated versions of functools.cached_property
homepage https://github.com/aio-libs/propcache
checksums rmd160 6f1d5d44fe6b5317d9d2c13091a773e13ccaf21a \
sha256 01c4fc7480cd0598bb4b57022df55b9ca296da7fc5a8760bd8451a7e63a7d427 \
size 50208
if {${name} ne ${subport}} {
patchfiles patch-setuptools-version.diff
depends_build-append port:py${python.version}-cython \
port:py${python.version}-expandvars
if {${python.version} < 311} {
depends_build-append \
port:py${python.version}-tomli
}
test.run yes
test.env-append PYTHONPATH=${destroot}${python.pkgd}
}