void-packages/srcpkgs/python-socketIO-client/template
Johannes 0faa2c5ed6 New package: ripe-atlas-tools-2.0.2 (#5215)
* New package: ripe-atlas-tools-2.0.2

The official command-line client for RIPE Atlas.

* New package: python-ripe-atlas-cousteau-1.3

Dependency of ripe-atlas-tools

* New package: python-ripe-atlas-sagan-1.1.11

Dependency of ripe-atlas-tools

* New package: python-socketIO-client-0.7.2

* New package: python-IPy-0.83
2016-12-15 11:26:38 +01:00

31 lines
941 B
Bash

# Template file for 'python-socketIO-client'
pkgname=python-socketIO-client
version=0.7.2
revision=1
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.python.org/pypi/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
}
}