void-packages/srcpkgs/python3-aiohttp-sse-client/template
2021-03-01 16:28:38 -05:00

20 lines
827 B
Bash

# Template file for 'python3-aiohttp-sse-client'
pkgname=python3-aiohttp-sse-client
version=0.2.1
revision=1
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=f593a5ce3acb617c4b966c04d8e4408da4506a1e4730073526b648f51ba9edc9
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
}