python-idna: update to 2.8

This commit is contained in:
Alessio Sergi 2018-12-28 00:24:45 +01:00
parent 064376a593
commit e94f5bb840

View file

@ -1,6 +1,6 @@
# Template file for 'python-idna' # Template file for 'python-idna'
pkgname=python-idna pkgname=python-idna
version=2.7 version=2.8
revision=1 revision=1
noarch=yes noarch=yes
wrksrc="idna-${version}" wrksrc="idna-${version}"
@ -13,14 +13,10 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/kjd/idna" homepage="https://github.com/kjd/idna"
license="BSD-3-Clause" license="BSD-3-Clause"
distfiles="${PYPI_SITE}/i/idna/idna-${version}.tar.gz" distfiles="${PYPI_SITE}/i/idna/idna-${version}.tar.gz"
checksum=684a38a6f903c1d71d6d5fac066b58d7768af4de2b832e426ec79c30daa94a16 checksum=c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407
pre_build() {
# fix permissions
chmod -R go+rX .
}
post_install() { post_install() {
vlicense LICENSE.rst LICENSE vlicense LICENSE.rst
} }
python3-idna_package() { python3-idna_package() {
@ -30,6 +26,6 @@ python3-idna_package() {
short_desc="${short_desc/Python2/Python3}" short_desc="${short_desc/Python2/Python3}"
pkg_install() { pkg_install() {
vmove usr/lib/python3* vmove usr/lib/python3*
vlicense LICENSE.rst LICENSE vlicense LICENSE.rst
} }
} }