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

This commit is contained in:
Andreas Billmeier 2022-10-16 07:49:42 +02:00 committed by Andreas Billmeier
parent 80c7962e13
commit c3e527ee4d
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 1645 Ebuilds in total, 1638 of them have in total 1650 (35 different) licenses assigned.
There are 1644 Ebuilds in total, 1637 of them have in total 1649 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|977|
|MIT|976|
|Apache-2.0|321|
|GPL-3|99|
|BSD|94|

View File

@ -1,5 +1,3 @@
DIST ebusdpy-0.0.16.tar.gz 2024 BLAKE2B c2c6fac38933f746ba467b8e90189678eb477a55cfd6339163b12a6554a300be947cae0aad96cc0574c03bd2e9fa08d3b743d4a637f7450f8714a8fc06ed72df SHA512 7124c8e6ab10f3136abc3bddfa5889d2b4056ecc2ded270c875839d8842827f1994b3849f24f50ff0f29e5f7da1c62a9dee6f468bd84bd4e75c087a7e99be472
DIST ebusdpy-0.0.17.tar.gz 2046 BLAKE2B bdde5d27a1edef7faf95aa16dfd1a3fdb5f08f364e0b1675660486e8027e16d6b05d2bc9f6bb5779ac5369f6961e92bf8fd18ba19d63f219b7e97f0a62ea9230 SHA512 c0356a5a3a3a41cbf64364edded6cb3f1d48c690e01f4d59cf1360b38559fa211cefacecd2875ad766803a1eeaf1c5786466eeb625d5be0b0ae73f46bf54d1c0
EBUILD ebusdpy-0.0.16.ebuild 711 BLAKE2B e2cb69d381a4ea1765bfb8681e5ea176dd1b1430b6195f4628bd34de34cf027f73d3737d2d9bab3d30d3ad2b5ad18780961d680e4cf5eac6aedc9bb521ea07a1 SHA512 37bd7daa492410dd0fdd123b6b88aa3a0c2754c37fa71a93cda9463de1478ef234b19220af071ff9d289058561c6a51e3a4fb6596544ddfcec4173f0cd6bf62f
EBUILD ebusdpy-0.0.17.ebuild 709 BLAKE2B e293ee85b8a4959387d0fc81c02ed2f2191e5377e09232a2c1f2fd5cb1d2dfaacd36a09a69aa6ccf48d388352fa11f7e35cafad7a95118e663b9fb6695c0d1ee SHA512 c4ee03a57d55cad428b2eaef704d04f4bfbdf0cf22b30bdbd42138f4e95d11a11498c8476431042f23026746e45c48e3017663bccdc630080e6849ead92664f8
EBUILD ebusdpy-0.0.17.ebuild 701 BLAKE2B 0419dbc49c28c61f6f5a24f9280b424afb91e8356b68cffd5a93917929338cd0987aaf90614bd016e90437ed70be1b97da8e3fb47ffe26f6d8e11bc499a48211 SHA512 033cbc6fe465f2ef2b098aa4820bf6b701e7dcdab5e9e3ff05717815405d321fc6d28bf8a5a0bfcd42293036301bbbeeea98f170d6732e0fddbfc2de0cccec70
MISC metadata.xml 452 BLAKE2B b6de001305bd5c5c12f0326d0f0d49b05b0f8bd7f00358104dba9bff4e90984640db5882a8077274914c7a6f372ab9617f02da17004b73cd1b8994c621e53798 SHA512 e0c9fdc2a3644a3da2dbe1f321ee5fcd01f128c56abe20095f0ff9562d6a05baf6f07ac6736d5288a4599852750787978d988faea9b29d41a244d9be1a2af8b3

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="eBusd python integration library"
HOMEPAGE="https://github.com/CrazYoshi/ebusdpy https://pypi.org/project/ebusdpy/"
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=""
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,13 +13,12 @@ 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 )"
DOCS="README.md"
RDEPEND=""
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
@ -31,3 +30,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest