dev-python/logi-circle: remove olds, cleanup, enable pytest

This commit is contained in:
Andreas Billmeier 2022-10-16 10:57:35 +02:00 committed by Andreas Billmeier
parent 2a47ef7b07
commit 0b778302a6
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 8 additions and 44 deletions

View File

@ -546,11 +546,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 1604 Ebuilds in total, 1597 of them have in total 1609 (34 different) licenses assigned.
There are 1603 Ebuilds in total, 1596 of them have in total 1608 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|952|
|MIT|951|
|Apache-2.0|316|
|GPL-3|96|
|BSD|90|

View File

@ -1,5 +1,3 @@
DIST logi-circle-0.2.2.tar.gz 18042 BLAKE2B c4c2b70f7ed6f8a0dee6ddf05c05c3fed9867a262e193f28b1e5f0bfeda7a06899e09e72cfd36edc84db575ad7aa0fbffe7d778984dae006ca339c573ed539e3 SHA512 919c3b0b6259f47c7ca2e8d6fa070f6710dc806bb2edc5a584d0a1f162b85e9ad669caffd99375768f6d9e4176bd17843e3978e58f1f259923477c44eb190226
DIST logi-circle-0.2.3.tar.gz 19331 BLAKE2B d87765adc21ffded5ba129e3bc6c7ae5bc602b1d5d609a62b16e9c369bcb4f179a7392f7308f4bf16c3a8cc4e757b98239d2681259b21544ea1f8b3a66ce44fd SHA512 eda0a0c0eeb645b11335c1c079d9253dfef73c93b957c78c4361ff4425884ac6f04fcbc816fc7d13cee6d75f279fab2583888f7c0e667faeaeb8c1e5fb30b517
EBUILD logi-circle-0.2.2.ebuild 884 BLAKE2B bbbeeff2346ddf6a3b0d2acf129d29081568c906b629def6010dca01b3817e33abc67d3f71445fab16264b7b4bc27356d06add03f4329004d3a1f991d460e223 SHA512 0ce6bc3e9d2cdc841109feb983bdda75c512e6a4c2d7efe7d6dd4ca038861e75a33e42555686e1af09195cf6d73b6d9291a2c48fb7dd6cf40459df6e71d2530c
EBUILD logi-circle-0.2.3.ebuild 884 BLAKE2B bbbeeff2346ddf6a3b0d2acf129d29081568c906b629def6010dca01b3817e33abc67d3f71445fab16264b7b4bc27356d06add03f4329004d3a1f991d460e223 SHA512 0ce6bc3e9d2cdc841109feb983bdda75c512e6a4c2d7efe7d6dd4ca038861e75a33e42555686e1af09195cf6d73b6d9291a2c48fb7dd6cf40459df6e71d2530c
EBUILD logi-circle-0.2.3.ebuild 891 BLAKE2B 44d0b1f6898844c422c7a416e65d941488eaf422a89a78227a31ed2f18000c799b5cd886acf0df513556be5a9b7895e08028712506306c1ba12aed4aa8baec20 SHA512 ae78b849b8e9deb1962285acb8ea2bd49766eff86518a65d121cbbf002e257a285108ec7d24af868b06a9d3f2ce0e32947461e8f2c9aaa0a8a4de76e934707f2
MISC metadata.xml 454 BLAKE2B cae60af477be9765c5e84f202b732cf1e9625e44119f8df5f880596f65b2ca027cc04546bc128a3a47e96c21496dbad1ae11e702438899c1c3d7e6d72e443e56 SHA512 ae7bf8155c7c01bd097d280852be94bc1c5f8df58215de2a0472f9da706e71e92c1ceb45d47ccfbb7064b062628824e8f5b7bc472fef02004b562c2a17cf9836

View File

@ -1,36 +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="A Python library to communicate with Logi Circle cameras"
HOMEPAGE="https://github.com/evanjd/python-logi-circle https://pypi.org/project/logi-circle/"
MY_PN=${PN//-/_}
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/pytz[${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
@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@ -34,3 +34,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest