29 lines
791 B
Bash
29 lines
791 B
Bash
# Template file for 'python-idna'
|
|
pkgname=python-idna
|
|
version=2.9
|
|
revision=3
|
|
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() {
|
|
depends="python3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.rst
|
|
}
|
|
}
|