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

This commit is contained in:
Andreas Billmeier 2022-10-16 10:13:51 +02:00 committed by Andreas Billmeier
parent 5ea4a81ca8
commit fd7b4882d6
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 1609 Ebuilds in total, 1602 of them have in total 1614 (34 different) licenses assigned.
There are 1608 Ebuilds in total, 1601 of them have in total 1613 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|954|
|Apache-2.0|316|
|GPL-3|96|
|BSD|92|
|BSD|91|
|LGPL-3|26|
|GPL-2|21|
|all-rights-reserved|14|

View File

@ -1,5 +1,3 @@
DIST jsonrpc-base-2.0.0.tar.gz 5888 BLAKE2B b0f2e17de97a135ddaa610559c94362001005f9f78020969f50f604c7cdc202006b2c7919329b88ae182f5c5284a250beae891b31b732683e993665c0660b4ce SHA512 10a7158d01bb4a5846895e1854b6e2594d70d73e0350af442799423f126b371df18340040ea87523f813089ac42b2e48cf6011f694deebbb6d74f99e511d12f2
DIST jsonrpc-base-2.1.0.tar.gz 5867 BLAKE2B f4b1463eeb670c248bbdbbca26cb028f4679b9aeb62ee1047b7331ecdd04ab03a123764e3b2a96b46c901c0a3b006858477f1ede4cc69583411e107106ed6985 SHA512 3f697b76c588a56b894ee16a0e65b6f4454255c0f3e71029854047474a76c7e7064623fd62c42ef70797b66f96bccffed4c646832b4c9d84f95a98eb2d136f62
EBUILD jsonrpc-base-2.0.0.ebuild 727 BLAKE2B c227a92814267d8d2a2e30c1b10f5d86e70f3025591e85e7f8342094b3d572245a68c9535329e9d9dc11c1220a8b053d346f8782d3931c4313914557ae73108c SHA512 a9989b484b84238345bc37a644310c9c51e866e5c0ad024e241259872cca3cbebfd8d4e9e95b06dff34b8c37d65cb747debb73a0f036b42f7573f03f500f7150
EBUILD jsonrpc-base-2.1.0.ebuild 721 BLAKE2B b385d096241af6fe78a271e090ebccf61a275d8e3f0366026b13c1d8e0a88a15528e100ba463da41d5525980dd2c05fa4928f95ec21f2aa33e33fb6df7372d04 SHA512 79edcb5d3dbad99bf2582250e18b352c0491a954bb7b34683475948442730e0332466db1f62d1ef31452720011293b124ca2792d16930000ed683f2ee305a00b
EBUILD jsonrpc-base-2.1.0.ebuild 717 BLAKE2B 2cf294672772e5ab879e1cdae6fab679b9f6923cf304b774fc561c07ef2dda960b3c259e4fa7c1da832f1d43eb52372f30c5347b09384acd73187074f8c4c8d7 SHA512 48a2a0d62026d9584b676e8073ba3007787d3c3d3a42afbe0ff933618404737eb5a76f9a5a28c1dd4b882eae956d97686c70bf63bc44f39fc007142825d5aa55
MISC metadata.xml 451 BLAKE2B dd0f5d35d0f138e8d21abef577bf7c2b6674596678ab4559712f87ffc601224d97c86a6bb73dae89db58683d373083185127b86ae0a243468f97c43409352f4f SHA512 09fba012c44bfb0420b585471e4f0855ac90acd00b5bdd53823b28a7bcbc4518982de1fe1279bb6b6d2449283c6550c4501d84c17877b17e18eac2944dba559e

View File

@ -1,33 +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 client library base interface"
HOMEPAGE="https://github.com/emlove/jsonrpc-base https://pypi.org/project/jsonrpc-base/"
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=""
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,13 +13,12 @@ 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 )"
DOCS="README.rst"
RDEPEND=""
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
@ -31,3 +30,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest