dev-python/crownstone-cloud: remove olds, cleanup, enable pytest

This commit is contained in:
2022-10-15 20:33:35 +02:00
committed by Andreas Billmeier
parent 2d7633f735
commit d23a00541b
4 changed files with 8 additions and 44 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 1654 Ebuilds in total, 1647 of them have in total 1659 (35 different) licenses assigned.
There are 1653 Ebuilds in total, 1646 of them have in total 1658 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|983|
|MIT|982|
|Apache-2.0|322|
|GPL-3|100|
|BSD|94|

View File

@@ -1,5 +1,3 @@
DIST crownstone-cloud-1.4.8.tar.gz 18655 BLAKE2B c169b4a50bbd4ee55325278ae8a9e2cd087588d41fdc02d25f619fdd1077385f1db2d0023438f17ae840a12e4840ce8f645ca9890e6b4a2ba3d8084d4698310b SHA512 dfd3ef634e3411ada94d3e8fa33924cf646436e9bfde61df183ca9d1f2048944b54ce4f87b81b20ee3d27c4f66df81ec75af04d2586c00b19a1b8c8a37f1277c
DIST crownstone-cloud-1.4.9.tar.gz 14966 BLAKE2B 31522483fedf9ae8058cfdc7dc92ecad833cc63c665a7bf5f9c403d758d77825fcef9e072e701fc49138c05b70f4c64fe2a886977c8c9938d6b022461fbca70a SHA512 1c811e546da659327de60534ec4f45d78680dd41595a82a3670b5b25a041673fca177c3dcb1d9f8be99645ae6be67516a010da791ea3a7c23c263d65cec60560
EBUILD crownstone-cloud-1.4.8.ebuild 967 BLAKE2B 53e7883233fe051c6486e020033d585ebf949b650d467fb61a42171a5b8269e8961ff8f0218b7657cfaf491131364bd7493cf8796760de336884b985730dccb4 SHA512 ee624a75ee703afa69dffcff9b9e16031f219942c4509674a049fe9df24c63ef3d3cb3bf7d8944c0c5a7ef0aa129c37263ea0bc5559c7c46a3181d3588a979a5
EBUILD crownstone-cloud-1.4.9.ebuild 965 BLAKE2B 075f3d3a195fec5384bc8e02c8e9eb84a6890495a9e578022fa454b447bc6667676c718b6b879a0403455d165e567bd31e7f08de592b959ffaaee8567aed2790 SHA512 bad93dd8c18ca32c51d94e0dcd4077dd9f6ccca47e267f21286eec142d6db083fa51f9849dad272d07aadd36d6f417c5baa48839ebf3787f0ca76c5e9a2d71cb
EBUILD crownstone-cloud-1.4.9.ebuild 968 BLAKE2B 42e971b5f592776116164390af453e7e1c8d5789295d796e5491514c3147fb15456bcf467f7dcdc91b51479d7ec9b6a6bbfb693e34efb48eb81b0632471af2b8 SHA512 c49bd23a1ca4eedf9a2ef63d6960d2adbb56e791e099f86d1947f3c538f7dbd972747d78122dd14a8a4d532885ffa0bf600c9e9c1fe140efa8e85de0a59a79e3
MISC metadata.xml 335 BLAKE2B f4a9046f4d5ea9bd52424c6335b91472fc749e02e82578237f42972620d1e97f1e2039dfea6351ab5c03d71a4bd64f72eedf9e705524f15139c1511c8eb10a98 SHA512 5597ad7d8985e397aedec10e27035161852d4d986098d94200d08360ad3f474c1c90152fb3b47dcb9f63dc9d8476f7e54c1098e997945dbab99fa8ed470aa545

View File

@@ -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="Asynchronous Python library to get data from the cloud, and switch Crownstones"
HOMEPAGE="https://github.com/crownstone/crownstone-lib-python-cloud https://pypi.org/project/crownstone-cloud/"
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/certifi[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
>=dev-python/codecov-2.1.10[${PYTHON_USEDEP}]
>=dev-python/asynctest-0.13.0[${PYTHON_USEDEP}]
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=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 )"
@@ -34,3 +34,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest