dev-python/influxdb-client: 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 1616 Ebuilds in total, 1609 of them have in total 1621 (35 different) licenses assigned.
|
||||
There are 1615 Ebuilds in total, 1608 of them have in total 1620 (35 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|958|
|
||||
|MIT|957|
|
||||
|Apache-2.0|316|
|
||||
|GPL-3|97|
|
||||
|BSD|93|
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
DIST influxdb-client-1.14.0.tar.gz 193726 BLAKE2B 54a0edea4f092a34a033f8b3aa0cade92f4cf23f633138129636b7a1c30cd67949327bb836c50747570942371d8aca49920a91364d36b7ad1ebbc3c1cdb323b6 SHA512 4b52f61fef8b44f1cef889c4d2e296daf79e9fda87b83164ec515f39cce0ac21c0629aae314a305a65b0a8375615a522d510c8c737a094c8a87d28de66f9781b
|
||||
DIST influxdb-client-1.24.0.tar.gz 236000 BLAKE2B 7922a39d57f2d255c1ab3cac92682128cd20306aefd84281d224f4525ce70ce2d3e44c83b8a1d13b1608d6168a41989c0c8225bf8ed70d5df7f0a970fceb9be7 SHA512 413370722993868ddeca2a9e31d09a106e045414247b945ad5e2d6b142601df2780c2aaee950daeaa5a3bbc5dc9bd456ec8f8ba37218aa9bd4f7f4cd0f4a3c48
|
||||
EBUILD influxdb-client-1.14.0.ebuild 1143 BLAKE2B 3f586dda9293a58f42c0a91eee75f139eb643ad1acb03cfd89c08347e2d0e060de6c5428a147c1a67e2da7e799f95d81212abb441c9c11f6ac504f382a6767f1 SHA512 4229aafe76c48fa7b9c8f36eccbc0f5e74d115f51cfd3cb73e85f793fba5adaebeb1c403ef6bf0c4b114fce0e522c031ab43d4e26fb2c39250ca5eb51486e833
|
||||
EBUILD influxdb-client-1.24.0.ebuild 1108 BLAKE2B 97f2a5be333cd485745cce2fe8115b48aaab830249dad4b52310f9030f468845df21e42f34d0b00a978aafaecf8a8ea4e3241d7e8821b9bbf7e270aa6553d912 SHA512 f90168c8cd2ebd09e9fb20b07e4f0fa849b430fa42280e7e15e8ccc2404b7072d61065d2c8ff8292392e9f365336b3c343f8dbe673c01d21a612cb3caf08b77c
|
||||
EBUILD influxdb-client-1.24.0.ebuild 1115 BLAKE2B 967157cc883411c8174de94423e9508a23ef8305c26b330cb6416e04068d6d700af2f3ba31267145d725d665f6e305529fbd3cfbf98f9789aba17821635ea3c1 SHA512 2a4768a34319e9965dabceec433c16171d5a52b32735e72d7337c45ab6cccd3ae4f5351a9556d74aa3df181c90a1f6441604c9ce9a98617bce7aece43dcc5eb6
|
||||
MISC metadata.xml 334 BLAKE2B 7026b7b0b15846a8b6558e7acb40f9d869475c91deb6543c25dbdc225c69e2446be5d00dc20744c1924a04b5c343e89916ba89afae36068d946965677a0329eb SHA512 16197682c7e473197d1fee49bb9fd8a9f7697d86fd5372ac097e62ef450d6cc101178ea342ea6949f8e5b2b0d9efb36a344bffff57db9055cae4ee75026a82af
|
||||
|
||||
@@ -1,48 +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="InfluxDB 2.0 Python client library"
|
||||
HOMEPAGE="https://github.com/influxdata/influxdb-client-python https://pypi.org/project/influxdb-client/"
|
||||
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="README.rst"
|
||||
|
||||
RDEPEND=">=dev-python/Rx-3.0.1
|
||||
>=dev-python/certifi-14.05.14
|
||||
>=dev-python/six-1.10
|
||||
>=dev-python/python-dateutil-2.5.3
|
||||
>=dev-python/urllib3-1.15.1
|
||||
>=dev-python/ciso8601-2.1.1
|
||||
>=dev-python/pytz-2019.1
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
src_prepare() {
|
||||
sed -e "s;packages=find_packages();packages=find_packages(exclude=['tests', 'docs']);" \
|
||||
-i setup.py
|
||||
eapply_user
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
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 )"
|
||||
|
||||
@@ -45,3 +45,5 @@ python_test() {
|
||||
nosetests --verbose || die
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Reference in New Issue
Block a user