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

This commit is contained in:
Andreas Billmeier 2022-10-16 18:21:44 +02:00 committed by Andreas Billmeier
parent db92a896ab
commit cafccb28f8
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 additions and 41 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 1545 Ebuilds in total, 1538 of them have in total 1550 (34 different) licenses assigned.
There are 1544 Ebuilds in total, 1537 of them have in total 1549 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|908|
|MIT|907|
|Apache-2.0|308|
|GPL-3|95|
|BSD|89|

View File

@ -1,5 +1,3 @@
DIST pymediaroom-0.6.4.1.tar.gz 5641 BLAKE2B 80f728355422a122d78eab388960e4845fd324efd63b9d08de0e6f5f1f4df48fdd3da443377884e221c2da55400bc2ad3013106eee4c6357bfac6b3c446af37b SHA512 8ca4eb1eda041722ead3e5f6fff85ee96a5abb2106fb66df4118d07844355dc871a3e4740257b731c94c7ae16d8c211a42d024aaecbd99014bbc9d5a598f2944
DIST pymediaroom-0.6.5.4.tar.gz 6774 BLAKE2B 61bba6b8142e8f13b8f3c31c2dcb922137e62ae754dd953f6bd76952d65a2106e8223817e4298f59d433bda69f366c2d7896725ebb9c3b40c9f475584bcca635 SHA512 aac963854b9095a8ec3c090b5475103c1398ac0a167e335fa12cf8af250746f6513a89ddaeab47bed435f6bb533c0b7c1a93f086e181fa40079b6defcc75f57f
EBUILD pymediaroom-0.6.4.1.ebuild 807 BLAKE2B 81882c6d471276c47671ce4ff21218edccfbd02b7ec8338b7cd4237a911f0eaf1265b5d68469f15025f16581737502d2997e9d4d8564a6b6d96787c1f62ec178 SHA512 beac16b850d973283f0e6ab04e84ae5bb74d7ee3602e22315273f51284d6753b5bb5924f462debe3a58f8abf0cae282ae11a6a6474af0a49d8d3895f9d181adf
EBUILD pymediaroom-0.6.5.4.ebuild 805 BLAKE2B 6ee94c707dd6a5f96b4eced38eb25a1cf41a314882944597aaa7765774ee9af437f5f609aae27365b95a95a93b01cdd48e3ce210f1126404d6442829df1fdcde SHA512 26e5831444c3d43df8ce946425be73008c2cb64715c4e1047606b3286fcfe5585372d168ff6a99282565db3754ed06eb8d176afb6a27bde5005b982d14deb9e9
EBUILD pymediaroom-0.6.5.4.ebuild 808 BLAKE2B c598a6f87d85d50543f90da67901c2e7db177a250bb245b426e21763a32583e0bb110919c12e285a9a2c40e0b237591b40505ab890a6d5c57ae07a7780a54a3b SHA512 efae15b1cbdb08196e1b2bdc926453a4204be99cbec5053f3d0d1a83575817d868210ff6936fa8336cb923f5bb70f94c2f90f121d6a91cf752f95082d0d2d8b4
MISC metadata.xml 455 BLAKE2B a1ed4d2c2d3acbb543f4634ade9d2a9e6f54f67f022a557f507090e467117ee28a4c2a067262f0daf740ad6b9df3ddb638962167fa8ccf348a703c67a5a7c6e0 SHA512 4de0a06e5c8563a31a1c23397bd7dc01dbd151eedca4248ec3ab8bb1670a1346019a4e7bd9557f34838377a230c17ae9b3f9d43ab670675d42a2966c71139e75

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="Remote control your Mediaroom Set-up-box"
HOMEPAGE="https://github.com/dgomes/pymediaroom https://pypi.org/project/pymediaroom/"
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.rst"
RDEPEND="dev-python/async-timeout[${PYTHON_USEDEP}]
dev-python/xmltodict[${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

@ -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="MIT"
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