dev-python/opentelemetry-sdk: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-05-24 12:50:07 +02:00
parent eed91f0922
commit 53ccbf633b
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 0 additions and 63 deletions

View File

@ -1,3 +1,2 @@
DIST opentelemetry-python-1.32.1.gh.tar.gz 1227397 BLAKE2B 3ae557c528be81fe68bf34349224abb8f30b7ffaacedec9730a54b14ee73fd07fef28112f59274bbcac7c491e6415214e94d91f99c5145f5d56aca220774f333 SHA512 f2d785824b2eba9ec309f26083292a5ed8efa63851a9cd7d5067c9a5633cf4ba4f8d1c38fb67a925e6a5f8741c4f8ba786d0e7e404527e850bb879912620ad7a
DIST opentelemetry-python-1.33.0.gh.tar.gz 1235139 BLAKE2B dcab10ef9dc996954e6d89641c486881c4465d7d02a42da3bc8aa988bc69a7a9c7724fb605808ed5cb3cb76d677944d8c06a4c0bda34ca3170365dcd842c0dfb SHA512 9ca537ea25c3a6a04cf5a30621afc548f9b0c41c7d5d70417699191d9e112c9f54f6a07fb2ae6d75f9e58beda95e52fe8b4d45e3f58abeefef842b357ff43f28
DIST opentelemetry-python-1.33.1.gh.tar.gz 1235726 BLAKE2B 13d1ba3667591daef6fe137b959eb04d296392a3d6f3e9944d8a692b483d24629871eae0035ec59002f106dcc4efff055c58b712edb03ee0a8eb829244654e9e SHA512 12152893ba968a7129afd44e7c4b98ab63e35618b1cf7a1724bba41a767b1321eb5ed4c54722bf257b7eb223e60537c0c8acb90e1e1677ac316b54f7748115bd

View File

@ -1,62 +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-3.7.4[${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
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest tests
}