dev-python/opentelemetry-instrumentation-threading: add 0.66_beta1

Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
Florian Albrechtskirchinger committed 2026-10-07 17:59:22 +02:00
1 parent 7ce5549a4b
commit c7b17f89db
2 files changed
+59

No files matched your search

@@ -1,4 +1,6 @@
DIST opentelemetry-python-1.44.0.gh.tar.gz 1651335 BLAKE2B 9b1e6b9dbabaeccfc1e9fc267de0c882c78816abdec6d5344deccecca2c6d41736e1eb2fa7b5d85ed2e0047fa8fe23db1f4d2ae8e561f9c44ea1413754dde7f9 SHA512 310fa4d7b11aa6a4cfb498294e3c71e082e8fe2a9899c855f0968eb0b6eff91fc66921a0dad3b2075944a6f21b8802aea7d58baefd916f7909f1dae30bc7ad61
DIST opentelemetry-python-1.45.0.gh.tar.gz 1715368 BLAKE2B 6a70a94f38df7b038eca1cf815ca93deaf58c94aac0996a24d08a0f9243651dd1e0c8c4f7daf9b1bc6274677ed1519fa0e9e72243fe266765a43fc6d50a4301a SHA512 c05f1fd1f6b2f8de830d2d2bdbaac01c47aa0b4615091f6fd78c39ef7e4aba10c2bd23ef4906e5b9e4ab46b2e55f8321f917c900bb930988d1cdfc85e9a77527
DIST opentelemetry-python-1.45.1.gh.tar.gz 1716865 BLAKE2B c282a85b0cd5e4df839b26c2da42f9304cac18dc016968ab5c94a385a42e6391a34c5931eea87446547388615632a6fc45d4b54d7e6574e1ee6546357d2d8f28 SHA512 4cc2bd65bad17cdd6322067698c3e8078a96196bdaf6c61e559d3696c7afc9535bc0378de31f7a23eac25b5813dab7272dfa883fa85d57c2207de89b1bfe834b
DIST opentelemetry-python-contrib-0.65b0.gh.tar.gz 2031667 BLAKE2B 2e932229b81d9958fd6941c90315977c9d28b4652a8ec1b1b32bda064b70d059611a0a2142ec63739eebaed92ee7744f8fbba38a251aed7f16451f8180831fa4 SHA512 0086da20862b5be310594313e59927e508fbbfe36a3dee1ef8759f44b37ac8b2e7dbd31c1d27bd44a86a413c7aa8ec6a0c24ca31584433913fdd4b83fd089693
DIST opentelemetry-python-contrib-0.66b0.gh.tar.gz 1875879 BLAKE2B e92e5d89674197cbed378c3c48eb78bbfc87cd6f0ab97881b0f990c5fa5294d94aea49953e9db384a3c6b4853c0cb3a3f8d3f16a49dc6e3eec426837ed4cdc28 SHA512 58da31c4cda5c0464f3dcd3ec99b97575a7742ec7e419a88279cb1ba830041659118e9d62a8e6d22205bbd2c7b8130859babe5faa626ec107b61c9130b79c087
DIST opentelemetry-python-contrib-0.66b1.gh.tar.gz 1875855 BLAKE2B 8224042d16672876ad8e2591c7084fa4b782f2f4caae86a4995652b88a79d500e522629912dffd458ce53df64564760ce4ecbbf63fb8ba74ca6c60eee7ef36c7 SHA512 e52c995e65629629e14d5dffd8f2e3da8bbea9f6fab4e090d09c553cec2c7903a427007c541f53dc29925899d878b8e443eb6d3a690e12d13709708ea599fbea
@@ -0,0 +1,57 @@
# 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.45.1
OTLP_P="opentelemetry-python-${OTLP_PV}"
DESCRIPTION="Thread context propagation support for OpenTelemetry"
HOMEPAGE="
https://opentelemetry.io/
https://pypi.org/project/opentelemetry-instrumentation-threading/
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}/instrumentation/${PN}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
~dev-python/opentelemetry-api-${OTLP_PV}[${PYTHON_USEDEP}]
~dev-python/opentelemetry-instrumentation-${PV}[${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
}