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

This commit is contained in:
Andreas Billmeier 2022-10-16 18:27:17 +02:00 committed by Andreas Billmeier
parent 75968144f6
commit 1c2bbb03c0
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 9 additions and 42 deletions

View File

@ -547,13 +547,13 @@ 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 1543 Ebuilds in total, 1536 of them have in total 1548 (34 different) licenses assigned.
There are 1542 Ebuilds in total, 1535 of them have in total 1547 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|906|
|Apache-2.0|308|
|GPL-3|95|
|GPL-3|94|
|BSD|89|
|LGPL-3|26|
|GPL-2|19|

View File

@ -1,5 +1,3 @@
DIST pymfy-0.11.0.tar.gz 22369 BLAKE2B 5f18009f4ee83d3a7e25883f2d7892c13ef9eac45536eb86e242c9b18f12aaae0089a3caa60cf4025c4748ece198a8247f35d96a9086f1eec4c179eed323cd36 SHA512 823576f520829c81b7a70b9e1c893cd1cdd227e2e70856a06755c4cd516243bf3f66f3f9bc5b1a262151e10c53d28d29a748f59cefeb7e417aae58f1b9205225
DIST pymfy-0.9.3.tar.gz 20829 BLAKE2B 400614f6ef1a782425c5e335ff58502e9c95b6ab6db8ff204f6db45e7da4ec51a76f4882533b2eca201e9989314ea4c34871ac42a719b1039b41c7fbc6f317b3 SHA512 d5f34c0172763414a696c58ddc018edfbb4a59ea8847728984761cede1d641d9b16bb071c471255a46a3faaaea1ff6050b75afb354400d4f9dc12d0f3d9b6383
EBUILD pymfy-0.11.0.ebuild 759 BLAKE2B 4b1e60ac5809cfad2cb560202f1d591635de9382107d6929bcbc91f13c68a48ac2c6d510a24344bcac8753b2ccb833b22ef2d492990b83d504b7dd209550452c SHA512 a98362a9afec21969b17a93cfb2f59ccb2401ec80ca27cbb7a26ddac15d356e818bb1087df33b86bd866974af49a20f427c56e8ccf479a173bfab93d5d3e137a
EBUILD pymfy-0.9.3.ebuild 763 BLAKE2B 9e16bf805e1deb8885f422fc2c4e5a80e05f3c8681a6e108fbf33b1072bd7439d7315ed5f3b170209e2eab8b8bec53d9503cf354421f22a55a21fb223000b96d SHA512 c874caf9b70af831b28320e09ab5005499df7c4649c123b422f4fe9d06ba5f6700786c49f37d9f35ec1e937d53f90061ca9fbe64e4ddda9b47c0b344ff1c6655
EBUILD pymfy-0.11.0.ebuild 764 BLAKE2B aa6c854f7e2ce2b5f7471554125a1a1e5295a4e31648a1164bd514f3adcf4eb3c34dc25fedf0704aaa85bbdc45182cf4b71b3e631b6ce776b94b215e39382733 SHA512 2f5731e5331085998486714216b7f5f2e08c849b0ec998931fe117857b0f3d347675488883b68aca8d1da40e2b20c3a40cf67049e5e22df538ebfe9fbe858e08
MISC metadata.xml 324 BLAKE2B aec0dc97a53eaf9f04b2a3b929b2639638d1346cc58bc57ba44325eb75922562954a84eee0f014a8596d44d45e4efbe9efbe854f870e3b0baf7f1be95f426d5e SHA512 4ec5a71586e2777f553d4a7e6b617241637588c38ebdd3fa4c1a3106b423910f0d98097961d1a1f8e898b1920de48f6520d5f51e23f6b869198bdac442aa27f7

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="GPL-3"
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

View File

@ -1,33 +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="A Somfy Open API library"
HOMEPAGE="https://github.com/tetienne/somfy-open-api https://pypi.org/project/pymfy/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/requests-oauthlib-1.3.0[${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
}