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

This commit is contained in:
Andreas Billmeier 2022-10-16 16:42:00 +02:00 committed by Andreas Billmeier
parent aac8aab09f
commit 80580c1d06
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 additions and 42 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 1565 Ebuilds in total, 1558 of them have in total 1570 (34 different) licenses assigned.
There are 1564 Ebuilds in total, 1557 of them have in total 1569 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|925|
|MIT|924|
|Apache-2.0|310|
|GPL-3|95|
|BSD|89|

View File

@ -1,5 +1,3 @@
DIST pybotvac-0.0.22.tar.gz 14617 BLAKE2B 1073b1e831ce8e40ab4cfbb2548120c4d3802961e6698ca8e32d80a7099c7ae075595a94ab021d93a894d2cbd7652a7813d8fa6e147b6743c47dd30462b21923 SHA512 a4455b94f47a82e1b50231b017cdd668dea02ddabf05c39bb30671ec09847fdf00c67cb7412513e7fbf61d93b363944041890e529665a85e5a9fa2a5963d5f57
DIST pybotvac-0.0.23.tar.gz 14649 BLAKE2B 973479b47a3857580f65308d71d4e4cdfb831a339a4f0153ac9d149e927818260454ef8696645ddf99646c063c92c1d53f915e5a313fba6d47a5a9d36abcf856 SHA512 09ac1024c9c6fc7c132f4949a086620419c29373f5ac4f1f941d4b82ad4fb13df76338c59bee17f1718842161662afd936baa91a1464b93f84ef2d1f4e323103
EBUILD pybotvac-0.0.22.ebuild 875 BLAKE2B dfb452fc59f34f530b9aa1fc34a3f71460152f93d90cfa07bb09cd91d296a39dd50a38dc6e287ec2cffc458266f814682df41e837db0009a4a08eb5434e8d571 SHA512 98fe2c7e5ad30032a393ed32e93c86bebce56a2daf62a9d9add8ae9faaab13a4c1eaa70f41fa37a4cf56ff551625608aea5dcb0279e1f644afcecfe5c32bf78e
EBUILD pybotvac-0.0.23.ebuild 873 BLAKE2B 6f30e4731d2d0e0c09bede1550182a7faec2ea1f83002f39f7054e0f46abf419e6977fa22e13920e384e43774abb2bcaac85d2b75b6e887a9e80d546d47d5989 SHA512 462aaada318cf3f52aa20add2147bfea5ba7bff5db00be68da9c652ee82566c88c2ad155ef23c32f95e7b0d71dd73e20a2a3fba4443672bedbf414a9a52fac76
EBUILD pybotvac-0.0.23.ebuild 876 BLAKE2B 110cf748939b78bcaee9ce54e1c4fb5bf8b0b95ec9c26609b2f745e1a166420833a990044ab5708e5e8421f94c4c010ee4da9f754206e512b0bf81a4892bb655 SHA512 6bfdc99f66929e3658d9a1db5b0c4a8a690d49ae3794456941f3ed971a8afb25dd603bbfa5fd3de6768467dec303c2381a719e640d16e7e0c3525cad2c945155
MISC metadata.xml 454 BLAKE2B e720fdab283dda588ef10e9f5ea43f593c2fe5dfe9cfcc32fbc36b96423dfb0422852595bbc3969d6bde26fdfefd851e9289ed36d47d8955fe9e5b3ffc2f041c SHA512 04bb7e9254c1ec22d2c42add4fca9ef0d810d48c3c8a2381db0ca504cd3688d3ce74efeb3fdbb022315380e1241125354a71b43ed899ef31d37c56c9a6764e89

View File

@ -1,35 +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="Python package for controlling Neato pybotvac Connected vacuum robot"
HOMEPAGE="https://github.com/stianaske/pybotvac https://pypi.org/project/pybotvac/"
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 )"
DOCS="README.md"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
dev-python/requests-oauthlib[${PYTHON_USEDEP}]
dev-python/voluptuous[${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 )"
@ -33,3 +33,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest