8ddd61d984
[ci skip]
31 lines
793 B
Bash
31 lines
793 B
Bash
# Template file for 'python-idna'
|
|
pkgname=python-idna
|
|
version=2.8
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="idna-${version}"
|
|
build_style=python-module
|
|
pycompile_module="idna"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
short_desc="Internationalized Domain Names in Applications (IDNA) for Python2"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="https://github.com/kjd/idna"
|
|
license="BSD-3-Clause"
|
|
distfiles="${PYPI_SITE}/i/idna/idna-${version}.tar.gz"
|
|
checksum=c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407
|
|
|
|
post_install() {
|
|
vlicense LICENSE.rst
|
|
}
|
|
|
|
python3-idna_package() {
|
|
archs=noarch
|
|
depends="python3"
|
|
pycompile_module="idna"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE.rst
|
|
}
|
|
}
|