python-idna: update to 2.7

This commit is contained in:
Alessio Sergi 2018-06-15 17:12:27 +02:00
parent 4e73c26f56
commit 8b32dcb26d

View file

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