void-packages/srcpkgs/python3-curl/template
2021-10-09 08:00:49 -04:00

22 lines
631 B
Bash

# Template file for 'python3-curl'
pkgname=python3-curl
version=7.43.0.3
revision=11
wrksrc="pycurl-${version}"
build_style=python3-module
hostmakedepends="python3-devel"
makedepends="openssl-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
}