update lomond-0.3.3-r2 (P310)

This commit is contained in:
2022-05-01 12:25:16 +02:00
committed by Andreas Billmeier
parent bab12fb02c
commit a16e79a7b3
2 changed files with 7 additions and 5 deletions

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Websocket Client Library"
HOMEPAGE="https://github.com/wildfoundry/dataplicity-lomond https://pypi.org/project/lomond/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD-4"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/six-1.10.0[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/pytest-runner[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}