# Copyright 2022-2023 Haelwenn (lanodan) Monnier # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit nodejs optfeature DESCRIPTION="Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js" HOMEPAGE="https://github.com/websockets/ws" SRC_URI="https://github.com/websockets/ws/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" RESTRICT="test" DOCS=( SECURITY.md README.md doc examples ) pkg_postinst() { if has_version '