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

This commit is contained in:
Andreas Billmeier 2022-10-15 19:12:30 +02:00 committed by Andreas Billmeier
parent 2525bb0fcc
commit b0d2be61ae
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 additions and 41 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 1677 Ebuilds in total, 1670 of them have in total 1682 (35 different) licenses assigned.
There are 1676 Ebuilds in total, 1669 of them have in total 1681 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1003|
|MIT|1002|
|Apache-2.0|323|
|GPL-3|100|
|BSD|96|

View File

@ -1,5 +1,3 @@
DIST aiotractive-0.5.2.tar.gz 7850 BLAKE2B 7a66421a1662897b95d3c8a229053a54250f4f8a6399a1dc13e43afc33e209dc66269dbe601e1f36d61929b5ff5c8c706d7fdb1232c408373fcd6059c3f0c7e5 SHA512 84fb0f585c93c828e1a19fda2b8dabc71ba67dec69677246401e9a1478ad214935ea42ac3e1419bbc48d7d2d78740d681ba5d770aba14c62807ba102200f2be7
DIST aiotractive-0.5.4.tar.gz 7830 BLAKE2B 59514abf755d65c31441ee1f85950adcdc53b4393ae59f78ca21a7a86a00502e2b5ea346866b903fe026c12b99485eb7fb7ba0da7cc5229d8b3c2d8735e0946c SHA512 e8eed82d73c64e946ab2c594019387b34a11911424d0cc08dee2d8eb7ff6ca74aa8b33bc0195895f63af49c6863e8487ac2db5a06da8f5cc8ea47baf9c848e31
EBUILD aiotractive-0.5.2.ebuild 817 BLAKE2B f3da140e232bc3c9e3e49f827bd50f39ab29a63e708d856ad838eb6e6ee85291712d81d1cd3c3732996c29599b0123a019de3a85f4fad3ce9c94b6995a6d6a28 SHA512 c5b369d10677eec42d7811533e0795d972955ea7d14557a67c9997f30af321075d471d99576ad24f0fad6c22727e1c1642f802cacf56e537d93650f6a9513fdb
EBUILD aiotractive-0.5.4.ebuild 817 BLAKE2B d7b7279f378599c2c4fb5b909ebd2d48d1498be64629323af91cb7c1105a34046131b747a1914149d086e3a0bea7b1d342924abff35d0ac7ce092a91b051d9c8 SHA512 32177833e9e792291a2e19d25451fd2ea230dc88e693512e0d91f540d5af3f1ae3668024111d118fea5482e8070d94958792b39561906b61ce3fce3a2a2beadc
EBUILD aiotractive-0.5.4.ebuild 824 BLAKE2B 6f33dfac6fd05a786eb5f66d625c46d03523b94080b0f8952824d8e5ece51fc6c13eb5f2aa5bd0be1f1b93195905daee497fe169b0198c37be233881098d625a SHA512 fbeef92add7b945b56016276902cb82bc10398903484b7c469fe78d7add87f5c7e1cc87e696b56fe1a5b2409fd653738837e6e21a40fed2d7fb13d682d934b54
MISC metadata.xml 460 BLAKE2B 0c908a4d5979f9bde798211118292ddb1bf68682e90bbdf2d9f86803f4289fcfb81258abfe5851f829afe5ff8dc85ee71c5e40f1cefde349c085c4439705bab5 SHA512 74610d76ddefd9b068595ab46a0bf87317c56167ca917e4c54cdc415f9ad4c0e8ef95b448195bf1b7ef172fa53373332e2ee09afbe9f7c8381e9914a83d41240

View File

@ -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="Asynchronous Python client for the Tractive REST API"
HOMEPAGE="https://github.com/zhulik/aiotractive https://pypi.org/project/aiotractive/"
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
}

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