26 lines
763 B
Bash
26 lines
763 B
Bash
# Template file for 'python-pycountry'
|
|
pkgname=python-pycountry
|
|
version=18.5.26
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="pycountry-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python"
|
|
pycompile_module="pycountry"
|
|
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=7f2aa2529c60f6575af3cd644688b201b97016822ce0ce1c4bcc0f7d08900997
|
|
|
|
python3-pycountry_package() {
|
|
noarch=yes
|
|
depends="python3"
|
|
pycompile_module="pycountry"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|