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

This commit is contained in:
Andreas Billmeier 2022-10-17 21:07:56 +02:00 committed by Andreas Billmeier
parent 658becdddc
commit 6ec9d6ea5a
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 additions and 38 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 1518 Ebuilds in total, 1511 of them have in total 1522 (34 different) licenses assigned.
There are 1517 Ebuilds in total, 1510 of them have in total 1521 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|889|
|MIT|888|
|Apache-2.0|307|
|GPL-3|93|
|BSD|89|

View File

@ -1,5 +1,3 @@
DIST python-juicenet-1.0.2.tar.gz 2915 BLAKE2B 7c2f21679788f1a7c481c63ac003906bbe0511d98f4b6dbfa4f504d112df2e67362648f1da71c308d89877f30aba38af515d0739b578ce6a7c5b8d567d73ee1c SHA512 5044089e79179314613f747c0a0c355733c66c84d477185611cefdae3131781fb5a6ac26374909266baef138374d2db9f6d12e2b2f534b94ffc7a7d511d04b6e
DIST python-juicenet-1.1.0.tar.gz 3979 BLAKE2B ab25d7eb14b5647b78157ae4bb7facc7cbd4bdba03b529aa97f0c1d678cc4acd17b6e27a7e0eb214ebeba1d2e853c73c2a57cf7969bbebfa56457d52f83f9d42 SHA512 93c153eaf13cec1c6db152bea1bc4470426b650f467f8e804ea85171595f81cf7994b38c4e37f0fb9137851a36cd16314cddf89356165f3b33b37cb0316607a4
EBUILD python-juicenet-1.0.2.ebuild 772 BLAKE2B 78b919d3e25d4b7ae7526551c21ee7b296a3ea9cd6f87690cc2efde8182d99d9cf3695529c601507149b2ab15a51e45d685ede178928cd42e9cd0bd0f99c627d SHA512 f16580b89653a2ba5f069d9533b2538086d4b8bedcdd09a24cd42ea8b761a103829fc165b5d73845751cad595aaa95fd116fa78e5a9d01fb1fec53e2c057838c
EBUILD python-juicenet-1.1.0.ebuild 772 BLAKE2B e3bcddf8000ba30bd331da944dd9180d7f7031b72e0656428cf88addbdd4a4afad6cc8a0e2c21d499d0700493b27fd21f3f1e103722c56b2d6d8635219ed462b SHA512 950ae025da16ee8772e58a2540aa88bca895758876d6667c394b3edd0411c0f64c6058e9a2172f2a3f90f224773378ce0d32902c250d5d0d4fbe954c9f6abb0c
EBUILD python-juicenet-1.1.0.ebuild 779 BLAKE2B 51685846e3d14a63f2faeebca34a766a6a8bc50fc9fec60726d0e4453f6c9057815ee4cf7011a41607a320ac9ac175fd6303a5fc217b5081e7a51037e83cb79f SHA512 a7160c6671ef264e5a22d2aee86ed23d509fb4d738a195a9dcb7dcb027f47b1bfdb19f292f6b22a7ce4b533d5a832af612fcc1ba09ca6d8331bd2432422a3df2
MISC metadata.xml 334 BLAKE2B 9dea2d83a523cdb4e6374018494b63b09b0dfa612f588f558c51320a9379ee2464af4ddaf6a933db87c2735f9aef0dda81efcc0be0382204f2cd121317473c01 SHA512 9f034a2e668a8c7ca7a3d525bc8c27903bf917d18fa4a2939e8e3c26e8c0d1d0acf4c6593b915254550a92c6b3fd7239b8f4df5d1f77ac2e54d6437d9f91ef61

View File

@ -1,31 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Read and control Juicenet/Juicepoint/Juicebox based EVSE devices"
HOMEPAGE="https://github.com/jesserockz/python-juicenet https://pypi.org/project/python-juicenet/"
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/aiohttp[${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

@ -3,7 +3,7 @@
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="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@ -29,3 +29,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest