1
0
mirror of synced 2024-12-22 04:40:17 +01:00

dev-python/etelemetry: add 0.3.0

Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
Horea Christian 2022-09-14 18:48:55 -04:00
parent c2e0646d2e
commit 786c56414d
No known key found for this signature in database
GPG Key ID: 161C0BE6255333D3
2 changed files with 39 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST etelemetry-0.2.2.tar.gz 25890 BLAKE2B 3d2f0b77211f8af6b752126775b4d69e93675accd4041840d9905ea01affd5b70f628f56d06312390286c468eac77e04f139f2a6839d54aa1b2f9245af54447b SHA512 478d6a529c4363a699bc3c3ff84e02c168fab3ba8e2397c6babf07afb7565fb34b8dcdca6d7dc7878085e6ec96acb82e96c9bf2dd5ef5b7b5ebf05e1cdb70549
DIST etelemetry-0.3.0.tar.gz 28120 BLAKE2B 4765c3fbb315f0572abec0afdce2d0f73943bb40f668bdf9b0798f2dd7e973f7e5bc9eb98a6bef537b990e2ca2720f0c1ad2c3e25088328e86d985d5d3b67519 SHA512 9332e286fdc3c11b20b33501bf65346772e2db10c01d9a093d51eaea36b3c48e72f1edd16ff15b6e1b3c589fe3caa2aa36a2bde8d211c5eab5abc913ae767d3f

View File

@ -0,0 +1,38 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
MY_PN=etelemetry-client
DESCRIPTION="Lightweight python client to communicate with the etelemetry server"
HOMEPAGE="https://github.com/sensein/etelemetry-client"
SRC_URI="https://github.com/sensein/etelemetry-client/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND=""
RDEPEND="
dev-python/ci_info[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
"
BDEPEND=""
S="${WORKDIR}/${MY_PN}-${PV}"
distutils_enable_tests pytest
# Due to the clowdish nature of the package, most tests fail:
# https://github.com/sensein/etelemetry-client/issues/41
EPYTEST_DESELECT=(
"etelemetry/tests/test_client.py::test_etrequest"
"etelemetry/tests/test_client.py::test_get_project"
"etelemetry/tests/test_client.py::test_check_available"
)