# -*- 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-idna version 3.7 revision 0 categories-append devel license BSD supported_archs noarch platforms {darwin any} python.versions 27 35 36 37 38 39 310 311 312 python.pep517 yes python.pep517_backend flit maintainers {stromnov @stromnov} openmaintainer description Internationalized Domain Names in Applications (IDNA). long_description ${description} homepage https://github.com/kjd/idna/ checksums rmd160 d0b573cbaf5b18cb048ed4ace2e5fc71d4218156 \ sha256 028ff3aadf0609c1fd278d8ea3089299412a7a8b9bd005dd08b9f8285bcb5cfc \ size 189575 if {${name} ne ${subport}} { if {${python.version} < 36} { version 2.10 revision 0 distname ${python.rootname}-${version} checksums rmd160 57234789c6f95edce1725e7d3858a27da309e087 \ sha256 b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6 \ size 175616 python.pep517 no depends_build-append \ port:py${python.version}-setuptools } elseif {${python.version} eq 36} { version 3.3 revision 0 distname ${python.rootname}-${version} checksums rmd160 39ab62813b06e88c80f13848c34c03a1c8600bb8 \ sha256 9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d \ size 286689 python.pep517 no depends_build-append \ port:py${python.version}-setuptools } post-extract { # Unreadable PKG-INFO breaks setuptools, and setuptools doesn't # ensure it is installed with read permissions. # https://github.com/pypa/setuptools/issues/1328 # https://github.com/pypa/setuptools/issues/617 fs-traverse item [list ${worksrcpath}] { if {[file isdirectory ${item}]} { file attributes ${item} -permissions a+rx } elseif {[file isfile ${item}]} { file attributes ${item} -permissions a+r } } } livecheck.type none }