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

This commit is contained in:
Andreas Billmeier 2022-10-16 09:52:13 +02:00 committed by Andreas Billmeier
parent 6cd70c2993
commit eca99f7222
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 additions and 41 deletions

View File

@ -538,14 +538,14 @@ 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 1621 Ebuilds in total, 1614 of them have in total 1626 (35 different) licenses assigned.
There are 1620 Ebuilds in total, 1613 of them have in total 1625 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|960|
|Apache-2.0|317|
|GPL-3|98|
|BSD|94|
|BSD|93|
|LGPL-3|26|
|GPL-2|21|
|all-rights-reserved|14|

View File

@ -1,5 +1,3 @@
DIST iaqualink-0.3.90.tar.gz 8221 BLAKE2B 02f6d5340a0573207ec13c305002fd13fa7c5476ef6fc210472e18aa122376afbcdd645103c1683ddb33a9ca8f31c0f33f7db2ed0e4096c57ad9d4dc8e0e0da4 SHA512 1c6c34495d06cd22a6915bbc46e1fdfa23e74a1b6db65c2f99feb7a5546bb30fb457ffa3a6ed5179fc695d3310a1c94d11b31d59805cfa4fa0fb30c37fed4c81
DIST iaqualink-0.4.1.tar.gz 9684 BLAKE2B a0800b9393ad2df0c3c51b51c20408ff383063bc593d727d3494e86d955e20c8e4e817e02d98a33a892eeb404e368fc7c6f74739df2e6130a8861ebd959ecef5 SHA512 136de0c1ed4a78dd1e3aa73f474ffa8012a8efb594738b6602c50a7e49e58effb82b9ad09edee195cb3867c69546ce0bae5871fdf3d395fda1ee7cd9eac90e62
EBUILD iaqualink-0.3.90.ebuild 782 BLAKE2B 3b5b9c3271025376d43ddd04c0d73491743c2bc13a32243e49769e584a9719560281853dc40b714bf99f35145742da2249b20fbe9d005f68646eef807b6d82b4 SHA512 f158ba9bd9b12e958306a1d9dbb60743c64e729f1c2aa10ebce5449821f17ed6e01a5a579210088a6a0058980f8cbd4b2ece5aba079a8c3a83adee4999c7e437
EBUILD iaqualink-0.4.1.ebuild 776 BLAKE2B 901733c504792291edc3b89c388b382d509232261fe08004b1fcd01f1f2275bb5d38597dcd588bf2326243947548b96bbf5a676e304ebc7be7cffbb25a9bba8e SHA512 444965d693e7b5ed10a2b9990c3b5db9ed27876f75fbfb0a1eab45a8057cfb7521356b538874284079929beb3f52d80958cc40bf35124383ebf2bdb57d202d9c
EBUILD iaqualink-0.4.1.ebuild 783 BLAKE2B baf2e420c24075fb3637a9251d4ed432811f59e1e114cf1866d71dcce9a2307571831b680a4cb89fafb24442dbb64e9b4848262d9ef81441bf830ce354011c88 SHA512 01779328cc4c9ad7bb9446b7bde637e04fd1884fd0b7337d575b5ed301029b6e33a19405f11da0854271acf86d3f7188f851c899f629c63a11a998a0c8c97bf4
MISC metadata.xml 456 BLAKE2B e5ba289525a502d1065fd3043acb882f72510ce2da5fcde095982dbd0710fd18d63c945233f0f735d7415ecf89b8e45f9f7ce1e6f801f2c5f8a23591701dc337 SHA512 2dcf81bcb9a50a781877eb8d2acdd8af5fc5ec355e635646175759d66d528b8c83d3833a8bf5ffd2b3a7fc64555cdf41da28c480f08305da1831fe91f18950e6

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="Asynchronous library for Jandy iAqualink"
HOMEPAGE="https://github.com/flz/iaqualink-py https://pypi.org/project/iaqualink/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
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}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/pytest-runner
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="BSD"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@ -32,3 +32,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest