Permalink
Browse files

New package: python-wsproto-0.12.0

closes #6856
  • Loading branch information...
root authored and maxice8 committed Jan 11, 2019
1 parent 3add476 commit 0a508b9c03eed8a08b505525739630a61e8f21b1
Showing with 31 additions and 0 deletions.
  1. +30 −0 srcpkgs/python-wsproto/template
  2. +1 −0 srcpkgs/python3-wsproto
@@ -0,0 +1,30 @@
# Template file for 'python-wsproto'
pkgname=python-wsproto
version=0.12.0
revision=1
noarch=yes
wrksrc="wsproto-${version}"
build_style=python-module
pycompile_module="wsproto"
hostmakedepends="python-setuptools python3-setuptools"
depends="python python-h11 python-enum34"
short_desc="Sans-IO WebSocket protocol implementation (Python2)"
maintainer="Nathan Owens <ndowens04@gmail.com>"
license="MIT"
homepage="https://wsproto.readthedocs.io"
distfiles="https://github.com/python-hyper/wsproto/archive/${version}.tar.gz"
checksum=a133e55752d29cba690d00d51ecbfec6624d15f7cd0634452d3b03b495c2086c

post_install() {
vlicense LICENSE
}

python3-wsproto_package() {
noarch=yes
pycompile_module="wsproto"
depends="python3 python3-h11"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove "usr/lib/python3*"
}
}

0 comments on commit 0a508b9

Please sign in to comment.