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

This commit is contained in:
2022-10-16 18:30:56 +02:00
committed by Andreas Billmeier
parent 98349c504d
commit ad2e64f51d
4 changed files with 9 additions and 44 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 1542 Ebuilds in total, 1535 of them have in total 1547 (34 different) licenses assigned.
There are 1541 Ebuilds in total, 1534 of them have in total 1546 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|906|
|MIT|905|
|Apache-2.0|308|
|GPL-3|94|
|BSD|89|

View File

@@ -1,5 +1,3 @@
DIST pymyq-3.1.3.tar.gz 19388 BLAKE2B 8d2d3908fca4628ddcd3f736cfebe46e93ba8c873b101b682588579670e20b59681d359c20d49f836bea4217253108d7c01b22f67f6305e3dc574d64d5d861fc SHA512 9535b90c6904df702f7e5db340766cac22c8d837140039664ae6191518352047ff223cea92536edb00a473f69276bcc0254cb853fdfa1a761131c18e3f393eee
DIST pymyq-3.1.4.tar.gz 19365 BLAKE2B d5af8e7364fceac4fd3d339391534fd84344e34190df4051ca5c93bfdfe4fef90893ba714b40499fb2166f1d362ce4eb6423c567c2da9cbaf2aab4cbda98388a SHA512 3dd45417345aa57e44de43bcd44b56c916a04465454e2609114826e14e010f3cb732c558aa2896bd938ba8b9fcd104b594a2902c50802eebdb7dc9d750a9d835
EBUILD pymyq-3.1.3.ebuild 842 BLAKE2B 75a52d60fc98841a41cc32b06f9d0ffbe9c987df44e3f382ba4afb31cc046026092ad7fc21e60cfc257d2013c227f476397e6ea8bc93540d378b14df39be797a SHA512 3ab0193c58a070b817a69a8cd4df26f2442f86191b12200339ce08410eeb1add8cb94f6a191f45f941ef94bc6b8c5cd70758dec5f18ed37c08701655cf2d53f3
EBUILD pymyq-3.1.4.ebuild 842 BLAKE2B 75a52d60fc98841a41cc32b06f9d0ffbe9c987df44e3f382ba4afb31cc046026092ad7fc21e60cfc257d2013c227f476397e6ea8bc93540d378b14df39be797a SHA512 3ab0193c58a070b817a69a8cd4df26f2442f86191b12200339ce08410eeb1add8cb94f6a191f45f941ef94bc6b8c5cd70758dec5f18ed37c08701655cf2d53f3
EBUILD pymyq-3.1.4.ebuild 846 BLAKE2B 0a419b139ef2543840d0c87b536c0a9fe3f92bf0169f93854797ccfe0078f7973ef599ed14b50b20616360c942496034dcd463b3f1f3ad3b0b3e45e98014248c SHA512 7fa87561ae2f85c47d0d1c2440eeef4ad66a3e960b6ca75ecee0a1c43fcbf0d714f4c73523a47b9123823b7e5b38387593b43da10efecb7c5e442261b2c374bd
MISC metadata.xml 324 BLAKE2B 9d7f8ac7abbaf31379bc77daabca61d424a50ccc2eeb9a20cadcf005abd497c0c716edad2a0004d260838c208073e311fc0af64ca573c8f4227a4011ed486199 SHA512 902774791194963a814b0afd12f30e8eb966345fea6ddd7dbc3b0f836bbdea9fa0c97e82977c695aa7fe69989f8815ab9684c7e120fdd3a63251e865ab165d7b

View File

@@ -1,35 +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="Python package for controlling MyQ-Enabled Garage Door"
HOMEPAGE="https://github.com/arraylabs/pymyq https://pypi.org/project/pymyq/"
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="dev-python/aiohttp[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/pkce[${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="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 )"
@@ -33,3 +33,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest