Fetching contributors…
Cannot retrieve contributors at this time
46 lines (34 sloc) 1.47 KB
# -*- 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
github.setup pabigot pyxb 1.2.5 PyXB-
name py-pyxb
categories-append devel textproc
maintainers nomaintainer
platforms darwin
license Apache-2
supported_archs noarch
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 d46433cde04a0396e2f6fb7bbaaf16473d88abee \
sha256 fbde9edc292010904c5adefa1fc553babaaa0b16c8afa7f41fd20408991f3cb8
python.versions 27 34 35 36
if {$subport ne $name} {
depends_lib-append port:py${python.version}-six yes
test.cmd ${python.bin} -u
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 644 -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}
livecheck.type none