mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
dev-python/opentelemetry-instrumentation-threading: add 0.65_beta0
Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
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-1.44.0.gh.tar.gz 1651335 BLAKE2B 9b1e6b9dbabaeccfc1e9fc267de0c882c78816abdec6d5344deccecca2c6d41736e1eb2fa7b5d85ed2e0047fa8fe23db1f4d2ae8e561f9c44ea1413754dde7f9 SHA512 310fa4d7b11aa6a4cfb498294e3c71e082e8fe2a9899c855f0968eb0b6eff91fc66921a0dad3b2075944a6f21b8802aea7d58baefd916f7909f1dae30bc7ad61
|
||||
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
|
||||
DIST opentelemetry-python-contrib-0.65b0.gh.tar.gz 2031667 BLAKE2B 2e932229b81d9958fd6941c90315977c9d28b4652a8ec1b1b32bda064b70d059611a0a2142ec63739eebaed92ee7744f8fbba38a251aed7f16451f8180831fa4 SHA512 0086da20862b5be310594313e59927e508fbbfe36a3dee1ef8759f44b37ac8b2e7dbd31c1d27bd44a86a413c7aa8ec6a0c24ca31584433913fdd4b83fd089693
|
||||
|
||||
@@ -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.44.0
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user