# Template file for 'python-pycountry' pkgname=python-pycountry version=18.12.8 revision=2 archs=noarch wrksrc="pycountry-${version}" build_style=python-module pycompile_module="pycountry" hostmakedepends="python-setuptools python3-setuptools" depends="python" short_desc="ISO databases accessible from Python2" maintainer="Farhad Shahbazi " license="LGPL-2.1-or-later" homepage="https://pypi.org/project/pycountry/" distfiles="${PYPI_SITE}/p/pycountry/pycountry-${version}.tar.gz" checksum=8ec4020b2b15cd410893d573820d42ee12fe50365332e58c0975c953b60a16de python3-pycountry_package() { archs=noarch depends="python3" pycompile_module="pycountry" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* } }