void-packages/srcpkgs/python3-curl/template

25 lines
755 B
Bash

# Template file for 'python3-curl'
pkgname=python3-curl
version=7.45.2
revision=3
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="openssl-devel libcurl-devel python3-devel"
depends="python3"
checkdepends="python3-pytest python3-bottle python3-flaky"
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=5730590be0271364a5bddd9e245c9cc0fb710c4cbacbdd95264a3122d23224ca
pre_build() {
vsed -i "/setup_args\['data_files'\] = /d" setup.py
}
post_install() {
vlicense COPYING-MIT
}