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

This commit is contained in:
Andreas Billmeier 2022-10-18 00:27:52 +02:00 committed by Andreas Billmeier
parent cc140fcfcf
commit d1df68304a
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 additions and 44 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 1476 Ebuilds in total, 1469 of them have in total 1479 (34 different) licenses assigned.
There are 1475 Ebuilds in total, 1468 of them have in total 1478 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|858|
|MIT|857|
|Apache-2.0|301|
|GPL-3|91|
|BSD|89|

View File

@ -1,5 +1,3 @@
DIST tailscale-0.1.6.tar.gz 7877 BLAKE2B b92fb4fdb060363e54f519e0da0e5afbadc91403fd6c563053b4faf78c744a8cb94a218accc3e6e78fe618b6bc9004dbcde19753ae36e85b7a530e9322def464 SHA512 b092bf4e0aa560c3643a5a9815b06de2249d735aaed24ca48a905752c9ba802f5b4583908d4be9cbc2706f77a778313419361b82f6cae95d59ea6676db95fa87
DIST tailscale-0.2.0.tar.gz 8274 BLAKE2B 5977f233ef440b5d614444c302b8aad7b440fd77eb04469ee26d2277260ccf3cb98969139e3181fb6656e625019f8208a25f6c48f1b9d9bac920777bb8eac921 SHA512 7ccde85a6d03c6812de5faa4146c291a62716a595e597bf529c2b65121fc4036901a2f9f3caca4c84a3cf553efba03db49e25c7e8672ddfe5f1d6b5b6dd5669f
EBUILD tailscale-0.1.6.ebuild 861 BLAKE2B 7e31af51a04ceca9f961352ebd15d5dfa7b8bbad50854aed959e99a2387e48fe2145ff4d0d83c461ff5a7ea2499aa79d12a4490b9fcf22569765cbab6a1d00f0 SHA512 372a8f8224a51a92dac06179fa5143bc87289ed3559d1b9fe8e848142bd629e77ada517b0c466987d7c624c47afb0c584cdca0433f61c18d1c7bf7b557225a75
EBUILD tailscale-0.2.0.ebuild 949 BLAKE2B 419a8cc7d32a941390f1ddee9e4004053d998283648a16d22c4c3bfcc4edcf43fb270467f4cf8f12401cc09cedee63a218db260846d1aca968c783173d6b4a2b SHA512 cf5e128d8d2dea23f82e21cc7a2d86bfb7888a725fa93cb0112bac9bea73bac52272470cb8e7536b3a205319242ed3d2ff844f62d465e00986517a8400a6dcee
EBUILD tailscale-0.2.0.ebuild 888 BLAKE2B da6a1e61bb91aeb7f14a9a1dd7161042e44ea99540de519d4d296fa54c26105fa5d0491742601a46a2fefeeb7fcedabd6a9c2601b53861b01ebd2260111df210 SHA512 9ba32b94044b4f03eb21d1b2313bb24b2e10cc412fbf3c93111bad4cb187b8bd02da667fb7d017dc83ef0e3f69627e0710977116aa5cf95937890bbdb771eb2b
MISC metadata.xml 456 BLAKE2B 071f1e9dbc0e383e3c02e7789848fa390c86cd02a4eeff463fba906b03627d9954d8987702309054f82d92c281ccb1e19d0035270c3f80ebe5b55a994fbea9d8 SHA512 3a9f9765e93376f97a1ae50efed1d54a1c88aeebd3719b3f0b3cadc5a638b054b9c8fc101d5606d5929c90b3465672cdd3df7f84e1487010624404bb99d90fec

View File

@ -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="Asynchronous client for the Tailscale API."
HOMEPAGE="https://github.com/frenck/python-tailscale https://pypi.org/project/tailscale/"
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-3.0.0[${PYTHON_USEDEP}]
>=dev-python/yarl-1.6.0[${PYTHON_USEDEP}]
>=dev-python/pydantic-1.8.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
}

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 )"
@ -25,13 +25,13 @@ RDEPEND=">=dev-python/aiohttp-3.0.0[${PYTHON_USEDEP}]
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/pytest-cov[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest