dev-python/hyperion-py: remove olds, cleanup, enable pytest

This commit is contained in:
Andreas Billmeier 2022-10-16 09:49:23 +02:00 committed by Andreas Billmeier
parent 33806b22a0
commit 0265930b30
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 8 additions and 44 deletions

View File

@ -538,11 +538,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 1622 Ebuilds in total, 1615 of them have in total 1627 (35 different) licenses assigned.
There are 1621 Ebuilds in total, 1614 of them have in total 1626 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|961|
|MIT|960|
|Apache-2.0|317|
|GPL-3|98|
|BSD|94|

View File

@ -1,5 +1,3 @@
DIST hyperion-py-0.7.4.tar.gz 27234 BLAKE2B 7717021bd12bc48b534141cdcb70ce86e86b8311f1442c0b6bdc723413682bcc76b472a6add54148db905768e361463a94a54964c0e4978369cbbba3ca8f197b SHA512 345641be2359b2613bc8772c03d1c9a4f7b308f14a79e68c0a094800b0ed88fa371533fc2914fa458e5e7eae207c2a80c3374cb685debe81c8b1d73f64ceccec
DIST hyperion-py-0.7.5.tar.gz 27304 BLAKE2B 117daa5ae657d09f809d89c7121e5101868cb1633fb6066cf2391f1cb92af4ee0ea59cd46bffc67c2baa29ea096fa0e0038d5c162075d7bfc38ff231d4c50573 SHA512 03f4e896deb22e0bfb048072189768b2ab0ac8f4ecc6c0ec8c3491e5b10e8566ddb24a06d14a951b650c7c2f2c06a250967dc514d8e59515f153799ce2adab8e
EBUILD hyperion-py-0.7.4.ebuild 846 BLAKE2B 54f43ed02d7612e07ffc454d5bfc034d3bd5da14809d4145b9a535ef43b966c68889bd5116aed9fec17bcbd1cc01ebfe3d01bf2514e802acd3639848863548e1 SHA512 d26dc2949e0c6308d4f6baa97639ea05e360d44b7d14ec78ec016a4f7ade9efcfd6f41869f20d6ebc7fc43b2283d9a8d93537f33d740b5099fd1b18485a96831
EBUILD hyperion-py-0.7.5.ebuild 846 BLAKE2B ae534f57c51ea8f9185d1abe99e77103e77c31a8cf36ca49e2a4ced2d705e276a387340643c575f125f28c0c3e769bda71a199c21edfb787644a4702efea6077 SHA512 841127a5dcc5ff97bd9821665ec52f0ef6313491a8c347b97fb901ce28ce494ebe71fb6e449060b781fd46ef3923c262ddc24748494343df1742cd50fd7ce1b2
EBUILD hyperion-py-0.7.5.ebuild 869 BLAKE2B 9e826c5b042665f01bca88566eff5b5255871ee6b223f41054e63e607d07db222fc3641ad9b36048e9805b61aeff3e5de8f6a7445c101ba9f0268e235444f8cc SHA512 828ca2f8a6efece186728641150a1a9a095b6b6d892effcb69d7a234849b726a1b47f9e3018e757dfeef3f99b03b626aea4f2eb11a6894e13c18d6fcce2b373c
MISC metadata.xml 458 BLAKE2B efe7a498cb021149d45bfb2e2a7b7d2bf955f67a0fcb85090b8a49fc74274f6aff42b28c3552c80f25fda494aa721279450cca55f4781a01947c95dd7c07b4f0 SHA512 82967cb4d9b34440d148dc15bb37930a48693b70d49dc3f24ad9865e895beac55416340bef317e636edafc0fa8e957759ba294186f647da7daa8556a1fc35f36

View File

@ -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="Hyperion Ambient Lighting Python Package"
HOMEPAGE="https://github.com/dermotduffy/hyperion-py https://pypi.org/project/hyperion-py/"
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=""
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/asynctest[${PYTHON_USEDEP}]
dev-python/codecov[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -3,7 +3,8 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{8..11} )
DISTUTILS_USE_PEP517=poetry
inherit distutils-r1
@ -13,13 +14,12 @@ 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 )"
DOCS="README.md"
RDEPEND=""
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
@ -34,3 +34,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest