dev-python/pykodi: remove olds, cleanup, enable pytest
This commit is contained in:
parent
4d9ea4dd92
commit
58eb7cce76
@ -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 1550 Ebuilds in total, 1543 of them have in total 1555 (34 different) licenses assigned.
|
||||
There are 1549 Ebuilds in total, 1542 of them have in total 1554 (34 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|913|
|
||||
|MIT|912|
|
||||
|Apache-2.0|308|
|
||||
|GPL-3|95|
|
||||
|BSD|89|
|
||||
|
@ -1,4 +1,3 @@
|
||||
DIST pykodi-0.2.7.tar.gz 6564 BLAKE2B 462552a1a2e9d3789aa72a57a1166fe5da601d5397c9516bdcdcf45c20feea3965b109bcaaf450f56d61f379715a7108d777c9034d6ce933f43d37ca85aec8bb SHA512 5199dfc3eacb3ee69e3bcb5517325875b2d6b2b27920025a67d7535f4a43c66db568283e1006cf87e239882b0afb352aceb4ad0720daae73750030aeb0bebab6
|
||||
EBUILD pykodi-0.2.7-r1.ebuild 865 BLAKE2B b90b2ac919e00c8142c2e8688f2212fc37030069ff3197652c697917bbeb2087120cff16f1aa3e90664aa572137f12b6ae531d2173a6c0463b5f35ea7f831ac6 SHA512 a85b0a68b2ed51404b83ae9aaac5c4df68dbd7315cc8659337ab1f0b28b8f38b10c06a235914bc9341cb2bcd30e9788ea885eff948617a756ce304201dde83c2
|
||||
EBUILD pykodi-0.2.7.ebuild 865 BLAKE2B 8eec1d4f4a2e321f0c4f5b3dbb205cbd16bc7ad33471b53942dfd76d1764cbb9efcfdc62906d48570a59e771b916a668eb3698b04bc82f3a1dc5d74490043cf2 SHA512 8353aaa7ddb48b688d5e461f2368a1d46f21fe8e4b4f492137ff4ec074ab0f688ddfe07c96c9b910d0dc245daa3f438f8b1e19152dcc7f872950035d3605b842
|
||||
EBUILD pykodi-0.2.7-r1.ebuild 870 BLAKE2B cab7e345ec70a92557bc9873456983e7f8db33dece26d074495b3dee66314da1319923e187b96a28b9a1dc125fa98b9c976b54a4cc0aa93369c8ad634538a7f7 SHA512 af26cc28dc25014c535ab9326246b9998dc0c767e5b40d7eb87fb7a37c5c7fc0dec69ea3f69905c9273839c8706e812e70fb1f62db547becc56e47888986b0e6
|
||||
MISC metadata.xml 446 BLAKE2B 129131126d8e25804cceba5601ff41292ee22c1657535d45633765134fa73e7aee3b542dca9ed71605985342de34c9f2cafc1f6b042840036446d6887307dd34 SHA512 9630642a1da9b3731ea8d9aabe871b8c07c8665ed9f68cb45ed0d8aedc9032c9f1b4f386c73afb9e57e4fa70a0097edcdad4db53cb8e5d5fe3592277d4f17640
|
||||
|
@ -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,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 )"
|
||||
|
||||
@ -33,3 +33,5 @@ python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
@ -1,35 +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="An async python interface for Kodi over JSON-RPC."
|
||||
HOMEPAGE="https://github.com/OnFreund/PyKodi https://pypi.org/project/pykodi/"
|
||||
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}]
|
||||
>=dev-python/jsonrpc-async-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonrpc-websocket-3.0.0[${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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user