summaryrefslogtreecommitdiff
path: root/dev-python/websockify/websockify-0.9.0-r1.ebuild
blob: 09e246f3ba53a4adde3d018eb440985dcf1d1457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

PYTHON_COMPAT=( python3_{7..9} )
# entry_points is used
DISTUTILS_USE_SETUPTOOLS=rdepend

inherit distutils-r1

SRC_URI="https://github.com/novnc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
DESCRIPTION="WebSockets support for any application/server"
HOMEPAGE="https://github.com/novnc/websockify"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"

RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
BDEPEND="test? ( dev-python/jwcrypto[${PYTHON_USEDEP}] )"

# Backport a patch removing the need for mox3
PATCHES=( "${FILESDIR}/${P}-mock-tests.patch" )

distutils_enable_tests nose

python_install_all() {
	doman docs/${PN}.1
	distutils-r1_python_install_all
}