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

This commit is contained in:
Andreas Billmeier 2022-10-15 19:11:39 +02:00 committed by Andreas Billmeier
parent c8fa4a1051
commit 2525bb0fcc
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 9 additions and 43 deletions

View File

@ -538,11 +538,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 1678 Ebuilds in total, 1671 of them have in total 1683 (35 different) licenses assigned.
There are 1677 Ebuilds in total, 1670 of them have in total 1682 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1004|
|MIT|1003|
|Apache-2.0|323|
|GPL-3|100|
|BSD|96|

View File

@ -1,5 +1,3 @@
DIST aiosyncthing-0.5.1.tar.gz 7926 BLAKE2B 854f2ae2ce36224a0f8c7165856c42899b056d2b604032fdaa979a0f89b576a18de9cdfb425de64e1eb921a546498955782fe201f47185f1bc15cca39340ed90 SHA512 be5ce17cc0ff23ef9faf556a8a4c346992f31cdbe85660644b12a6bbff953eb4e528d724e31ae0165bbdda7b25cce11afd15bae37987643a6f2b4e19d30fa601
DIST aiosyncthing-0.6.3.tar.gz 8152 BLAKE2B 77f6fae6173cf423e7fad4b01d16c17a45c8d27972f0a0d7cf675ca0b891a963fef509d3927b1a21d1679a6aaab96510a5d96b00280f6833585bc032d62d833d SHA512 89c4937ef67a0bae30d4e6ffe3d05b9c8300c056854cd11e3c84ec68e47313e85450b2e6b5964232b9948c69a59eff7401350bc44dfdd69ccccac7c362a117bf
EBUILD aiosyncthing-0.5.1.ebuild 826 BLAKE2B 77dfef6e2ebe28f6d175657c537645d45426a36f69c9965447c7be72e9b87ff2eb8111eae940fc89cd73a2226348605a882ae2b903983ba8533065bb0372e1a9 SHA512 4c4cc2ceef9d82ffa725a20ad10c735d340c83189e5ceb9e74606fc094b17ffa9d33619adcc61d2a20da32c91d8b1acdbdba613729fedc69816f49c146d64b23
EBUILD aiosyncthing-0.6.3.ebuild 826 BLAKE2B 77dfef6e2ebe28f6d175657c537645d45426a36f69c9965447c7be72e9b87ff2eb8111eae940fc89cd73a2226348605a882ae2b903983ba8533065bb0372e1a9 SHA512 4c4cc2ceef9d82ffa725a20ad10c735d340c83189e5ceb9e74606fc094b17ffa9d33619adcc61d2a20da32c91d8b1acdbdba613729fedc69816f49c146d64b23
EBUILD aiosyncthing-0.5.1.ebuild 827 BLAKE2B b8ef919a1b137644fe729d9bebb2f2e869f96b809c62351daf30c8b33175d4a950c48dc48a500e31a50f22bc92535118edbafd266637796da173568f67029e15 SHA512 35ce34254e3623034b43998ad0391b8e067ad80e4d360764bc50597f371859e9593e307962a71fc71f22eb0315d6c6a86932f5992fac264891220d403a77f1e5
MISC metadata.xml 461 BLAKE2B 4a23208a8d3e61a36d66e04ce34e3f2303e1442ebe2bb6f6315bfac2e4979dfb465cdf5bc90a7f64224e6dc5c17a22dcc07c33eca8ecfb915fd0f97493cd78e3 SHA512 6216eedd53cca004cc8dc832971a067f6559c3737aca4d56e1010092454163ec71834dbfe9b558d8ffccd2c53183adbdb4c63c60deb063cd3626f8156540bb8b

View File

@ -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="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 )"
@ -32,3 +32,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest

View File

@ -1,34 +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="Asynchronous Python client for the Syncthing REST API"
HOMEPAGE="https://github.com/zhulik/aiosyncthing https://pypi.org/project/aiosyncthing/"
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.7.4[${PYTHON_USEDEP}]
>=dev-python/yarl-1.6.3[${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
}