void-packages/srcpkgs/python3-curl/template

23 lines
631 B
Bash

# Template file for 'python3-curl'
pkgname=python3-curl
version=7.43.0.3
revision=9
wrksrc="pycurl-${version}"
build_style=python3-module
hostmakedepends="python3-devel"
makedepends="libressl-devel libcurl-devel ${hostmakedepends}"
short_desc="Python3 interface to cURL library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later, MIT"
homepage="http://pycurl.io/"
distfiles="${PYPI_SITE}/p/pycurl/pycurl-${version}.tar.gz"
checksum=6f08330c5cf79fa8ef68b9912b9901db7ffd34b63e225dce74db56bb21deda8e
pre_build() {
vsed -i "/setup_args\['data_files'\] = /d" setup.py
}
post_install() {
vlicense COPYING-MIT
}