# -*- 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 PortGroup github 1.0 # Current developer plans to discontinue PyXB # See https://github.com/pabigot/pyxb/issues/100 github.setup pabigot pyxb 1.2.6 PyXB- name py-pyxb categories-append devel textproc maintainers nomaintainer license Apache-2 supported_archs noarch platforms {darwin any} description PyXB: Python XML Schema Bindings long_description \ PyXB is a pure Python package that generates Python code for classes that \ correspond to data structures defined by XMLSchema. In concept it is \ similar to JAXB for Java and CodeSynthesis XSD for C++. checksums rmd160 6bdd221bcecfd49589df256f29c1263bab2f00e3 \ sha256 5eaa57026e838181e4155a249bd2bef902dd265bbd425a2c18a20913de068a10 \ size 2709208 python.versions 37 if {${subport} ne ${name}} { depends_lib-append port:py${python.version}-six test.run yes test.cmd ${python.bin} -u setup.py post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} LICENSE NOTICE README.txt ${destroot}${docdir} copy ${worksrcpath}/doc ${destroot}${docdir} set examplesdir ${prefix}/share/examples/${subport} xinstall -d [file dirname ${destroot}${examplesdir}] copy ${worksrcpath}/examples ${destroot}${examplesdir} } }