void-packages/srcpkgs/python3-curl/template

25 lines
723 B
Bash

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