31 lines
938 B
Bash
31 lines
938 B
Bash
# Template file for 'python-socketIO-client'
|
|
pkgname=python-socketIO-client
|
|
version=0.7.2
|
|
revision=2
|
|
noarch=yes
|
|
build_style=python-module
|
|
pycompile_module="socketIO_client"
|
|
wrksrc="socketIO-client-${version}"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-requests python-six python-websocket-client"
|
|
short_desc="Python2 library for socket.io"
|
|
maintainer="johannes <johannes.brechtmann@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://pypi.org/project/socketIO-client/"
|
|
distfiles="${PYPI_SITE}/s/socketIO-client/socketIO-client-${version}.tar.gz"
|
|
checksum=64cd84fba79cf97f28c11e64d1fc42a2221f2d7a4fada05ab381e2d73d74d2c1
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-socketIO-client_package() {
|
|
depends="python3-requests python3-six python3-websocket-client"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
noarch=yes
|
|
pycompile_module="socketIO_client"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|