# Template file for 'python-pycountry' pkgname=python-pycountry version=1.17 revision=1 wrksrc="pycountry-${version}" noarch=yes build_style=python-module python_versions="2.7 3.4" hostmakedepends="python-setuptools python3.4-setuptools" depends="python-lxml" 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=46304a0658d5bae64447196e49a685dc7643bf83576e76156906ea9e18c070e3 python3.4-pycountry_package() { noarch=yes pycompile_version="3.4" depends="python3.4-lxml" pycompile_module="pycountry" short_desc="${short_desc/Python2/Python3.4}" pkg_install() { vmove usr/lib/python3.4 } }