mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 09:07:26 -08:00
dev-python/opentelemetry-api: Bump to 1.39.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
41d6cdce87
commit
462bcd6c60
@ -1,2 +1,3 @@
|
||||
DIST opentelemetry-python-1.38.0.gh.tar.gz 1272944 BLAKE2B 1750a6e64f673c4ed66ff987ba954b68b6915c24688de4ac7a9585174f6571ed5ee4b38aa8b7467246b95f3b82e06421ed2abada6346590173cc75b020ecba1a SHA512 56d825706f86c30872f4839f86cfd8d8a7837de9ebf7ca0e861787684043b7bf120186d0245aef5ec57b33788444b666cc0875a20d385fb2db54cddf6c5019b5
|
||||
DIST opentelemetry-python-1.39.0.gh.tar.gz 1305798 BLAKE2B aa86dc3f05f47bd594411d9be813f4fb898b07d6d394f3306e88c2d920b3fe3d9ee47705fec049fd0713ddd92a74b43a0b159054054f90980976cf094b0e6b21 SHA512 7f1ed388f0b67af22d81ca8896ac8c4fcba83599e44c542ab03f3bf6573ea2800642143dc49f09415ffbf43032d2ca42b2d86fadd6c127f78b1a5c5f704a1359
|
||||
DIST opentelemetry-python-1.39.1.gh.tar.gz 1306023 BLAKE2B 141bd35522ed50a18b13a53b2443cd79389723678263cbe032d0794beb3f23a41cd0b01185748309f968ff094ae2015320a7b75ec7f78ab9eefd6abc4c5cf0fb SHA512 641e82e23f47cdbc2eedb79cf3bd122eecbcd3e4fc05c5a5d186df3ee93ffc1aca8aa448e34b25b360c22e9eb6683702584b51c2c2284506d86a29c38931ed60
|
||||
|
||||
61
dev-python/opentelemetry-api/opentelemetry-api-1.39.1.ebuild
Normal file
61
dev-python/opentelemetry-api/opentelemetry-api-1.39.1.ebuild
Normal file
@ -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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user