dev-python/opentelemetry-api: Bump to 1.45.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-09-25 20:24:38 +02:00
parent 8c08e2e21c
commit 86ef74b17a
2 changed files with 49 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
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
@@ -0,0 +1,48 @@
# Copyright 2024-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_P="opentelemetry-python-${PV}"
DESCRIPTION="OpenTelemetry Python API"
HOMEPAGE="
https://opentelemetry.io/
https://pypi.org/project/opentelemetry-api/
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}/${PN}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
>=dev-python/typing-extensions-4.5.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 opentelemetry-semantic-conventions opentelemetry-sdk \
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
}