diff options
Diffstat (limited to 'dev-python/websockify/websockify-0.9.0-r1.ebuild')
-rw-r--r-- | dev-python/websockify/websockify-0.9.0-r1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/websockify/websockify-0.9.0-r1.ebuild b/dev-python/websockify/websockify-0.9.0-r1.ebuild new file mode 100644 index 000000000000..3e94e67a53ce --- /dev/null +++ b/dev-python/websockify/websockify-0.9.0-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) +# entry_points is used +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +SRC_URI="https://github.com/kanaka/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="WebSockets support for any application/server" +HOMEPAGE="https://github.com/kanaka/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 +} |