void-packages/srcpkgs/python-pycountry/template

25 lines
708 B
Bash

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