# -*- 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-pyproj version 3.7.0 categories-append devel license MIT python.versions 39 310 311 312 313 maintainers {stromnov @stromnov} openmaintainer description Python interfaces to PROJ.4 functions. long_description Pyrex wrapper to provide python interfaces to PROJ.4 \ (http://proj.maptools.org) functions. Performs \ cartographic transformations and geodetic computations. homepage https://pyproj4.github.io/pyproj checksums md5 3fe1e8f2c5fc58fb37a845b352f7251c \ rmd160 3e5a2991bff1093aac101b276e0b00ff7c3e357e \ sha256 bf658f4aaf815d9d03c8121650b6f0b8067265c36e31bc6660b98ef144d81813 \ size 225577 if {${name} ne ${subport}} { if {${python.version} == 39} { version 3.6.1 revision 0 checksums md5 09a67b757bc473b47fb2e247b9994228 \ rmd160 4cea140c609a5e74dfb0de338e321bd670320329 \ sha256 44aa7c704c2b7d8fb3d483bbf75af6cb2350d30a63b144279a09b75fead501bf \ size 225131 } depends_build-append port:py${python.version}-cython depends_lib-append port:proj9 \ port:py${python.version}-certifi configure.env-append PROJ_DIR=${prefix}/lib/proj9 build.env-append PROJ_DIR=${prefix}/lib/proj9 destroot.env-append PROJ_DIR=${prefix}/lib/proj9 patchfiles-append patch-pyproj_datadir.py.diff post-patch { reinplace "s|%%INTERNAL_DATADIR%%|${prefix}/lib/proj9/share/proj|" ${worksrcpath}/pyproj/datadir.py } if {[string match *gcc-4.* ${configure.compiler}]} { # pycore_frame.h:134: error: ‘for’ loop initial declaration used outside C99 mode build.cmd-prepend CFLAGS="-std=c99" } post-destroot { xinstall -m 0644 -W ${worksrcpath} \ README.md PKG-INFO \ ${destroot}${prefix}/share/doc/${subport} } livecheck.type none }