dev-python/airthings-cloud: remove olds, cleanup, enable pytest
This commit is contained in:
@@ -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 1676 Ebuilds in total, 1669 of them have in total 1681 (35 different) licenses assigned.
|
||||
There are 1675 Ebuilds in total, 1668 of them have in total 1680 (35 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|1002|
|
||||
|MIT|1001|
|
||||
|Apache-2.0|323|
|
||||
|GPL-3|100|
|
||||
|BSD|96|
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
DIST airthings-cloud-0.0.1.tar.gz 2527 BLAKE2B 70dc5e908ac144fc98400d66f56e0197a810ca76db88735177de50fdfd7703e3c81b7b97fdeec5188fdb9634a1591d75f4925daf2af750572909a8f19b3bc45f SHA512 746c2123f3d6ef6edbd3eee59827a96fc1dfa8f08fd77ba0d6bb128418ce7998a2f2f42b7af50db62d4d2ae11551ab7de37a9914d68d3024c90effd2764cd7bc
|
||||
DIST airthings-cloud-0.1.0.tar.gz 3538 BLAKE2B 9019a25833ee0224f4f6348c7b5d69b06c164eef096fb54c4a78e98854c3f3deafdba018c30bbbe2999f92e456e920772ca2fd7befd2e0e558edd0d6c59c1fba SHA512 8bf0b45a97f2dd12dfb147e451470d544c144f55e7d8f45dd6e2039dfdcab374aef5b7f3109248fa6ae0a58d34b027e010c52753c378b1a0a626dbda67f54979
|
||||
EBUILD airthings-cloud-0.0.1.ebuild 880 BLAKE2B b541f32502042c3fb38d2f0bfa68885106b240beeca7354cf258275c5d7972025b20b58e41ac8a4f031bb09b2de300191724284792bdf39d663caa84a88a9a2d SHA512 b862bd261a7fd522716b7439247ce9fe7f305721f29b027d82fb24d116f0fcfb4bc3beb0b695d2ee72c28c1070d6ebcaeadb581988fd01ccce92c1cf30bf3a6c
|
||||
EBUILD airthings-cloud-0.1.0.ebuild 892 BLAKE2B 6452631b16deeb23ff2c806b45639498f7a0fa1ccd10488cd2b09c962a65f68c7207e4daaf27a09c997843c62160e3962bcaf4bc4701eb616d72bd4aee17cf03 SHA512 8ba1db3303d52a3122e09ec5883119777dcea016c7de267f9ff02cc441740c558e382120f19593bd3b8533767b9815db1d43df0777b4ccee22810cab35c02fb8
|
||||
EBUILD airthings-cloud-0.1.0.ebuild 895 BLAKE2B 3cc6535257176e882cc1d89ff07af754817dc0792eec497a06f144fec0551207fd1828f5dff4f98f96d7b072c33ac07f5400f3d96ac82740d5b9c71c1ff14b98 SHA512 fee9543e736ee04f6849ccf8497878d1fa62e895b2acceb4e56d91278c3661427ce3ebd0d50ba2b8a8ea5357553d6e3260e1bf485418b9429ae32370893816e8
|
||||
MISC metadata.xml 467 BLAKE2B caa01fe9ff515d13f1fa50142f343e97e6d5869b70c25ba2b953df0d4f7a63fe4fcff0b90ea63ecc0dc2dcd1a69e211018aa246e20ab2c88af1da7405870469c SHA512 42a8c3792ff18b054991eb7a60d3acc642d792846212ea41b7d516bdbb50425aaaac08f52691be72e25ce5d6fd448d78151ec91fdc00dcea0f945bdda55d890f
|
||||
|
||||
@@ -1,36 +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="A python3 library to communicate with Aws"
|
||||
HOMEPAGE="https://github.com/Danielhiversen/pyAirthings https://pypi.org/project/airthings-cloud/"
|
||||
MY_PN=${PN/-/_}
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DOCS=""
|
||||
|
||||
RDEPEND="dev-python/aiohttp[${PYTHON_USEDEP}]
|
||||
dev-python/async-timeout[${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
|
||||
}
|
||||
@@ -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=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
@@ -34,3 +34,5 @@ python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Reference in New Issue
Block a user