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

This commit is contained in:
Andreas Billmeier 2022-10-16 10:04:48 +02:00 committed by Andreas Billmeier
parent f7fddd4f7b
commit 233bace705
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 additions and 38 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 1615 Ebuilds in total, 1608 of them have in total 1620 (35 different) licenses assigned.
There are 1614 Ebuilds in total, 1607 of them have in total 1619 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|957|
|MIT|956|
|Apache-2.0|316|
|GPL-3|97|
|BSD|93|

View File

@ -1,7 +1,5 @@
AUX influxdb-5.3.1-pandas-future-warning.patch 638 BLAKE2B a8cba22ef423b5162666fe9157516dae077355139f323ee98149cfdbde15fc12de163cfb54009ab8bfebf2697c4b539f512de19d6d066aa28623e7e9f272b411 SHA512 0d2a6213efbcd56b9908924a839fe63d369dc7ec674e3d1603a81649969f47fe085b6ab163028384752a033a98d358de2d7c651618370c018d05df7152b74e52
AUX influxdb.conf.template 476 BLAKE2B 50416cccd720729d28b50d6cd4bcd6582c959b932c75f8dc64525e96be35242cd8dd36b3f689383e22b0eed3925b0c97dc42dbaabdd76dcc3cca4d5f49d8cc0d SHA512 3b8f9dfa149ed0e8aa25c8db8b39968e01ba7f81b9db037a0e05740c27d617dea8101efc9b9ddb00bf354cea7eefe5ad318b2ba309276e5ba4500bc3dc9db62e
DIST influxdb-5.2.3.tar.gz 62569 BLAKE2B cb171293f53fffd5ee95349e2c62a9236d0f7094506f965b25b30a8371c372a576ed8b0c86dfc8407f44249f57ed198461e0826c146860750b04b4fb98d04b7e SHA512 de62c745fdbe2d77b4f4a596a5377b8ec5c0bd0a6030b08e1b45435139efc4ade4fcdfbf71fc6d37f65cb04b2d48028ded2f14e5ad337fee5630ce8082c4d617
DIST influxdb-5.3.1.tar.gz 67385 BLAKE2B 6034ae3b8da68bff017ac09b5efdf1258258145259a7382a1f1c06185acbecd76a8e638487e4a146be15e6b8acd4036ff941d90ff525fcbca25e016172a3646f SHA512 04ec8c221e4c6f89836aafb37951db80c32bf69cc93e2a84ea70cd40c9fc2e7a3c647b877c66b8b58e8664d1099794690c7adf69f06fffaafbf9215de107e6e0
EBUILD influxdb-5.2.3.ebuild 678 BLAKE2B d9be7f99706b685dc34358cefcf3aefd2930760c3163b86b32e2cbe2e15d3d0f8c6201d8ab37a0b7574bad90b694c5e039175accd176797a44bbcde67509cb67 SHA512 08546b49b7a96230f7d4b12bb6fb29a70aae8cbbd0e99fa65a5ce35b4dab68a5fa5b46252190b509407a17170dcad65c25f1d7365341efbddc33e2403c614681
EBUILD influxdb-5.3.1.ebuild 1139 BLAKE2B 43b29969e312792129add44cbb9de9c6bae31dac5934eccf59e2f65762562d9b90cdc6e52a56614810048b0f90238533beafc0c6296c6c41c0818fb04508b7d2 SHA512 789b4cd7548fc9a7e5ab30393275f7effee92a669cc24b5b5a4ad4a91172531d3958e155f0cf7b2bc8b265ed60b1d76c864c0c949ec8adae7bec116932bfbae8
EBUILD influxdb-5.3.1.ebuild 1146 BLAKE2B 4b9efecf6c970fd3c25e2c2bedc1f21c5fa7c93f13dba9c5d3f260e3e2b0f7546b6029d2e1f51cfc72b05afb990aebb8d0be280c51752d89084b83bad02113e1 SHA512 f55c0d445918c94fc5a26697b916882f84ae735bf83997046806454d64504c85b1e6c42e50f40255b53056186c2d7acf4afe9081d01cc0b0b841a2c02b791366
MISC metadata.xml 327 BLAKE2B 5f98b377419f639e8119f44fe9da3b6839a19a09c33688e8affe6f7123983b0d239b5a780a7038926e8b3f26a22f70628af5410aa33ed79d4de23a58c4b09f8d SHA512 e5c2c2487aca614212e8fabae9aeedea544b98462402391fb0398579a565af5ec1b2d5d059e3ca4f59e892ec68c539ff45b6766e4810be1d82a2440fc723e291

View File

@ -1,31 +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="InfluxDB client"
HOMEPAGE="https://github.com/influxdb/influxdb-python https://pypi.org/project/influxdb/"
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

@ -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"
RDEPEND="
>=dev-python/msgpack-0.6.1[${PYTHON_USEDEP}]
@ -39,3 +39,5 @@ src_prepare() {
cp "${FILESDIR}/influxdb.conf.template" "${S}/influxdb/tests/server_tests/influxdb.conf.template" || die
default
}
distutils_enable_tests pytest