dev-python/maxcube-api: remove olds, cleanup, enable pytest

This commit is contained in:
Andreas Billmeier 2022-10-16 11:15:18 +02:00 committed by Andreas Billmeier
parent 412e16f750
commit c4b767052c
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 additions and 43 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 1602 Ebuilds in total, 1595 of them have in total 1607 (34 different) licenses assigned.
There are 1601 Ebuilds in total, 1594 of them have in total 1606 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|951|
|MIT|950|
|Apache-2.0|315|
|GPL-3|96|
|BSD|90|

View File

@ -1,4 +1,3 @@
DIST maxcube-api-0.4.3.tar.gz 11435 BLAKE2B 560e4d39e917ce7682773f19bb39f3a10bf638ad195b58553adb1a8c9c68dd513b1b3815481ce8240327c5ab9c0020a074c106c3bac863ba1d3640becbc68a22 SHA512 ee0290ddbe38358da6fc621bf4ab643ff685d373fe5b8d3431c02e33d3baaeecd00720292a4f2943f92ddf77e3d7e1af038ca2953bfcf62ccd8d4b4ee7f73b85
EBUILD maxcube-api-0.4.3-r1.ebuild 824 BLAKE2B 21c38d2e20821d7a72832a5bb0eab508447b4084cb0f8a0b19cfaa1ec87ae82d01163a0f9bfe38649ad816715fb5b178cc18f12db72a1c053bd57e349a0a3ddc SHA512 6ce6046e95d60dba8df1a03b71d36a3e8da3d4262b4f62321e02b3b92e0f5fce832a57c8b8fe7197fbd5e9122b0ce263cacb0d037384d639eb729860be1a902d
EBUILD maxcube-api-9999.ebuild 807 BLAKE2B 339cdb9501c43e9bc03901a38b39096eb0d3725e1aec155e97c2d915746dc14b7cc59bb421c4b148c6640c4c5fa780592e1db6f4c71ff28173f8ac1357cb0187 SHA512 9a34eb3bca244755f2f7501948328eb179a697d7a26d8eb4ba132e8832f6833177836edaffdb68b28912ca0729c9d39ef0a846cc1e544270cc93226464352595
EBUILD maxcube-api-0.4.3-r1.ebuild 820 BLAKE2B a1f83fdaedb218a55ff7c331cf52648198ff78614f83ea92ba0fba79bb935846b52da1e506f1b239ed251d484a6fd202271bbc0e74da1d19fbb8b6a6434edab1 SHA512 ff16cee65be241c8874e29aa0cbbe488460fdfba8d5fce8ea0ee1f6cacea1d96f4d22518a78ad16a83fd17302e90d952a15941a53eed2386bdeee56fc51d3e18
MISC metadata.xml 459 BLAKE2B e93d63017b93fc9573856c767ebe52b04050fc9b5a6ca647876158e363b607838e988c7f253ce8939bd5b2ba182975df35ca9eb2070ba304c8e5f179b1eb8d6d SHA512 dd95035688ed27d414cb76bb2bbfa683274cc13fc1093ab01cd5d222d5378ea057a38c5f19f285371e3392c5d33e320f5787bdec767138fa9dff3f3a0aadf967

View File

@ -3,7 +3,7 @@
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.rst"
RDEPEND=""
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
@ -36,3 +35,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest

View File

@ -1,36 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1 git-r3
DESCRIPTION="eQ-3/ELV MAX! Cube Python API"
HOMEPAGE="https://github.com/goodfield/python-maxcube-api.git https://pypi.org/project/maxcube-api/"
EGIT_REPO_URI="https://github.com/hackercowboy/python-maxcube-api.git"
LICENSE="MIT"
SLOT="0"
#KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
MY_PN="maxcube"
RDEPEND=""
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
#S="${WORKDIR}/python-${P}"
PYTHON_MODULES="${MY_PN}"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}