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

This commit is contained in:
Andreas Billmeier 2022-10-17 22:40:02 +02:00 committed by Andreas Billmeier
parent 41d2c45a94
commit e09f69c012
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 9 additions and 43 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 1503 Ebuilds in total, 1496 of them have in total 1507 (34 different) licenses assigned.
There are 1502 Ebuilds in total, 1495 of them have in total 1506 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|879|
|MIT|878|
|Apache-2.0|306|
|GPL-3|91|
|BSD|89|

View File

@ -1,5 +1,3 @@
DIST raspihats-2.2.3.tar.gz 14765 BLAKE2B cd1bcffc6506f4a1968c5d1ebbc829425ebed3c900950954a952310a68405140edee63024d716523079a6535c1c7459d2a52edd97204a3d97867264b2332c4d1 SHA512 d4f898dab44ea4c37cdd6cd5f7a39d90a20702e3f060d12efb7428c4e22b2fc5cf32ad24d9e7360b11cb0ecf8883ec6252d7701bbdbf552eeec27d1ac083f22a
DIST raspihats-2.3.0.tar.gz 17836 BLAKE2B 8d9ce78bd39f57418af6506abe6e78ab0fc43c641bffb79e3b0d7281369404db7c493cb7b4c0fd4921bb0ff0fb9e31a2bf9d7aa4b8d789ccc4f38febfdbf5edd SHA512 6a91a8e79fec91dc71101b337b4e34150820ef603b3645cac2b0b1b2446dc4c31c6b8f2b39e8e601162578d8b53c5bf0792809caeaa962522137581a49c50906
EBUILD raspihats-2.2.3.ebuild 708 BLAKE2B 968be97fd17fa33953ea30e82e333886cf2540aea8ea9e2d4afb6040d02428ff20a4b558c653cb0865d064966664a6b4a20701ed836ea35d46706c88d74b232b SHA512 7f6e9153450d3793a279a0ebb9e09252c53c2fdba859001cdcfa001ce82f965ac6848189e3bc13aea797c922a17263c5cc2732234c0e935199f74d59c7ea9153
EBUILD raspihats-2.3.0.ebuild 708 BLAKE2B 968be97fd17fa33953ea30e82e333886cf2540aea8ea9e2d4afb6040d02428ff20a4b558c653cb0865d064966664a6b4a20701ed836ea35d46706c88d74b232b SHA512 7f6e9153450d3793a279a0ebb9e09252c53c2fdba859001cdcfa001ce82f965ac6848189e3bc13aea797c922a17263c5cc2732234c0e935199f74d59c7ea9153
EBUILD raspihats-2.2.3.ebuild 635 BLAKE2B 6c920226dbdc37d053ee1e2a5742396465532bb8da4d408e14473fd30b9e0ba431374e2718598a8263b0b69265777bd34c695f5a7f917c89d2fd3ce1bee04781 SHA512 2a7bb82b00e1620d70be65ca73c0aafc7f1b12426717693e5a444063c9b7b7e6af46ce8f50ed6a20739c3a4c977ab01052ed2c42a5834accfd34a35f9a361832
MISC metadata.xml 455 BLAKE2B 2004fc986257b5a3f680a9e4a1b34f4d9f70c6fbbf9a1bc864b2061e7cb2c6a9b795829eaa3c82dc7a40ba1f1d5b5c90128f09ea1bd1604f83b17b87f6ac1d86 SHA512 51f3e59d599d1b6bf040f679e0a40a0c6c324b37945ed66e991ea70ad5bf0c856d264cb133b69d81ca68ba63769278d8771217c20988da45657a78df0d6de7ee

View File

@ -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="7"
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@ -13,19 +13,18 @@ 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 )"
RDEPEND=""
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

View File

@ -1,31 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
DESCRIPTION="package for controlling raspihats.com boards"
HOMEPAGE="https://github.com/raspihats/raspihats https://pypi.org/project/raspihats/"
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 )"
RDEPEND=""
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
}