dev-python/python-mpd2: remove olds, cleanup, enable pytest
This commit is contained in:
parent
b9b838f5cb
commit
c4c8b805b7
@ -547,7 +547,7 @@ 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 1517 Ebuilds in total, 1510 of them have in total 1521 (34 different) licenses assigned.
|
||||
There are 1516 Ebuilds in total, 1509 of them have in total 1520 (34 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
@ -555,7 +555,7 @@ There are 1517 Ebuilds in total, 1510 of them have in total 1521 (34 different)
|
||||
|Apache-2.0|307|
|
||||
|GPL-3|93|
|
||||
|BSD|89|
|
||||
|LGPL-3|24|
|
||||
|LGPL-3|23|
|
||||
|GPL-2|19|
|
||||
|all-rights-reserved|14|
|
||||
|GPL-3+|13|
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
DIST python-mpd2-3.0.4.tar.gz 57445 BLAKE2B d04e8e0c68e9a6df5df07d3ffacb02b015252bcd55bdf4ddcd7f6f0c050d6ea44a2deaa8a0240b4bb94d5e02fd6492fed9057aee4ac7d90e0c27b591e08006f4 SHA512 4b55b6cd5f501f08d489d87d48dc424205fa655b5898016daf45945c575933d2caa1b37c6d79cff751163d67d4b3c9e6a6051f13aa32b802a9d17cf1cf6b3952
|
||||
DIST python-mpd2-3.0.5.tar.gz 57963 BLAKE2B 956caa2adf7f0b9fc90891487a3c67a03a7ebbceb06aea96475390a78a89573c5c6383a829b44c89e07f686020794116f01da519180d30818da948031360f743 SHA512 f5715fbca5d607f89ba34ca4d34628f3d22d8df107ee5384c824f734c7da5429e87cfaef5a0eed56d6b47bc13b051cf0bade0de8fc2b1db7793b52ab35fbe1f3
|
||||
EBUILD python-mpd2-3.0.4.ebuild 744 BLAKE2B 2cc35159f28260834e713e333647864306702ee9c8eeb49a6049175422899b3926c54f181f4afac8addc886de30caed350e2d419c1ad0baa80befc286f72535f SHA512 5483e8ea9afd2f5ea2990507d79779f1ef60e8826be11f04dc41af299b64f35028357c06dc9d6456533ed93266b1fbee91d633daa817ec7fa5131b501875e769
|
||||
EBUILD python-mpd2-3.0.5.ebuild 744 BLAKE2B 2cc35159f28260834e713e333647864306702ee9c8eeb49a6049175422899b3926c54f181f4afac8addc886de30caed350e2d419c1ad0baa80befc286f72535f SHA512 5483e8ea9afd2f5ea2990507d79779f1ef60e8826be11f04dc41af299b64f35028357c06dc9d6456533ed93266b1fbee91d633daa817ec7fa5131b501875e769
|
||||
EBUILD python-mpd2-3.0.5.ebuild 740 BLAKE2B 7b6b749934b18546d5c9069bd062b2dbfb688b673825705775555e1b8a033f268c45b021ddcce288ed838626d443f24fe225fca8c02eb5e180c7c971ab37500b SHA512 d42acc68a9c1df4a8189fca69382b9774cd40eeed827ba09144a181b189027b530515b3cec89c34ccc2a82b7dbcb776eff17eba475592eb0863193cbf4436d8e
|
||||
MISC metadata.xml 455 BLAKE2B 4aa73daf9b01bd4c8da2cf4640c6dd1440068d9f1cb6b3ba88b6d99eb4d04108ec197234b4327c8debcb85e3f81f2e0faa6fffec5d3deb899c4df9e58f5c5a94 SHA512 dd409a39f9913ef7fef71c3aef51bc5903f70bb0bf72ea3f1601b2c0f4859c4f21241dd3f465ddfe02475e860a11b32ec8b726152e418ef2218b9e972fc9c90c
|
||||
|
||||
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Python MPD client library"
|
||||
HOMEPAGE="https://github.com/Mic92/python-mpd2 https://pypi.org/project/python-mpd2/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS="README.rst"
|
||||
|
||||
RDEPEND=""
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
@ -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="LGPL-3"
|
||||
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? (
|
||||
@ -32,3 +31,5 @@ python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user