dev-python/radios: remove olds, cleanup, enable pytest
This commit is contained in:
parent
e21348ba7d
commit
0ebf95d4eb
@ -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 1504 Ebuilds in total, 1497 of them have in total 1508 (34 different) licenses assigned.
|
||||
There are 1503 Ebuilds in total, 1496 of them have in total 1507 (34 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|880|
|
||||
|MIT|879|
|
||||
|Apache-2.0|306|
|
||||
|GPL-3|91|
|
||||
|BSD|89|
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
DIST radios-0.1.0.tar.gz 12773 BLAKE2B 6195cedbba608e88e76a43d9ad84f1a501bb830c1e0bb86ea75dcfc3137ded22abd73b7e0a7b0abbc529bd1759b92c515acd45292e427e67fed4bf0fe18eff1e SHA512 a2827df914a4a51353499cfae25aba216a557967b1dc9f6879ebfe936364eeb2c7524a538230c7b8c5676578c992927490a3a2b6752950fde576380c7ce13531
|
||||
DIST radios-0.1.1.tar.gz 12772 BLAKE2B 3074626d67d375e6940f0a2b0b18862722d59f27c1e7f11863870344a0320c4c9fce9c8191ecb36c4833e3bace7ff7b83587f88b7d0b0fbeb12a9544caad501d SHA512 23b9e279b256aed22347da2229db861dc7c5ef57c228c6e1f5cbafe74107ee35e19d23fffa7d272933e92f3f762107cd7a3733df65509a5597b0d302e8738a1a
|
||||
EBUILD radios-0.1.0.ebuild 1232 BLAKE2B bd4ea0e02352ab914caa81d7e4846a6ecf6a77e2bac98917a352c04f16ccc0b105b8ef5318cf3c38ba46fd20f9279d34f054e5a6f04d772821b1eac3c0d225fc SHA512 4a3d7886a6a6c7a3e5a2d07ef65e6491e76f8974448ff3ddec565f2c7db190e772a9d2f53b82348dbf23a91265d027590afbfd6f0664eca11cba47a163c66f67
|
||||
EBUILD radios-0.1.1.ebuild 1232 BLAKE2B bd4ea0e02352ab914caa81d7e4846a6ecf6a77e2bac98917a352c04f16ccc0b105b8ef5318cf3c38ba46fd20f9279d34f054e5a6f04d772821b1eac3c0d225fc SHA512 4a3d7886a6a6c7a3e5a2d07ef65e6491e76f8974448ff3ddec565f2c7db190e772a9d2f53b82348dbf23a91265d027590afbfd6f0664eca11cba47a163c66f67
|
||||
EBUILD radios-0.1.1.ebuild 1175 BLAKE2B ff95bc431ffc977cfef9e914ccb0c74a8bda76afc8a6c7372df3841a9dd985b52f9cd4043d26511320cf8f21155d326f026cf227efbb865b6ae296bac0cd83b8 SHA512 eadab3e0396e0b36e2178ac798fac86a05c308c5d746dafaaab90aa6fc2739be02155c375dccbebf2c7d0003cac464d3e522237c29c8729d13ded92b7a5e3232
|
||||
MISC metadata.xml 453 BLAKE2B 038ab9a19cf32f5f16f0b5f3090d1d93756f107c5011ea1cebf4d7bf826558f0d32e3608a5a3d3da9c3f901f8206e0800657f7b389a1a539b4149a44845181ed SHA512 56c6e4ffc40a6fb757f3cd7a138d503a58d02378c71b88067d72b54d0698cfe909b305cd578aa118a05120e98dc9bd5167750a7c9f16006d5827e4b409a23176
|
||||
|
||||
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Asynchronous Python client for the Radio Browser API"
|
||||
HOMEPAGE="https://github.com/frenck/python-radios https://pypi.org/project/radios/"
|
||||
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/aiodns-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/aiohttp-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/awesomeversion-21.10.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/backoff-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cachetools-4.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pydantic-1.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/yarl-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycountry-22.1.10[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
dev-python/aresponses[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..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 )"
|
||||
|
||||
@ -30,7 +30,6 @@ RDEPEND=">=dev-python/aiodns-3.0[${PYTHON_USEDEP}]
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
@ -38,6 +37,7 @@ BDEPEND="
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user