# description : Self-contained ISO 3166-1 country definitions # depends : python3-setuptools name=python3-iso3166 _name=${name#*-} _n=${_name%${_name#?}} version=2.1.1 release=1 source="$name-$version.tar.gz::https://files.pythonhosted.org/packages/source/$_n/${name#*-}/${name#*-}-$version.tar.gz" build() { cd ${name#*-}-$version python3 setup.py build python3 setup.py install --root=$PKG --optimize=1 }