void-packages/srcpkgs/python-hyperframe/template

31 lines
800 B
Bash
Raw Normal View History

2019-01-10 21:38:41 +00:00
# Template file for 'python-hyperframe'
pkgname=python-hyperframe
2019-01-19 22:37:08 +00:00
version=5.2.0
2019-01-10 21:38:41 +00:00
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"
2019-01-19 22:37:08 +00:00
checksum=cd69754e1a7dc16ac5b9c128ffcbb54b7598853bd54ed24a94df29a58eb541ec
2019-01-10 21:38:41 +00:00
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*"
}
}