New package: python-hpack-3.0.0
This commit is contained in:
parent
7e3c4956d9
commit
8ea724bf64
2 changed files with 31 additions and 0 deletions
30
srcpkgs/python-hpack/template
Normal file
30
srcpkgs/python-hpack/template
Normal file
|
@ -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 <ndowens04@gmail.com>"
|
||||||
|
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*"
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-hpack
Symbolic link
1
srcpkgs/python3-hpack
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-hpack
|
Loading…
Reference in a new issue