# Template file for 'python-curl' pkgname=python-curl version=7.43.0 revision=2 wrksrc="pycurl-${version}" build_style=python-module python_versions="2.7 3.4" hostmakedepends="python-devel python3.4-devel" makedepends="libressl-devel libcurl-devel ${hostmakedepends}" pycompile_module="curl" short_desc="Python2 interface to cURL library" homepage="http://pycurl.io/" license="LGPL-2.1, MIT" maintainer="Juan RP " distfiles="${PYPI_SITE}/p/pycurl/pycurl-${version}.tar.gz" checksum=aa975c19b79b6aa6c0518c0cc2ae33528900478f0b500531dbcdbf05beec584c pre_build() { sed -i "/setup_args\['data_files'\] = /d" setup.py } python3.4-curl_package() { pycompile_version="3.4" pycompile_module="curl" short_desc="${short_desc/Python2/Python3.4}" pkg_install() { vmove usr/lib/python3.4 } }