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

This commit is contained in:
Andreas Billmeier 2022-10-17 22:15:17 +02:00 committed by Andreas Billmeier
parent 6bd39c6d00
commit 2a52b477f1
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 additions and 42 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 1508 Ebuilds in total, 1501 of them have in total 1512 (34 different) licenses assigned.
There are 1507 Ebuilds in total, 1500 of them have in total 1511 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|883|
|MIT|882|
|Apache-2.0|307|
|GPL-3|92|
|BSD|89|

View File

@ -1,5 +1,3 @@
DIST pyvolumio-0.1.3.tar.gz 4497 BLAKE2B 6a44fb450dc1ea4db13e59931b0fd12c34f5817ef998f1df7257a329f3f146b29324ab2f290a9a0bb1d3d5071229b9c5fc76ca7637adf165d7e6c04fc994b033 SHA512 546be60200d76052eb90ea0c0d76b3a3b3356bb43d2a4b44d3b60dacb26f5afc8a546d4ffc465233c1a08a591a51231b78730b5bb39be1f146c5c80ae315ad52
DIST pyvolumio-0.1.5.tar.gz 4768 BLAKE2B cfad5e589dbd27a4d097ea8cbceed1a59323662506710ee032368d8cf5aa279012bd53d16fe33d43203c773a1bc7a70d14fea5f5a75b93c9b895c756e4eaca88 SHA512 62b30412a0e677c0b8f62b0cfbfa0f0d6ebe146d3dec47a97448442dd7188749cc60ad5a85fbb50965429eab28ac9f90863802aa8ab9891a720b452381996c10
EBUILD pyvolumio-0.1.3.ebuild 754 BLAKE2B 0da2aa04635c376f98a1468b8ee0c93b295226eaa79f46c364989d8802f8212d5689c717fe58080c85db84065cb9adeaf5ff253a22552bd6109321fd6d084b1d SHA512 c992c673405e3fec8103e2d3cfa675e18ff263a2e79bf0293020fbf85cb0025a654cc3284e7933f1043307c4b1f7aef45c7ae895ff00f3d4605b35bd743cca59
EBUILD pyvolumio-0.1.5.ebuild 752 BLAKE2B d99344eea824d06714219feeb9e1aa77756e55560f9c78484d62e32bfa7e6a99a447f0a28d0bbfe3937da2ba908d8f0b8eae579cd8b50618d333b6f43189d407 SHA512 91348324eee299b9b20698b52975d08111108827637490f4af156b2a779397b50bf493c4f3dd2eea22e182f3c319d9b2060918256155614f3dc27fdc48ad7fa6
EBUILD pyvolumio-0.1.5.ebuild 691 BLAKE2B 1c5787a80f61e294fd0e93597e9b20ee0adbe185b19720f9c7276952acfa0b1723e2a54917fa31243bc818a30b9b9691f3dcd6be57d8102339dbae2f52ec574a SHA512 3e06cdab64739cf5649a321233c6e9a69358fbb0f9d0dccfb4d31981eb3533d64ed635a0b66f02424ce2eb53750f086e43be7890eb77fc92fa0e383109cb004e
MISC metadata.xml 449 BLAKE2B deb593c01176ac93042dcfefcbf8ab91dfd7e6a507ced57b6e622df2fb908dceeaca60be787d1a7871aa6fce9744f97fd4f92e4901036adb488218acbe0ef00a SHA512 58e928a09ddde6078f7d0850b2b22038a824e91ce0a20f5ab60382bc34fc9e97e34fac357dcfa0773a6c6e457d83dc8f485b0ee82f0e375a820e3ddfc5f08bcc

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 python library to control Volumio."
HOMEPAGE="https://github.com/OnFreund/PyVolumio https://pypi.org/project/pyvolumio/"
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[${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 )"
@ -23,11 +23,11 @@ RDEPEND="dev-python/aiohttp[${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
}
distutils_enable_tests pytest