parent
3add4761e6
commit
0a508b9c03
2 changed files with 31 additions and 0 deletions
30
srcpkgs/python-wsproto/template
Normal file
30
srcpkgs/python-wsproto/template
Normal file
|
@ -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*"
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-wsproto
Symbolic link
1
srcpkgs/python3-wsproto
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-wsproto
|
Loading…
Add table
Add a link
Reference in a new issue