mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
dev-python/opentelemetry-semantic-conventions: Bump to 1.42.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST opentelemetry-python-1.40.0.gh.tar.gz 1380277 BLAKE2B a52ce43e047347d55ce3ba54c2db4fa883f7e543eac9cfe4e3aa92f03db3a0a2fa943235e9f1fe61b5b7bfe377f7c3a661822405c357e2b31885ca7f20c636d6 SHA512 3c5ff022f0374cd28248a8d08d3e909945833db06afaced75d3bafe1420b3e2686e8a5aa14c60bd01380dd0a22c3c08c92caed2671925f3cea4aa40f383c83c1
|
||||
DIST opentelemetry-python-1.41.1.gh.tar.gz 1501865 BLAKE2B fe44f7e589487cd44457e5434f95caf99cfc53b4bf3c95e03391be4052e1aa57f43623b5a3d9f42dab34b092cd9453316747ac965f39eaa1d023e43254c74b14 SHA512 9622efe2861aa4680649d74b0e0e0b296505050edaef70f2c8bdcaf533e1137959d54e2fe49b35f48b4ddfe2b52d2b4cef74bbcd0cdffbb287a4a72aa10a3e1b
|
||||
DIST opentelemetry-python-1.42.0.gh.tar.gz 1552321 BLAKE2B 5995479fbc7f9b5fa1f8f09f3198f66a4d7966640b605eab6d1d2a87e112e76cc8ffa35db926125533883f8e8dc57a2b34102981108cb2989402eaf12c082309 SHA512 d88a86865deee10f29c608baa0c2d397c7f92682d8a309aebdfff069a992d8e785a68e3afa651c8690140078d82eeeff0e2b45b611fc6964c9fd4c1aebc18418
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
# 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_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
MY_P="opentelemetry-python-${PV}"
|
||||
DESCRIPTION="OpenTelemetry Semantic Conventions"
|
||||
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/typing-extensions-4.5.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/typing-extensions[${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-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
|
||||
}
|
||||
Reference in New Issue
Block a user