# Template file for 'python-pycountry'
pkgname=python-pycountry
version=18.2.23
revision=1
noarch=yes
wrksrc="pycountry-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
pycompile_module="pycountry"
short_desc="ISO databases accessible from Python2"
maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
license="LGPL-2.1"
homepage="https://pypi.org/project/pycountry/"
distfiles="${PYPI_SITE}/p/pycountry/pycountry-${version}.tar.gz"
checksum=46e4b1a21516e41fe6f8c0ef7a9876da8ce9ac3f719e3fed79cf79fd9b6206ee

python3-pycountry_package() {
	noarch=yes
	depends="python3"
	pycompile_module="pycountry"
	short_desc="${short_desc/Python2/Python3}"
	pkg_install() {
		vmove usr/lib/python3*
	}
}
