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

This commit is contained in:
Andreas Billmeier 2022-10-17 06:28:35 +02:00 committed by Andreas Billmeier
parent c2ddc02d3e
commit eb673b5d29
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 9 additions and 45 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 1537 Ebuilds in total, 1530 of them have in total 1542 (34 different) licenses assigned.
There are 1536 Ebuilds in total, 1529 of them have in total 1541 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|902|
|MIT|901|
|Apache-2.0|308|
|GPL-3|93|
|BSD|89|

View File

@ -1,5 +1,3 @@
DIST pyoctoprintapi-0.1.7.tar.gz 9513 BLAKE2B ff85fd1fb491399dabbc9ddfa1d9ff8f524c7b37de6656637bc906505bc22b48e8031590e2f3b23a646c86a21cee54c8109ec863d9cf53c2efec480f777143ba SHA512 42de6e3c0fd7b2d06e77b1588ae114c8938361fdeb77fafa242f452f4f22b1c110854257575b39d49ba8690a2765a61e47eb6dbac10dff05c474571021a08a3e
DIST pyoctoprintapi-0.1.8.tar.gz 9558 BLAKE2B 0109bf5eb0690bc068ccafae7d70fb31f5cf92f07606e76f43675f647295e911ab8a48f53660b5ea8c9068d9ae05c5f7541722f4fb6d31023c91d8a407c15bd6 SHA512 3670c657155fd87ae835a54c7b6f5c145996efc745e19205fc3a00b4535c9972410204a17a33ae771e3cce29e3be646188b5babdbce1925d62765e774ff8b73f
EBUILD pyoctoprintapi-0.1.7.ebuild 966 BLAKE2B 2e3063d09f8d231fb53a56f7958634cfa97a0e7dbdbae7dddc6ca63c736719289ab7f941edcc17cf98e371a424285db5d9e767ac480cc988743c727a17ba9a3b SHA512 963d03fb63525bef829fe3d6b5fadaa9ab405d664b37f1eab0ed46085984e0deb7f2986960d2408affc5704bb826a751205389b57bf1a0c8ae9deb3994ae63f5
EBUILD pyoctoprintapi-0.1.8.ebuild 966 BLAKE2B 2e3063d09f8d231fb53a56f7958634cfa97a0e7dbdbae7dddc6ca63c736719289ab7f941edcc17cf98e371a424285db5d9e767ac480cc988743c727a17ba9a3b SHA512 963d03fb63525bef829fe3d6b5fadaa9ab405d664b37f1eab0ed46085984e0deb7f2986960d2408affc5704bb826a751205389b57bf1a0c8ae9deb3994ae63f5
DIST pyoctoprintapi-0.1.8.gh.tar.gz 9558 BLAKE2B 0109bf5eb0690bc068ccafae7d70fb31f5cf92f07606e76f43675f647295e911ab8a48f53660b5ea8c9068d9ae05c5f7541722f4fb6d31023c91d8a407c15bd6 SHA512 3670c657155fd87ae835a54c7b6f5c145996efc745e19205fc3a00b4535c9972410204a17a33ae771e3cce29e3be646188b5babdbce1925d62765e774ff8b73f
EBUILD pyoctoprintapi-0.1.8.ebuild 976 BLAKE2B fd857fd3933228395498fd4e1ed1db9ffe79cc274042737c7281e91df9944bfddc97855ecfb2851639799412ff698024af71ac989d34918f26101f6d9135ad86 SHA512 b1474d76e0051d9cbf316cd1cf3c278ce2306d51e91c4387aa4ea98dae79d4537d70048c1bda086000e27cc69bb84a84a2551b9dd4a5210dcb2feaa6b1f82295
MISC metadata.xml 474 BLAKE2B f2d1d2dfdc75a2ddd2dbdd5a88bd644c9876ba719dbfd1a98ece45524f35110d18dd4dd97d5f306a7e27a8c11077a0b8fecce19b2a7e3e614e03a0b8748038da SHA512 18760daf5cffd3ed677163f072f82644c300311520a59b54dc9a689486f9cf54ad0969b6a6849253a8859f6b8cda21d8e79397c4721e7a43834b995536483e56

View File

@ -1,36 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="An asynchronous Python library for communicating with the OctoPrint API"
HOMEPAGE="https://github.com/rfleming71/pyoctoprintapi https://pypi.org/project/pyoctoprintapi/"
SRC_URI="https://github.com/rfleming71/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${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[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/asynctest[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -3,17 +3,17 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
DESCRIPTION="An asynchronous Python library for communicating with the OctoPrint API"
HOMEPAGE="https://github.com/rfleming71/pyoctoprintapi https://pypi.org/project/pyoctoprintapi/"
SRC_URI="https://github.com/rfleming71/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/rfleming71/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.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 )"
@ -34,3 +34,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest