mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
dev-python/opentelemetry-exporter-otlp-proto-common: add 1.43.0
Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
DIST opentelemetry-python-1.42.1.gh.tar.gz 1552607 BLAKE2B 52882e5f620dee666845d0b7f1205edad87e08a6a8f6c6695d7719beb9948da46aed3207b4cbf5ffbc2af2461b19e504b14772e027aca2ca6eeb2252c63b1a35 SHA512 35322b852f29c9cda8180e1959121aa07b48ea67f0173bd1ef49834de1fa6cb0c2ce9275d5578a57c3aa1523fc1daa96bf84f7c720a64d1db43513c9d9b8744e
|
DIST opentelemetry-python-1.42.1.gh.tar.gz 1552607 BLAKE2B 52882e5f620dee666845d0b7f1205edad87e08a6a8f6c6695d7719beb9948da46aed3207b4cbf5ffbc2af2461b19e504b14772e027aca2ca6eeb2252c63b1a35 SHA512 35322b852f29c9cda8180e1959121aa07b48ea67f0173bd1ef49834de1fa6cb0c2ce9275d5578a57c3aa1523fc1daa96bf84f7c720a64d1db43513c9d9b8744e
|
||||||
|
DIST opentelemetry-python-1.43.0.gh.tar.gz 1601072 BLAKE2B 9ea017308ecc0e3d4b00b86bf384c8737341babe5690defd33f0455af248052a4492bcaa793ea5a2bdc7a2d1cc27a708631651b232bda788fb535a7581bf844a SHA512 ec8b5862f9bc8aaa60ff765cbdf72ce488ea8b04efa49549901d73b909f5f66a187e8e345ac8b085fdff03207787539ff6a6f75ceb8fdbc056a5de5c3c3619ab
|
||||||
|
|||||||
@@ -0,0 +1,51 @@
|
|||||||
|
# Copyright 2026 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=hatchling
|
||||||
|
PYTHON_COMPAT=( python3_{12..14} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
MY_P="opentelemetry-python-${PV}"
|
||||||
|
DESCRIPTION="OpenTelemetry Protobuf encoding"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://opentelemetry.io/
|
||||||
|
https://pypi.org/project/opentelemetry-exporter-otlp-proto-common/
|
||||||
|
https://github.com/open-telemetry/opentelemetry-python/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/open-telemetry/opentelemetry-python/archive/refs/tags/v${PV}.tar.gz
|
||||||
|
-> ${MY_P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
S="${WORKDIR}/${MY_P}/exporter/${PN}"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
~dev-python/opentelemetry-proto-${PV}[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
~dev-python/opentelemetry-sdk-${PV}[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
EPYTEST_PLUGINS=()
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
cp -a "${BUILD_DIR}"/{install,test} || die
|
||||||
|
local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH}
|
||||||
|
|
||||||
|
for dep in tests/opentelemetry-test-utils; do
|
||||||
|
pushd "${WORKDIR}/${MY_P}/${dep}" >/dev/null || die
|
||||||
|
distutils_pep517_install "${BUILD_DIR}"/test
|
||||||
|
popd >/dev/null || die
|
||||||
|
done
|
||||||
|
|
||||||
|
epytest
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user