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

This commit is contained in:
Andreas Billmeier 2022-10-17 22:09:49 +02:00 committed by Andreas Billmeier
parent 1d7e249b45
commit 797ff15fa1
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 8 additions and 44 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 1510 Ebuilds in total, 1503 of them have in total 1514 (34 different) licenses assigned.
There are 1509 Ebuilds in total, 1502 of them have in total 1513 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|884|
|MIT|883|
|Apache-2.0|307|
|GPL-3|92|
|BSD|89|

View File

@ -1,5 +1,3 @@
DIST pyuptimerobot-21.11.0.tar.gz 4917 BLAKE2B 60adc4453317b2889dac76ed37d8785f598477d9e888c39827c63ba812b58ec2d4ef1526cee3055a807c0b4f688dea29ec9d533e551a9cec57584a59a62ce549 SHA512 7ef02c712b2dcad391db0e513b5013db6bffa85db58ba8c05e6098bb5a839b083cb8c7d045c7e45b1cfb8b5a73e771b7c3ebf81c7cbeaedb0592b89370ff574c
DIST pyuptimerobot-22.2.0.tar.gz 5019 BLAKE2B 404b4415d7444f2aaa7618ea7c0b3afcbd178e3b57bd7fde0f82fc0cb283cdd8272ff0dcd15947b393602b5fa9628f2ace5dfa34f89370d3ed6888578360acb6 SHA512 824acf79cda72001ef1f4ce177db56254307f48b11eb96e319f08225753e42aa21073ad4c9b8cd4514f2c354aa17035339935cc22abcaaceb146de3c74c02e2d
EBUILD pyuptimerobot-21.11.0.ebuild 810 BLAKE2B 3b717764ca37689696bae9701438965c71712e7ebbccbadd541c97eed64fffef64cba6ada953b372d255ab8a02398393a3c6d1ba6bac3037e2863954f3be695e SHA512 0e5fa952c00b18e12d3f006aa825eb1b38162b4d8aca07622bd6785e714653c0f5fe32244d6bf712a2de13722d7707ae66e2d2f1ce1290e02d78c9aa946ede1d
EBUILD pyuptimerobot-22.2.0.ebuild 810 BLAKE2B 3b717764ca37689696bae9701438965c71712e7ebbccbadd541c97eed64fffef64cba6ada953b372d255ab8a02398393a3c6d1ba6bac3037e2863954f3be695e SHA512 0e5fa952c00b18e12d3f006aa825eb1b38162b4d8aca07622bd6785e714653c0f5fe32244d6bf712a2de13722d7707ae66e2d2f1ce1290e02d78c9aa946ede1d
EBUILD pyuptimerobot-22.2.0.ebuild 749 BLAKE2B 89498a8fa3e65e5e54dc217aed60ab2518e7133871c70f1133f9937e91d62b7248c99dbf3c47e998d30d2330ac36eff1a834fd2a00ed7a7dbda2c931325fa544 SHA512 0368735fe72cf07f372ea426d336bcd1ba4930fad874b3dd14f7f172d2cce8b286649658dffdc64861567061dd9a00474e2debb3bc630f6c1d861cf9278bf320
MISC metadata.xml 455 BLAKE2B 686ffb0f7b9c565668af7beb79a4ce346c797545da96b67262c3aedc904f6c77fe3239747e5fa31d8d0f6077ef25395c3921bfc289ea1cadc30dfae77bb5fa91 SHA512 6888be6f9f3924ca22bdc55b12b0caf4069dbabb521a7e2d1bb2d1d5b0679d701f87c0ae6a969f6a3f25594e5b1272a502f418b58d976cba6e8bbd5afd074fde

View File

@ -1,34 +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="Python API wrapper for Uptime Robot."
HOMEPAGE="https://github.com/ludeeus/pyuptimerobot https://pypi.org/project/pyuptimerobot/"
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/aiohttp-3.6.1[${PYTHON_USEDEP}]
<dev-python/aiohttp-4.0[${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
@ -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 )"
@ -24,11 +24,11 @@ RDEPEND=">=dev-python/aiohttp-3.6.1[${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
}
distutils_enable_tests pytest