Files
2026-02-25 14:32:14 -05:00

44 lines
1.5 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-cattrs
version 26.1.0
revision 0
license MIT
maintainers nomaintainer
supported_archs noarch
platforms {darwin any}
description ${name} is an open-source Python library \
for structuring and unstructuring data.
long_description {*}${description}. ${name} works best with attrs classes, \
dataclasses and the usual Python collections, \
but other kinds of classes are supported \
by manually registering converters.
homepage https://github.com/python-attrs/cattrs
checksums rmd160 135e7f8217f77d4eeabe0452d6a498c5fca4135b \
sha256 fa239e0f0ec0715ba34852ce813986dfed1e12117e209b816ab87401271cdd40 \
size 495672
python.versions 310 311 312 313 314
python.pep517_backend hatch
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-hatch-vcs
depends_lib-append \
port:py${python.version}-attrs \
port:py${python.version}-typing_extensions
if {${python.version} < 311} {
depends_lib-append \
port:py${python.version}-exceptiongroup
}
}