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
version=5.1.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=6953b38a7ddcd82c7f5dee41fd719290a11d39ca99d93a5a4a7b0b74cb0093ec
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*"
}
}