# -*- 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 compiler_wrapper 1.0 name py-msgpack version 1.1.0 revision 0 categories-append devel license Apache-2 python.versions 27 38 39 310 311 312 313 maintainers {stromnov @stromnov} openmaintainer description MessagePack (de)serializer for Python. long_description {*}${description} homepage https://msgpack.org/ checksums rmd160 37f59f4c8fea4b437915d533824c1990bca1b947 \ sha256 dd432ccc2c72b914e4cb77afce64aab761c1137cc698be3984eee260bcb2896e \ size 167260 if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-cython # https://trac.macports.org/ticket/69537 if {${configure.build_arch} in [list i386 ppc]} { patchfiles-append \ patch-32-bit.diff } if {${python.version} <= 37} { version 1.0.5 revision 1 checksums rmd160 44d092ee572b7cb3ac8555e2224a412a61f2e08e \ sha256 c075544284eadc5cddc70f4757331d99dcbc16b2bbd4849d15f8aae4cf36d31c \ size 127834 depends_build-delete \ port:py${python.version}-cython if {${python.version} eq 27} { platforms any supported_archs noarch python.pep517 no depends_build-append \ port:py${python.version}-setuptools } else { depends_build-append \ port:py${python.version}-cython-compat set compat_path [string replace ${python.pkgd} 0 [string length ${python.prefix}]-1 ${prefix}/lib/py${python.version}-cython-compat] build.env-append PYTHONPATH=${compat_path} } } if {${python.version} ne 27} { # make sure that the files are cythonized post-extract { file delete ${worksrcpath}/msgpack/_cmsgpack.cpp } } # https://trac.macports.org/ticket/71250 if {${python.version} >= 312} { compiler.blacklist-append \ *gcc-4.0 *gcc-4.2 } livecheck.type none }