# -*- 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.10 revision 0 categories-append devel license BSD supported_archs noarch platforms {darwin any} python.versions 27 35 36 37 38 39 310 311 312 313 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 30d6102c9a3bfbe6388ac0ae74c81d4ef89bcc01 \ sha256 12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9 \ size 190490 if {${name} ne ${subport}} { if {${python.version} < 36} { version 2.10 revision 0 distname ${python.rootname}-${version} checksums rmd160 57234789c6f95edce1725e7d3858a27da309e087 \ sha256 b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6 \ size 175616 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 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 }