From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 854C515808A for ; Wed, 30 Jul 2025 06:01:04 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 89A5934206E for ; Wed, 30 Jul 2025 06:00:49 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id EBE55110569; Wed, 30 Jul 2025 06:00:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id E6F1A110568 for ; Wed, 30 Jul 2025 06:00:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9F65D340DFC for ; Wed, 30 Jul 2025 06:00:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 27D4632B9 for ; Wed, 30 Jul 2025 06:00:26 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1753855219.5166e170863493ef19d9f366f4e4841a4aa2bd3d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/opentelemetry-api/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/opentelemetry-api/Manifest dev-python/opentelemetry-api/opentelemetry-api-1.36.0.ebuild X-VCS-Directories: dev-python/opentelemetry-api/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5166e170863493ef19d9f366f4e4841a4aa2bd3d X-VCS-Branch: master Date: Wed, 30 Jul 2025 06:00:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 864f6e72-8a68-4e91-86ce-8c2d9f1a3294 X-Archives-Hash: b5badcd73e5c90ffab4dbd5a8a0b883f commit: 5166e170863493ef19d9f366f4e4841a4aa2bd3d Author: Alfred Wingate protonmail com> AuthorDate: Tue Jul 29 16:46:11 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jul 30 06:00:19 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5166e170 dev-python/opentelemetry-api: add 1.36.0 Signed-off-by: Alfred Wingate protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43233 Signed-off-by: Michał Górny gentoo.org> dev-python/opentelemetry-api/Manifest | 1 + .../opentelemetry-api-1.36.0.ebuild | 61 ++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/dev-python/opentelemetry-api/Manifest b/dev-python/opentelemetry-api/Manifest index 20d479c22adb..4d75bf93bfda 100644 --- a/dev-python/opentelemetry-api/Manifest +++ b/dev-python/opentelemetry-api/Manifest @@ -1 +1,2 @@ DIST opentelemetry-python-1.35.0.gh.tar.gz 1248960 BLAKE2B ecb5a671300f60657a77d9b86a9dd673c23ee916020f5fbd658d373b0e6b25a1b448cb5ea5ec7ebcf8ca662f87c728316f260d2809c74e193fab5a2f0762ef4a SHA512 5f530f651df307476af5e364f1a0ae20c0b9600e3ce6dd78e66fddaa012fd398a2ff9539c75d8970e162d969809655478604666e79f88a00918421e186cdfb37 +DIST opentelemetry-python-1.36.0.gh.tar.gz 1251116 BLAKE2B 4b2df24523b5f05c0f5efdec895ab641bc7bd6607a71aee91c7db4bc35b4f3cd29e7da17bd4e487f72d645a3cffd572504de9f5987db051e1c74ee14d4074a59 SHA512 6e142e1dc33a8aa1313d61c15b00619b8df9fbff73dd1b9f187370cc6396a1d37b83dfb8d6effad795a37e851f05b88ef2cf487ece3008e172ad9759ceb697c4 diff --git a/dev-python/opentelemetry-api/opentelemetry-api-1.36.0.ebuild b/dev-python/opentelemetry-api/opentelemetry-api-1.36.0.ebuild new file mode 100644 index 000000000000..70d7b5f4f0ca --- /dev/null +++ b/dev-python/opentelemetry-api/opentelemetry-api-1.36.0.ebuild @@ -0,0 +1,61 @@ +# 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 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/importlib-metadata-6.0[${PYTHON_USEDEP}] + >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/typing-extensions[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_prepare() { + default + + # Unnecessary restriction + sed -i -e '/importlib-metadata/s:, < [0-9.]*::' pyproject.toml || die +} + +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 +}