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

This commit is contained in:
Andreas Billmeier 2022-10-15 18:49:31 +02:00 committed by Andreas Billmeier
parent fbd6cede5f
commit e359c3cc60
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 9 additions and 40 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 1684 Ebuilds in total, 1677 of them have in total 1689 (35 different) licenses assigned.
There are 1683 Ebuilds in total, 1676 of them have in total 1688 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1009|
|MIT|1008|
|Apache-2.0|324|
|GPL-3|100|
|BSD|96|

View File

@ -1,5 +1,3 @@
DIST aionotion-1.1.0.tar.gz 9543 BLAKE2B 445fdef7b80f6a41e6d70de39bdb9444f7e11cb76559777eeb4895934d630bb6bfdbebbc8cb3c1b3bbe6b5ad6dde438406c1b1caee350dfb453122955cdbb742 SHA512 a88ba601275a1e50a32b4666a1876f0982875ee76a60d8afa282ef8226900b25879b119aaff25616915d0b990f28c3e48648dcc70ebbc8cce95b6554ad82f88f
DIST aionotion-3.0.2.tar.gz 8316 BLAKE2B fce6c11544257183068eeae5429b7b4e03e581e55f8669a2924c92eb06162451806c6c50e67589b698545c7372d9f21069d6a80fec7c1f5735b2f5ac08428dbf SHA512 ae5ffbade34175b66c2d3bdb0a5609a95f371d1fddfbd0d5f5f78609b43a90b708324e665377a7c6250f8fdd53eb6df4ef9bf25955e41ee49d497d8f06343d41
EBUILD aionotion-1.1.0.ebuild 714 BLAKE2B eef17ab9afd55364cb69995b3134dff59de712592756db477df2b806258c1a5d14809828b02a39b07e49cb65160fb110e3ed47e7b2946ad3a19cb140dcf84f86 SHA512 bd64c20bf9ad386b6ab62c9480e55bd2a952d9ecfbf75e334833b3ef5eddbf9482932fca6234517ff96d8760570be289640d1b2500534941dc90188594fab91b
EBUILD aionotion-3.0.2.ebuild 819 BLAKE2B a26df6c824c64702d528023a6b4a16024a5b7aa3209073dfe08f1f5638fe861226e12fd7d5f3dbccaa3e9fa854b9c8912ad662791d918c6e5fabe27f2194d7c8 SHA512 9f68ae447ab5537e53663ee987c9a3134a96ea063dca1b0acc6f70f15f1d5aa30909cd1fdd6faaf72130abfe9919773948640e3462834aa1c4d5bf8c3c3d7aa5
EBUILD aionotion-3.0.2.ebuild 823 BLAKE2B 60958b4f64cac51d02f5f6ffd5555c0158e84c8b61e00dfd4be0d23c22c8998c2ef7eb91f10530b2185bbb4e051421c8d6d3153e751446b05047695dd2786e15 SHA512 9c6c099dc9b61629541d5cf7c3155c7efb69f515cea321d22c27dafd737289fe1ea1033329fe379c1cf6dbff8adc8b3c82c68cd46cf96241da8b60f23314e821
MISC metadata.xml 452 BLAKE2B 1c345e3e94df6560774648c140b60732e16e5afc86ae5d9aaf3e4714161dbf638bac0e625f1d1f5c3bb3d65e287b7548468cd9bb166a60df7c7e689e564e80be SHA512 62553ff914a9039b496c8dc8fcb710678b3e7a7e8445a34bde0a273c4e6f49d6f683ef4b15a8b92b0fffd10e4681b84b50b07e1d1d6f2c973b3aa3ffe94567fb

View File

@ -1,31 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="A simple Python 3 library for Notion Home Monitoring"
HOMEPAGE="https://github.com/bachya/aionotion https://pypi.org/project/aionotion/"
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 )"
RDEPEND=""
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

@ -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