void-packages/srcpkgs/python-pycountry/template

29 lines
823 B
Bash
Raw Normal View History

2015-04-09 19:56:49 +00:00
# Template file for 'python-pycountry'
pkgname=python-pycountry
2016-02-18 11:29:32 +00:00
version=1.20
2015-04-09 19:56:49 +00:00
revision=1
wrksrc="pycountry-${version}"
noarch=yes
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
2015-04-09 19:56:49 +00:00
depends="python-lxml"
pycompile_module="pycountry"
short_desc="ISO databases accessible from Python2"
2015-04-09 19:56:49 +00:00
maintainer="Farhad Shahbazi <grauwolf@geekosphere.org>"
license="LGPL-2.1"
homepage="http://pypi.python.org/pypi/pycountry"
2015-08-05 08:04:42 +00:00
distfiles="${PYPI_SITE}/p/pycountry/pycountry-${version}.tar.gz"
2016-02-18 11:29:32 +00:00
checksum=0588efa3171e1d5e4cc96fce569ac865964285fdc8dbdc0860844f74598d1f98
2015-04-09 19:56:49 +00:00
python3.4-pycountry_package() {
noarch=yes
2015-04-09 19:56:49 +00:00
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
}
}