From 8ea724bf6486774ac1b1fa6d56f457e3fb87d151 Mon Sep 17 00:00:00 2001 From: Nathan Date: Thu, 10 Jan 2019 15:37:35 -0600 Subject: [PATCH] New package: python-hpack-3.0.0 --- srcpkgs/python-hpack/template | 30 ++++++++++++++++++++++++++++++ srcpkgs/python3-hpack | 1 + 2 files changed, 31 insertions(+) create mode 100644 srcpkgs/python-hpack/template create mode 120000 srcpkgs/python3-hpack diff --git a/srcpkgs/python-hpack/template b/srcpkgs/python-hpack/template new file mode 100644 index 0000000000..0136a39954 --- /dev/null +++ b/srcpkgs/python-hpack/template @@ -0,0 +1,30 @@ +# Template file for 'python-hpack' +pkgname=python-hpack +version=3.0.0 +revision=1 +noarch=yes +wrksrc=hpack-${version} +build_style=python-module +pycompile_module="hpack" +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="HTTP/2 Header Encoding (Python2)" +maintainer="Nathan Owens " +license="MIT" +homepage="https://python-hyper.org/hpack/" +distfiles="https://github.com/python-hyper/hpack/archive/v${version}.tar.gz" +checksum=0f8f5f92cfa59f91804eabb237d4b18895f3e200e282c41cedf6cd11a4416daa + +post_install() { + vlicense LICENSE +} + +python3-hpack_package() { + noarch=yes + pycompile_module="hpack" + depends="python3" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove "usr/lib/python3*" + } +} diff --git a/srcpkgs/python3-hpack b/srcpkgs/python3-hpack new file mode 120000 index 0000000000..4d4e7a1115 --- /dev/null +++ b/srcpkgs/python3-hpack @@ -0,0 +1 @@ +python-hpack \ No newline at end of file