diff --git a/srcpkgs/python-idna/template b/srcpkgs/python-idna/template index fffa04de729..05a3c56c315 100644 --- a/srcpkgs/python-idna/template +++ b/srcpkgs/python-idna/template @@ -1,20 +1,24 @@ # Template file for 'python-idna' pkgname=python-idna -version=2.6 -revision=2 +version=2.7 +revision=1 noarch=yes wrksrc="idna-${version}" build_style=python-module +pycompile_module="idna" hostmakedepends="python-setuptools python3-setuptools" depends="python" -pycompile_module="idna" short_desc="Internationalized Domain Names in Applications (IDNA) for Python2" maintainer="Alessio Sergi " homepage="https://github.com/kjd/idna" -license="3-clause-BSD" +license="BSD-3-Clause" distfiles="${PYPI_SITE}/i/idna/idna-${version}.tar.gz" -checksum=2c6a5de3089009e3da7c5dde64a141dbc8551d5b7f6cf4ed7c2568d0cc520a8f +checksum=684a38a6f903c1d71d6d5fac066b58d7768af4de2b832e426ec79c30daa94a16 +pre_build() { + # fix permissions + chmod -R go+rX . +} post_install() { vlicense LICENSE.rst LICENSE }