Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
py-idna: fix permissions of PKG-INFO
  • Loading branch information
jmroot committed Jun 18, 2018
1 parent 82e4271 commit af4940c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion python/py-idna/Portfile
Expand Up @@ -5,7 +5,7 @@ PortGroup python 1.0

name py-idna
version 2.7
revision 0
revision 1
categories-append devel
platforms darwin
license BSD
Expand All @@ -31,5 +31,13 @@ if {${name} ne ${subport}} {
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
system "chmod -R a+r ${worksrcpath}"
}

livecheck.type none
}

0 comments on commit af4940c

Please sign in to comment.