dev-python/jsonrpc-websocket: remove olds, cleanup, enable pytest

This commit is contained in:
Andreas Billmeier 2022-10-16 10:14:38 +02:00 committed by Andreas Billmeier
parent fd7b4882d6
commit 60cb4097e6
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 8 additions and 42 deletions

View File

@ -538,14 +538,14 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1608 Ebuilds in total, 1601 of them have in total 1613 (34 different) licenses assigned.
There are 1607 Ebuilds in total, 1600 of them have in total 1612 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|954|
|Apache-2.0|316|
|GPL-3|96|
|BSD|91|
|BSD|90|
|LGPL-3|26|
|GPL-2|21|
|all-rights-reserved|14|

View File

@ -1,5 +1,3 @@
DIST jsonrpc-websocket-3.0.0.tar.gz 9568 BLAKE2B 7702bdc9514e5d70e857f98cf72cc1735a5126f368045b96d33cfebc529f2424ec975c1511d00a357df8cd660ffb20237556ec4cf5fa2dce4942875a1643e307 SHA512 7348cbcf8c7456939b20aa55f597568e6f33508b310d648a671d70d2f9883cbf968458cda29f1e2a5aefb1cc55f0f81f1e2787f0cf1cf98636dd263e753b598e
DIST jsonrpc-websocket-3.1.1.tar.gz 6153 BLAKE2B ef5b24b553e921cf46e07a2737f147abcccd6cb95e4f62984855362cc460298ce3659550dbcd44e19fc58c9e3353e01a48e6d1eede421fc5b0b2e92b92318556 SHA512 144a0ac2829cf7a8b760271b254b371e8a64197a4289247d2278aefa019d4907a5fbb963a004a2d89cd235de160dbad402a8e9888385ddfd5944e37db0f0d7a3
EBUILD jsonrpc-websocket-3.0.0.ebuild 839 BLAKE2B 1c2377be5a2a7fccf9e31c6e4f20c2bd8c629e4f4304a1ac29470c49da15a48feddaf9b394fbe26ee3b8740f5d07744f495ff9b2dc024183bfe20bc0169c8a7c SHA512 41b1c674495bd20455f8091a57fb1294d78ec0dd199da5636451bb4dc28be1562ae19874e24de2b5cd26d7d9498c7e2462e6a46f8fdcfaef91c79855823b7aa3
EBUILD jsonrpc-websocket-3.1.1.ebuild 833 BLAKE2B 7bf570889784ab9ecad4a3c46fa33534960388fd097f5ef811bfcb829060af73d41f5a31b1c448f63642362a7c3b2969d8ce83f822a19990aaf3975ae8d0deb6 SHA512 6020dcc26d80444854a42bc9d5d04839b1bb29fd5d54db51bb772b051fd4bc5aed97624282e2f891695b65edeea7eefda060ed6dbe37a83812ab0649a9eabd7e
EBUILD jsonrpc-websocket-3.1.1.ebuild 840 BLAKE2B e4fe4a4e1e817c571b28dc67db00cb53311dfc350081c25b712b284c98d4c16cc3629d8cdd1bcb2d40fd4e0a0276c610ac54857000c7250dcd4d00cd7f63fb12 SHA512 dad42b86913bd8d7c88787acb5d9e0516d25944596ea54d3c360d7a9a8c346ef6e779c14d6fc954a7d3e47a5e5cf59e461a34d0b1e8e5264131d6b7750badc96
MISC metadata.xml 461 BLAKE2B 57066e4b84cd049d97d286bba2c0f0b20c4b117f2e2203f967d9e295d9567ca824300771fc584c6583259b87f1e5d350c64793770e70341e60a8fb62f32b4a39 SHA512 17fe2a8a3878b4e14c4720b00bb79c2957d9708967cda2bf9283f945d2e92e68d0e1bf811f44a5efd99468e3c860743c05a9990d6641eb0b2fd0731dd9c37446

View File

@ -1,34 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="A JSON-RPC websocket client library for asyncio"
HOMEPAGE="https://github.com/emlove/jsonrpc-websocket https://pypi.org/project/jsonrpc-websocket/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND=">=dev-python/jsonrpc-base-2.0.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-3.0.0[${PYTHON_USEDEP}]"
BDEPEND="
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
}

View File

@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@ -32,3 +32,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest