# -*- 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 trolldbois ctypeslib 2.3.4 name py-ctypeslib2 revision 0 python.versions 38 39 310 311 platforms {darwin any} license MIT maintainers {eborisch @eborisch} \ openmaintainer supported_archs noarch description Generate python ctypes classes from C headers. long_description This fork of ctypeslib is mainly about using the \ libclang >= 3.7 python bindings to generate python \ code from C source code, instead of gccxml. checksums \ rmd160 def394256eb62dd568fe2a5a550794d18287e9f1 \ sha256 0a7b7b8cf502034d303f37729a9b1c43fa23659e9a4095cbea01cfdd0fe2a16c \ size 93093 if {${name} ne ${subport}} { depends_lib-append port:py${python.version}-setuptools \ port:py${python.version}-clang # Use the libclang that is provided by pyXX-clang (via its +clangY variant) patchfiles init_py.patch pyproject.toml.patch post-destroot { set DOCDIR ${destroot}${prefix}/share/doc/${subport} xinstall -d ${DOCDIR} foreach dfile {CHANGES.md LICENSE.txt README.md docs} { file copy ${worksrcpath}/${dfile} ${DOCDIR} } } }