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

This commit is contained in:
Andreas Billmeier 2022-10-15 19:06:36 +02:00 committed by Andreas Billmeier
parent 5e7a3162ab
commit 0f683825f3
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 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 1679 Ebuilds in total, 1672 of them have in total 1684 (35 different) licenses assigned.
There are 1678 Ebuilds in total, 1671 of them have in total 1683 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1005|
|MIT|1004|
|Apache-2.0|323|
|GPL-3|100|
|BSD|96|

View File

@ -1,5 +1,3 @@
DIST aioridwell-2021.12.2.tar.gz 11209 BLAKE2B 4c758a7c3a2480f0d5130767499e6f2f385e16d10e08ca6b0cd9739e0747269f76901d780d5c29c0f0151802f5152dd3d364ab108c4c28516c73c51f4b0b544d SHA512 59d4fce4412043e4ca34cd97ef7871d68a5ae44c1613cecfb6286f7b70a92a815494f6ce9859cf2dd3ec13753880fdb88ee1c93737849582e83c617b0f51d103
DIST aioridwell-2022.3.0.tar.gz 11204 BLAKE2B 406689804b27b817ccaf38cb957c3eb39cb319197cbe1f9cc77330f89d2195d31cf73810c18eb780a701eb487ec48bf8c6059b307c4639ccb3c7dcc33477cb50 SHA512 0e94ce4d1931bd07027a3d1cbdf41c6cd139349b8066a9c1a05ae8b461dd3e79ca17de97434f269e5045895a04c6342f89658683aea648265fb2a70c1f5bb2ee
EBUILD aioridwell-2021.12.2.ebuild 927 BLAKE2B cac72539d05db7fee09d9da65f1bc71711e8f3b9e8c2dc74b71a7bb9d0ba5f92314b1b8afa346bd34dab201370c5a402a22ae3b9678d8eb462bb2a7ffcf55876 SHA512 cbfd3f96c8eed94d3c67954bd1b30e8a77031a15b63b9e63f7efd348a9855131e3e180cf6465b45504ec75ed7624a4cdcbbfecfa180a1a7db2c169a991e3e91e
EBUILD aioridwell-2022.3.0.ebuild 1057 BLAKE2B 8b05a69e28b4fa968c2d10cc88e62306480dbb9544739c790d44120dd077e782d6f2109e4a896aa4948b22db05620e5e682c7357e9264b7c9d8adf37e058ab96 SHA512 3a6ef5c019c685857285bb614aea3156ae45c5b2456c3837daac1db19b1ebc7913b057799844dc65e4e474aa319d25a0d0a02fa298865745b33e68b11e8dbecd
EBUILD aioridwell-2022.3.0.ebuild 1064 BLAKE2B 4699017f0447c3a646436125598012a556e1e279b39b0144c6aee948b8f5397273872f308e285153dafd2e179fdf153cf34c8170f3183dc7cbd7c194ae05c0b4 SHA512 b1287c120051baab9978b51163bddee58623d9d438f915ca2da51cc0b179d296f166372c9b116faab6e112a0395f1009158b98bede4acfa64e4ed8da6d3a830e
MISC metadata.xml 453 BLAKE2B a254e4b2fa990c63fd2686ad41923a3e8a6b9bbe0c5b124ea02855e283b4082a9c34aba9f187f13e9d9ed9996bad137c341befaaa8a59481e9f80308896e7a8e SHA512 394b2c887437def807d2901503c2824a237f8fdd393440c8511d0b62602ed6b0511c758ba580eefd438500912706c3fd7867cc7ad5ee80440340e55038eba4b1

View File

@ -1,36 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="A Python3, asyncio-based API for interacting with Ridwell waste recycling"
HOMEPAGE="https://github.com/bachya/aioridwell https://pypi.org/project/aioridwell/"
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/pyjwt-2.1.0[${PYTHON_USEDEP}]
>=dev-python/aiohttp-3.8.0[${PYTHON_USEDEP}]
>=dev-python/pytz-2021.3[${PYTHON_USEDEP}]
>=dev-python/titlecase-2.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 )"
@ -37,3 +37,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest