dev-python/pykwb: remove olds, cleanup, enable pytest

This commit is contained in:
Andreas Billmeier 2022-10-16 18:06:17 +02:00 committed by Andreas Billmeier
parent 53cd391e63
commit 4357587802
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 additions and 40 deletions

View File

@ -547,11 +547,11 @@ 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 1549 Ebuilds in total, 1542 of them have in total 1554 (34 different) licenses assigned.
There are 1548 Ebuilds in total, 1541 of them have in total 1553 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|912|
|MIT|911|
|Apache-2.0|308|
|GPL-3|95|
|BSD|89|

View File

@ -1,5 +1,3 @@
DIST pykwb-0.0.10.tar.gz 5000 BLAKE2B 344581404b35b0f9fa9bb39e039b60f9570a00d4274742c14d60eec17e56d4b1a2cc54f31bc60572285b7efde1bd32466886a6540aa866e334132df302d0b771 SHA512 b449245d27a0d257a0eb42f86838259ef941b06d479e3d12ed5f7ac5c07f7b49e8e046b007c77bc26e4872909f336c6e354d95e964665e3d6de15161f0b449fb
DIST pykwb-0.0.8.tar.gz 4613 BLAKE2B 4544f30995cd74a0461c48c11e3be9c4e5defa91849763c1fdc0e5a5d9f8b777c993bcc28be15ca915b587388e1249d0eddb3146bfbbd495e57e11e11c80683e SHA512 84f0c08c74487d0e2c1f9ce4fe02c26f76c9137e1af28e653bdace614dde937ddfd5202a03fc2b01a243967f96f77faeb722e24a493e1f930a0e833f1b3627e0
EBUILD pykwb-0.0.10.ebuild 763 BLAKE2B 75b8d72e13c0e8db0f7a335a7625fd167b646a701d4a862d574e599713677b6e38235102ec7dd774c44248cb9ee964c54ab905a54cf7b5f22de5668aa6be845c SHA512 863e40985db5851ccfe13a8c9526a9827d8077f8faab30fa0bc8ac942bcdd53fd2cdd8ca0759a54d3e3780454878b509a9607ce3948ff14bb9cae15ebfbe59fa
EBUILD pykwb-0.0.8.ebuild 763 BLAKE2B 75b8d72e13c0e8db0f7a335a7625fd167b646a701d4a862d574e599713677b6e38235102ec7dd774c44248cb9ee964c54ab905a54cf7b5f22de5668aa6be845c SHA512 863e40985db5851ccfe13a8c9526a9827d8077f8faab30fa0bc8ac942bcdd53fd2cdd8ca0759a54d3e3780454878b509a9607ce3948ff14bb9cae15ebfbe59fa
EBUILD pykwb-0.0.8.ebuild 734 BLAKE2B 2fd715d8dda155be7000524e9dd89cb2d3ee2dfead7b039a168b846c882171462ba8aac9b9712ac09ad21616432b1c5cce1bb17d0ddd4945e6cd7499d3075da3 SHA512 41d667086845951ad8afc5efb702a12fa5ae70e580cbbd98d2d5046ef7dd8f5ddf6a8e1c5c2a6338101447f23df49756a51aea11c25fb8964306a10b0611e9be
MISC metadata.xml 445 BLAKE2B b4397325fd602959a1b49389130ce1eaaddaebee8ef31aea9b86a1f5262726d837e41b86fd15b5f101371ba5577db961de7a0d6859486e7798aaa33e019ef8da SHA512 dc860e91fbee25cab39ad3f63140d60d6d8d225643e7fee70a89035e4fc497c16d7725b2993f6a4a2d949a1ccace6a47b1c5f1ff60275487c06731b2727760cb

View File

@ -1,31 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
DESCRIPTION="KWB Easyfire serial library, for inclusion into homeassistant"
HOMEPAGE="https://github.com/bimbar/pykwb.git https://pypi.org/project/pykwb/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/pyserial-3.0.1[${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="7"
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"