# Template file for 'python-pycountry' pkgname=python-pycountry version=17.9.23 revision=1 wrksrc="pycountry-${version}" noarch=yes build_style=python-module hostmakedepends="python-setuptools python3-setuptools" depends="python" pycompile_module="pycountry" short_desc="ISO databases accessible from Python2" maintainer="Farhad Shahbazi " license="LGPL-2.1" homepage="http://pypi.python.org/pypi/pycountry" distfiles="${PYPI_SITE}/p/pycountry/pycountry-${version}.tar.gz" checksum=173c5e3a8884c5616c6595078cc8f27e65ce59c6d9aa8864bace0c6b1281c57a python3-pycountry_package() { noarch=yes depends="python3" pycompile_module="pycountry" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* } }