30 lines
804 B
Bash
30 lines
804 B
Bash
# Template file for 'python-hyperframe'
|
|
pkgname=python-hyperframe
|
|
version=5.2.0
|
|
revision=2
|
|
archs=noarch
|
|
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() {
|
|
archs=noarch
|
|
pycompile_module="hyperframe"
|
|
depends="python3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove "usr/lib/python3*"
|
|
}
|
|
}
|