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

This commit is contained in:
Andreas Billmeier 2022-10-15 18:19:37 +02:00 committed by Andreas Billmeier
parent f2adc316e5
commit 3c6c8c4e05
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 8 additions and 42 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 1690 Ebuilds in total, 1683 of them have in total 1695 (35 different) licenses assigned.
There are 1689 Ebuilds in total, 1682 of them have in total 1694 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1013|
|MIT|1012|
|Apache-2.0|326|
|GPL-3|100|
|BSD|96|

View File

@ -1,5 +1,3 @@
DIST alarmdecoder-1.13.10.tar.gz 314891 BLAKE2B 429c2a8e9b31da368713a8c7e318fd3077b4ccfc7f411c386c6a4f05dacb6df7cd73819bc5f24d8c3750f768f2a935317028d28c417bf1c9f4cb46017bbc3580 SHA512 e91a42095191bf52c3acfbdae83d3fc141707d1ce72d05dd1de4d66a57efc8837af746019200f3a7b6bce17d113a89a3b399ce10364a84860f10378999ff54fe
DIST alarmdecoder-1.13.11.tar.gz 314911 BLAKE2B 5410bb8b79a4fcf60e168e05aeafb38bed081766fbcc377ad8c938640a07c552210b3f6be4cd98c59fcd53c43195a00c517778fdb6d6576198d772bb347e3520 SHA512 0699dc0a17ddd75a1a25892cdf6af9ee4935e6f56696ed36c27c07693abb2f27f239e16986d7a3721767f26687e2092c43013d797be5d7e9ed48df8976753ea6
EBUILD alarmdecoder-1.13.10.ebuild 841 BLAKE2B 8735b37481691148c041959671b4cf0adf8c44ce18ca84a26370b6baf87c58a9975579fb67b166cca50164352eeec2bf0986942fa85ad8120c16ae1d01c08ecb SHA512 6b1dff57aff9125cbe98bf9332e6e04c1330e14ba2441298011e8e28c48ac675f65b5230e699f14eea32a5c5a5e77ad7d4f460c62b556ad91bf17e773ea59a6b
EBUILD alarmdecoder-1.13.11.ebuild 847 BLAKE2B afeaedd1eca47ff52671c29a6b3211473cbd59b6c2fb04fd04d820e92a9c274d191da871382793400b801ecc2eb0a4bc931d503325f4163abb875ad28c314926 SHA512 9d5a43c8cd4d729a7162c787bfd685242d4ae046981d3a5e90372f9fb6ff9faabdb123366e93b1cce8747e4135c9c92094404cfacf135a36a018ede72b0a4a5d
EBUILD alarmdecoder-1.13.11.ebuild 854 BLAKE2B 5f59b002d9ab6cc2fa6d69034a5a6b318242be6dbe4d566bfe425a2a0158e11c6c20648389a9c249d310529ea13bd922dcbd569910467602558e840bc2ab0b35 SHA512 c732e0970a9dcb53f3e346e054797248f258daa8049de91d2daf47975267cbac104496b88272971db3f116143b5b02efa7d2db330e7f95ee0b3ad96736019d47
MISC metadata.xml 483 BLAKE2B a8bf5d609843d20397bf910c949346916836141ab9cccf3be09169b6e8c37d112aeca0739a7c62d992ac8e9a5ba33ae2a2f2c6f9063d55d77f090027e4801b2c SHA512 e766c78dc54b8b873680c254769b39fb967d36fb2104fea4f4a6e578e348d33d29c254e8d284557a93378af1594a54994142fa4aa1d34a9e724aa2c84f5892a4

View File

@ -1,34 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Python interface for the AlarmDecoder (AD2) family of alarm devices."
HOMEPAGE="https://github.com/nutechsoftware/alarmdecoder https://pypi.org/project/alarmdecoder/"
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/pyserial-2.7[${PYTHON_USEDEP}]
dev-python/future[${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

@ -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="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@ -31,3 +31,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest