diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/wsaccel/wsaccel-0.6.3-r1.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/wsaccel/wsaccel-0.6.3-r1.ebuild b/dev-python/wsaccel/wsaccel-0.6.3-r1.ebuild new file mode 100644 index 000000000000..3145f9bb625d --- /dev/null +++ b/dev-python/wsaccel/wsaccel-0.6.3-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Accelerator for ws4py, autobahn and tornado" +HOMEPAGE=" + https://github.com/methane/wsaccel/ + https://pypi.org/project/wsaccel/ +" +SRC_URI=" + https://github.com/methane/wsaccel/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + cd tests || die + epytest +} |