dev-python/roonapi: remove olds, cleanup, enable pytest
This commit is contained in:
parent
7a5e9d212a
commit
0bbd3c4f7e
@ -547,12 +547,12 @@ 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 1497 Ebuilds in total, 1490 of them have in total 1501 (34 different) licenses assigned.
|
||||
There are 1496 Ebuilds in total, 1489 of them have in total 1500 (34 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|876|
|
||||
|Apache-2.0|305|
|
||||
|Apache-2.0|304|
|
||||
|GPL-3|91|
|
||||
|BSD|89|
|
||||
|LGPL-3|22|
|
||||
|
@ -1,5 +1,3 @@
|
||||
DIST roonapi-0.0.38.tar.gz 18095 BLAKE2B daefa2f7112c22d360ce89415781a2066592953c571873f324d1fdde8adc8803734c62fe0e59a8b9e8fc4875c0fce784ffdf462bdd588925c73f04fe929858b9 SHA512 79b2979d07b45aa8a9330d3df337cd56a717945f20d33a57f07c1b203ed09ae538d81b5e32d0f413ec5a64e2e1392885115ec0c892fe72b004f7c85f7622fe70
|
||||
DIST roonapi-0.1.1.tar.gz 18443 BLAKE2B 9debe6a8c55e10113c5afec3f3ddf74724d4ec3152a03ff32a47a7a7a05946a456855a349ebfd3eba2e498b99df95d4df3ea5d75e0d261dd26bdfe72a5060206 SHA512 739bb74db5cbcca2915b3c99a6a8b87da2da9086163e82beefbef2c8e3b98b1e0a63e2dfdded84006554fc5fcb419c7a084ebb4c25300c7177f3b53ec3b83324
|
||||
EBUILD roonapi-0.0.38.ebuild 910 BLAKE2B cecc5b4d728bea90cb3dd3586c92e17d4394919580f39d6f8b0a50529d050ca421d29e1f8a9dcba24707555e4234cb5f025b3d22e891b3acadf5f63261e2f4b7 SHA512 b9064f3e74ea5c4b0037afd745aaa5f42899306826435367e96441e8d6b9061699af3ec75495ca5b2f1713851ee51a97cac546c25ea28d1d94354e0fca41349c
|
||||
EBUILD roonapi-0.1.1.ebuild 910 BLAKE2B cecc5b4d728bea90cb3dd3586c92e17d4394919580f39d6f8b0a50529d050ca421d29e1f8a9dcba24707555e4234cb5f025b3d22e891b3acadf5f63261e2f4b7 SHA512 b9064f3e74ea5c4b0037afd745aaa5f42899306826435367e96441e8d6b9061699af3ec75495ca5b2f1713851ee51a97cac546c25ea28d1d94354e0fca41349c
|
||||
EBUILD roonapi-0.1.1.ebuild 855 BLAKE2B 99db2a6e3b0f9546758325c438ada8ffb4dc672f96f74f9503951a417001d4ec9f0326885f1943392782f7f0fdbf710287ad9ed046fc58228da52de2f72b0414 SHA512 e25a9e47644269c86586913089a8091a58b1b901c8d247a8da19cd8b730fa62f996c524b017270d43fc5051375254dfdbb03c2158b7aee52847de3596c140ea8
|
||||
MISC metadata.xml 326 BLAKE2B bc07d0b1a0bc6d9a56797034adadfb596e418ff92bec4deb1aac86c5dccbed13297bdb6f41aa9081bf461db9c3f58a1eb072307e3ad922b99f8da6a6d13c710c SHA512 53df2c9cd61d58267b292ee57439c7e13c64498a5ff083a0b4015facd122162eb0d8abde997d0b04d2b293e1cb1df623351ac231bb1c3f763e05d0552695f237
|
||||
|
@ -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="Provides a python interface to interact with Roon"
|
||||
HOMEPAGE="https://github.com/pavoni/pyroon https://pypi.org/project/roonapi/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86 amd64-linux x86-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.md"
|
||||
|
||||
RDEPEND=">=dev-python/ifaddr-0.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/websocket-client-0.57.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
|
||||
}
|
@ -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="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86 amd64-linux x86-linux"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
@ -26,11 +26,11 @@ RDEPEND=">=dev-python/ifaddr-0.1.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
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
Loading…
x
Reference in New Issue
Block a user