diff --git a/srcpkgs/python-hyperframe/template b/srcpkgs/python-hyperframe/template new file mode 100644 index 00000000000..6cd6b3f26c0 --- /dev/null +++ b/srcpkgs/python-hyperframe/template @@ -0,0 +1,30 @@ +# 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 " +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*" + } +} diff --git a/srcpkgs/python3-hyperframe b/srcpkgs/python3-hyperframe new file mode 120000 index 00000000000..6a9d1016f10 --- /dev/null +++ b/srcpkgs/python3-hyperframe @@ -0,0 +1 @@ +python-hyperframe \ No newline at end of file