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

This commit is contained in:
Andreas Billmeier 2022-10-17 06:49:32 +02:00 committed by Andreas Billmeier
parent d7d4f3480c
commit 4f7a290268
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 1532 Ebuilds in total, 1525 of them have in total 1537 (34 different) licenses assigned.
There are 1531 Ebuilds in total, 1524 of them have in total 1536 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|899|
|MIT|898|
|Apache-2.0|308|
|GPL-3|93|
|BSD|89|

View File

@ -1,5 +1,3 @@
DIST pyqwikswitch-0.93.tar.gz 7448 BLAKE2B d0cfcf8f2a57f9e258d9441fc6855d405902d3e0010cc3119df30bf8152fac6d429d7e9f7303d25da9bb4e59711e2f0430aa30d7d74bf7d6dfbfb8f8d833408a SHA512 352eb535b2aee21e1233ea62998755bceb4790a15a39fc8f1d6f22d8db57b4e4cb10900ecf0c9526bbf1584461dd58fd9da5b90395f6cb08c6b1bc988483cdc0
DIST pyqwikswitch-0.94.tar.gz 7655 BLAKE2B f1c56d029c296584d5e9769ecf29d1469c23e9a096a5daac1e4dce937b1b0a43816bbaf742c5d7f11afd27776579997dba88e498be3f3c75bc9d878229f05d44 SHA512 24d6004c8962b6a24cda90c642f5f41efa2f51437956b6276c4d169de9990fed757b9e11416a0725b376e83f7f40e323bb0c7a511928dcaa6c0d3cbb24c2ae3f
EBUILD pyqwikswitch-0.93.ebuild 781 BLAKE2B b372d4b9f5fb7d979331c43e8e7076a86b6e44a5c0d3f97f05c891c4e99f14db60a447d8bdbe05515d0158a064af69f6633713a67e792fb8797c52535172c6b0 SHA512 4649ef9aaa19203a7ee65c431b4b5b7e1a4fd70fe75b1a9faaebbfdf5db5dabf34e000720bdc1d2c43be8e553b1205c35e3729873d1687244659d38186498481
EBUILD pyqwikswitch-0.94.ebuild 781 BLAKE2B b372d4b9f5fb7d979331c43e8e7076a86b6e44a5c0d3f97f05c891c4e99f14db60a447d8bdbe05515d0158a064af69f6633713a67e792fb8797c52535172c6b0 SHA512 4649ef9aaa19203a7ee65c431b4b5b7e1a4fd70fe75b1a9faaebbfdf5db5dabf34e000720bdc1d2c43be8e553b1205c35e3729873d1687244659d38186498481
EBUILD pyqwikswitch-0.93.ebuild 752 BLAKE2B 1a8b5fffb25342bda554906ba3406c630aff88039f3cf0aff6c506a69cbff85430c7e18612eb834d3a46b4769426bec43a50365a594dbc5cfc711cbb630a1669 SHA512 e12c3a4050c2732e57aedfd3619f5a81dd9b2aa2c3e2ff21cb38cdd96d6c19fe704f7eeadd6c79c990773178c8d74141729e0873d18b9bff39233b40846537f8
MISC metadata.xml 459 BLAKE2B 9b719c10dcb069c78e639a5e387e37da12809e502e3d9b988552b783a0d01c059018c27cdcaa769e69275071d2ad1423ef2f93820cfb5ef7b5f6326e297b855a SHA512 c9290eaa0460d42547b02e5f7d4a6b02378ab8d1bbb949ed2822bec1403d48ea685d129c430b24b159bffcc244ce94af69799b2baab73e44a4e2e5ca569429be

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,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 )"

View File

@ -1,32 +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="Library to interface Qwikswitch USB Hub"
HOMEPAGE="https://github.com/kellerza/pyqwikswitch https://pypi.org/project/pyqwikswitch/"
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="dev-python/attrs[${PYTHON_USEDEP}]
dev-python/requests[${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
}