void-packages/srcpkgs/python3-curl/template

24 lines
696 B
Bash

# Template file for 'python3-curl'
pkgname=python3-curl
version=7.45.1
revision=2
build_style=python3-module
hostmakedepends="python3-devel"
makedepends="openssl-devel libcurl-devel ${hostmakedepends}"
depends="python3"
short_desc="Python3 interface to cURL library"
maintainer="skmpz <dem.procopiou@gmail.com>"
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=a863ad18ff478f5545924057887cdae422e1b2746e41674615f687498ea5b88a
pre_build() {
vsed -i "/setup_args\['data_files'\] = /d" setup.py
}
post_install() {
vlicense COPYING-MIT
}