void-packages/srcpkgs/python3-aiohttp-sse-client/template

21 lines
827 B
Bash

# Template file for 'python3-aiohttp-sse-client'
pkgname=python3-aiohttp-sse-client
version=0.2.0
revision=2
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-aiohttp python3-attrs python3-multidict python3-yarl"
checkdepends="python3-devel python3-pytest-asyncio ${depends}"
short_desc="Server-Sent Event library for Python, based on aiohttp"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="Apache-2.0"
homepage="https://github.com/rtfol/aiohttp-sse-client"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=7fe8f9af35cf9a97249562e81a35c2f86544ce388928223205021ab00c30edca
post_patch() {
# Package does not *need* pytest-runner to build, and Void doesn't have it
vsed -e "/setup_requirements/s/['\"]pytest-runner['\"],*//" -i setup.py
}