dev-python/opentelemetry-sdk: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-07-26 12:48:53 +02:00
parent 8a221d8e52
commit f1fe17f0d3
2 changed files with 0 additions and 64 deletions

View File

@@ -1,2 +1 @@
DIST opentelemetry-python-1.34.1.gh.tar.gz 1225347 BLAKE2B 3694b7370494ed8fcc43559d130c6b6b27faef74b6ff90792525663e0c7a9434ddb9fa9c4693d197e8ed707554694089f8d5f3a72ba7b6188cc8f2c45583848c SHA512 7d2ed9828c7c156fb6444e560af8f9e9df25cba09262e7d9f23ba2f77aaaa90545d2083639c9d8400a269f7d266a94df8849ce32e3cfc5172c3389f13c30411c
DIST opentelemetry-python-1.35.0.gh.tar.gz 1248960 BLAKE2B ecb5a671300f60657a77d9b86a9dd673c23ee916020f5fbd658d373b0e6b25a1b448cb5ea5ec7ebcf8ca662f87c728316f260d2809c74e193fab5a2f0762ef4a SHA512 5f530f651df307476af5e364f1a0ae20c0b9600e3ce6dd78e66fddaa012fd398a2ff9539c75d8970e162d969809655478604666e79f88a00918421e186cdfb37

View File

@@ -1,63 +0,0 @@
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
MY_P="opentelemetry-python-${PV}"
DESCRIPTION="OpenTelemetry Python SDK"
HOMEPAGE="
https://opentelemetry.io/
https://pypi.org/project/opentelemetry-sdk/
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/opentelemetry-api-${PV}[${PYTHON_USEDEP}]
~dev-python/opentelemetry-semantic-conventions-${PV}[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/flaky[${PYTHON_USEDEP}]
)
"
# Tests cannot handle xdist with high makeopts
# https://bugs.gentoo.org/928132
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
local EPYTEST_DESELECT=(
# TODO
"${PN}"/tests/resources/test_resources.py::TestOTELResourceDetector::test_process_detector
"${PN}"/tests/metrics/integration_test/test_console_exporter.py::TestConsoleExporter::test_console_exporter_with_exemplars
"${PN}"/tests/logs/test_export.py::TestSimpleLogRecordProcessor::test_simple_log_record_processor_shutdown
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest tests
}