# -*- 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-parse-type version 0.6.6 revision 0 categories-append devel supported_archs noarch platforms {darwin any} license MIT maintainers nomaintainer description parse_type extends the parse module (opposite of string.format()) long_description parse_type extends the parse module (opposite of\ string.format()) with the following features:\ build type converters for common use cases\ (enum/mapping, choice)\; build a type converter\ with a cardinality constraint (0..1,0..*,1..*)\;\ from the type converter with cardinality=1.\;\ compose a type converter from other type\ converters\; an extended parser that supports the\ CardinalityField naming schema and creates missing\ type variants (0..1,0..*,1..*) from the primary\ type converter distname parse_type-${version} checksums rmd160 13fffe9806c1cb7173d556c2080ef880d254b1d3 \ sha256 513a3784104839770d690e04339a8b4d33439fcd5dd99f2e4580f9fc1097bfb2 \ size 98012 python.versions 313 if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools_scm depends_run-append \ port:py${python.version}-parse \ port:py${python.version}-six test.run yes post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \ ${destroot}${docdir} } }