void-packages/srcpkgs/python-hyperframe/template

31 lines
800 B
Bash

# Template file for 'python-hyperframe'
pkgname=python-hyperframe
version=5.2.0
revision=1
noarch=yes
wrksrc=hyperframe-${version}
build_style=python-module
pycompile_module="hyperframe"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Pure-Python HTTP/2 framing (Python2)"
maintainer="Nathan Owens <ndowens04@gmail.com>"
license="MIT"
homepage="https://python-hyper.org/hyperframe/"
distfiles="https://github.com/python-hyper/hyperframe/archive/v${version}.tar.gz"
checksum=cd69754e1a7dc16ac5b9c128ffcbb54b7598853bd54ed24a94df29a58eb541ec
post_install() {
vlicense LICENSE
}
python3-hyperframe_package() {
noarch=yes
pycompile_module="hyperframe"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove "usr/lib/python3*"
}
}