dev-python/freebox-api: remove olds, cleanup, enable pytest

This commit is contained in:
Andreas Billmeier 2022-10-16 08:30:15 +02:00 committed by Andreas Billmeier
parent 4898912d00
commit cd45fe90d8
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 9 additions and 43 deletions

View File

@ -538,13 +538,13 @@ 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 1637 Ebuilds in total, 1630 of them have in total 1642 (35 different) licenses assigned.
There are 1636 Ebuilds in total, 1629 of them have in total 1641 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|971|
|Apache-2.0|320|
|GPL-3|99|
|GPL-3|98|
|BSD|94|
|LGPL-3|26|
|GPL-2|21|

View File

@ -1,5 +1,3 @@
DIST freebox-api-0.0.10.tar.gz 36722 BLAKE2B 54a343308610cfa59d37f61cf21792a40c26cbd1a5f1f3d9256c4f24921fb3734110806f443676839f40b7ba187712af348344c28e7e101ab93cda51befab456 SHA512 560edb06547991057d3c0a180373c377130670e875dd734278488ffebbbe41367795f32563eb418a6e0341d6ce8c1786fec026aab7cdea3f864aad5ae4a00031
DIST freebox-api-0.0.9.tar.gz 36678 BLAKE2B 9acdd82feeb9a0b049fa8ecb5c1ca7edc3b8bfa252df63454daf538cf9ab4b8d771926a37ce015a0acd3bd846f63897c7d29b70468704c87ee2c1f58e255bf40 SHA512 d8360fba43b2b781983490ebfbd6f8636b4065e00edf0c86f98e782c38a332e68e5c1b840dce20bed426d887a332e285115c816bc4eb39ff9f8500482500c35b
EBUILD freebox-api-0.0.10.ebuild 786 BLAKE2B 0b77f299c9e2cd19ce8e10d82ddece9772f735971687f487ff776efdd8b2b4c4877c26a812feb67adbd9e25a548c5244a47c1e2b4e707b2c1d1a63129332d504 SHA512 6e92aa28f1563499e2ee363af54439dc6be7babde37188723b9ca3d664ce8700ce0eba4b281cfe161f2043b7914cc77ed428b71a4e0a2c4d2b1675768fe0b2d0
EBUILD freebox-api-0.0.9.ebuild 839 BLAKE2B 5de2f3549dd514d71c16f298d96c3917719807f849ea85a6efd1a6af295d773799fe46707e7d9bacb433e87c79260b0f5b607e67eac0668d6222d2b6d23eeb00 SHA512 fd55dfa353fd9c9424241ab57a3c63f8317c723ef6f8e354e46e9c901ede13c8c13806060cd40d12f5533bdce43e63c9374f99263b158f0bfa328e7c85d01006
EBUILD freebox-api-0.0.10.ebuild 791 BLAKE2B 80e2d317f184efb930321b72f14ae386b713cc40b0ed92e5fc44ebc5c98f635b27ec857d76cc7352d2cfb3f9035ce1fce84c76857bea81b8ad38e77843f182fc SHA512 ac3c06361622c8d3bf7c8d881803ea4325bcca118a890b2e3eaf1e5d4ba8dd5fc3b770319b7513973ee8efdca4469988c44c72085d74392758d170f3ac16d7a7
MISC metadata.xml 455 BLAKE2B 3b353d733d3b76da615a1690351cb2aa79db532af169108b2bfc04553a0f08c560ac09d9e4e4f03c6e9bdfea53e617d5514e16a083ea7f99f7618cc8075a5c35 SHA512 4f5ab983784a919ea1afdbafa918e8755fa5868e9f6dba80b09807f1f14366dcd0fe3d1cd4cfb42e84ca64234754755d8f38db0abe14d0e21fe704d2b8e68277

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

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="Provides asynchronous authentication and access to Freebox servers"
HOMEPAGE="https://github.com/hacf-fr/freebox-api https://pypi.org/project/freebox-api/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.rst"
RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/importlib_metadata[${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
}