dev-python/opentelemetry-instrumentation: add 0.64_beta0

Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
Florian Albrechtskirchinger
2026-07-05 07:44:26 +02:00
parent 35060a9428
commit f163bcba2a
2 changed files with 61 additions and 0 deletions

View File

@@ -1,2 +1,4 @@
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
DIST opentelemetry-python-contrib-0.63b1.gh.tar.gz 1968676 BLAKE2B a07cf1219f04b4b6a384825cae407b1d6988516865dfa564cb4dd42db49e8fe3c2a142ae7bb83eb6474a4a5ee71d3325bb5772b0db1536fbe748ef773fc5588d SHA512 0caaf63bddcf1d3e29da87a8faf6d52fea95d344680012c68fcd6810cfa0398ec35290b1ddc543a8b87c5157c87816ec36040030a62d04f913a5544d290179d4
DIST opentelemetry-python-contrib-0.64b0.gh.tar.gz 1983357 BLAKE2B 5889183d317ac2afcbb44f6df7ffabf20094b9fb56aa8f2c578b6fa66b76ded2cf63b0488594719cc231997e9d6b6d042fd7d83df8f192b9904367e65c623333 SHA512 78bc185a0d41c0dfd261d6cc4204e98c09b1bc8598cbab77890f559c5a84fdfacc95952c1358790f2b588540b60016f7ffea6d80b398e07d73af888e4c4bbfa9

View File

@@ -0,0 +1,59 @@
# 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..15} )
inherit distutils-r1
MY_PV=${PV/_beta/b}
MY_P="opentelemetry-python-contrib-${MY_PV}"
OTLP_PV=1.43.0
OTLP_P="opentelemetry-python-${OTLP_PV}"
DESCRIPTION="Instrumentation Tools & Auto Instrumentation for OpenTelemetry Python"
HOMEPAGE="
https://opentelemetry.io/
https://pypi.org/project/opentelemetry-instrumentation/
https://github.com/open-telemetry/opentelemetry-python-contrib/
"
SRC_URI="
https://github.com/open-telemetry/opentelemetry-python-contrib/archive/refs/tags/v${MY_PV}.tar.gz
-> ${MY_P}.gh.tar.gz
test? (
https://github.com/open-telemetry/opentelemetry-python/archive/refs/tags/v${OTLP_PV}.tar.gz
-> ${OTLP_P}.gh.tar.gz
)
"
S="${WORKDIR}/${MY_P}/${PN}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
~dev-python/opentelemetry-api-${OTLP_PV}[${PYTHON_USEDEP}]
~dev-python/opentelemetry-sdk-${OTLP_PV}[${PYTHON_USEDEP}]
~dev-python/opentelemetry-semantic-conventions-${OTLP_PV}[${PYTHON_USEDEP}]
>=dev-python/packaging-18.0[${PYTHON_USEDEP}]
>=dev-python/wrapt-1.0.0[${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}/${OTLP_P}/${dep}" >/dev/null || die
distutils_pep517_install "${BUILD_DIR}"/test
popd >/dev/null || die
done
epytest
}