void-packages/srcpkgs/python-idna/template
2020-02-28 08:52:20 +01:00

31 lines
818 B
Bash

# Template file for 'python-idna'
pkgname=python-idna
version=2.9
revision=1
archs=noarch
wrksrc="idna-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Internationalized Domain Names in Applications (IDNA) for Python2"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/kjd/idna"
changelog="https://raw.githubusercontent.com/kjd/idna/master/HISTORY.rst"
distfiles="${PYPI_SITE}/i/idna/idna-${version}.tar.gz"
checksum=7588d1c14ae4c77d74036e8c22ff447b26d0fde8f007354fd48a7814db15b7cb
post_install() {
vlicense LICENSE.rst
}
python3-idna_package() {
archs=noarch
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.rst
}
}