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

This commit is contained in:
2022-10-15 20:02:36 +02:00
committed by Andreas Billmeier
parent 49ff1a7a2e
commit 0973b59262
4 changed files with 7 additions and 43 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 1664 Ebuilds in total, 1657 of them have in total 1669 (35 different) licenses assigned.
There are 1663 Ebuilds in total, 1656 of them have in total 1668 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|992|
|MIT|991|
|Apache-2.0|322|
|GPL-3|100|
|BSD|95|

View File

@@ -1,5 +1,3 @@
DIST bsblan-0.4.0.tar.gz 9033 BLAKE2B f3b15ef0c56a2de94f32016fd78198023ad1fee57d4728b69a439f403c6e49e30aee14fe5b119f5140b0a20714410f6dd8d4960fea6cc3dff6712af39bce348a SHA512 7cde15e7881f20b296fb718e8fc424b186815827808d5edce996625cfa68da0e725e1371317bc9e9150784d94e85797c22d48612271687ad291930196db12888
DIST bsblan-0.5.0.tar.gz 9421 BLAKE2B 30f5487abcfd9b281a3ac6d6ae9c7105ed7d8aa023d30acae67275d3fb7d9e5eb673532e2cb905f3f100214bbc52045182cf9e25985ed2837ee0f7541133bba5 SHA512 05326cab2310f3561303fde3fb5d8ef7c557d202165b0e531e0e7f30cd029445e4a338b9f879b3d4a9aa3e15f4ad5e4530b233e0356b744c95c115ed6de5825a
EBUILD bsblan-0.4.0.ebuild 881 BLAKE2B 79329ece51a5a760a6b932dcbe090f329c48c5b85ba593161dfbd3a336932e80f42cd816eb6268d49625000a60d731c9db28fd74034adf114ac3dcfcd9ff7803 SHA512 cca21bbcbebf6073b4848321d449496e41754bd00007691f16903f04a6c9ddb0a8917985255d75ea60f41f666e24d335543938a6fa5d1542c3cfd7452504f854
EBUILD bsblan-0.5.0.ebuild 875 BLAKE2B e0fa901c6782dc8e636937d0637240f77dc56e5d690a02bbab0e972acdb9b0038d2d009197fe83701f02c9452d4d057c4c0d6e46eb8ddcf0c5151b09be442cd3 SHA512 e248e2fbf1f3a3454c057ad2a96dfbae4137a6c6ad04916dd4d0beef34c740ae7dbaf3fe1c95392d8a376ed7f5c6c90061403b6c17fbaee7404086d32ebc8798
EBUILD bsblan-0.5.0.ebuild 882 BLAKE2B d230522d041dbc29b82344c08e5b2b25b58d1636da8b7333863600e394cfa9535c0e49f54a45c56b7b6f7d3a9bb062b76fd53add844cc5300ad846230c0f6e1a SHA512 42ac86aa7340d5f7509b8769d74c9926ee092e79c4121ae636fa3de11f073cb4a13bc8bdb9f0559b2932d348c55d53bb3d0fef1d97b3ad684c4ee0627751147f
MISC metadata.xml 464 BLAKE2B 1a03c851b7d8dd1a82dbc012e21809d99f54ac7fe3c80116ab6bb55020eb77db57b182374f9ca264a0182b123435e909337b24b3ffe06f0e6055bd28895548eb SHA512 a6600c85d6bce420932b0aee0cdf64fff2d9c5e9bc377b4a961891f61e6242d415a59b5d0c26688f843b9c79f23d660677fde35c835b96f0d3824e51a0e2d2bf

View File

@@ -1,36 +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="Asynchronous Python client for BSBLan."
HOMEPAGE="https://github.com/liudger/python-bsblan https://pypi.org/project/bsblan/"
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-3.0.0[${PYTHON_USEDEP}]
>=dev-python/attrs-19.0.0[${PYTHON_USEDEP}]
dev-python/cattrs[${PYTHON_USEDEP}]
dev-python/yarl[${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

@@ -3,7 +3,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 )"
@@ -34,3 +34,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest