mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
dev-python/opentelemetry-exporter-otlp-proto-common: add 1.45.1
Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
1 parent
7ffae4bbe0
commit
e77dc478b4
2 files changed
+55
No files matched your search
@@ -1,2 +1,3 @@
|
||||
DIST opentelemetry-python-1.44.0.gh.tar.gz 1651335 BLAKE2B 9b1e6b9dbabaeccfc1e9fc267de0c882c78816abdec6d5344deccecca2c6d41736e1eb2fa7b5d85ed2e0047fa8fe23db1f4d2ae8e561f9c44ea1413754dde7f9 SHA512 310fa4d7b11aa6a4cfb498294e3c71e082e8fe2a9899c855f0968eb0b6eff91fc66921a0dad3b2075944a6f21b8802aea7d58baefd916f7909f1dae30bc7ad61
|
||||
DIST opentelemetry-python-1.45.0.gh.tar.gz 1715368 BLAKE2B 6a70a94f38df7b038eca1cf815ca93deaf58c94aac0996a24d08a0f9243651dd1e0c8c4f7daf9b1bc6274677ed1519fa0e9e72243fe266765a43fc6d50a4301a SHA512 c05f1fd1f6b2f8de830d2d2bdbaac01c47aa0b4615091f6fd78c39ef7e4aba10c2bd23ef4906e5b9e4ab46b2e55f8321f917c900bb930988d1cdfc85e9a77527
|
||||
DIST opentelemetry-python-1.45.1.gh.tar.gz 1716865 BLAKE2B c282a85b0cd5e4df839b26c2da42f9304cac18dc016968ab5c94a385a42e6391a34c5931eea87446547388615632a6fc45d4b54d7e6574e1ee6546357d2d8f28 SHA512 4cc2bd65bad17cdd6322067698c3e8078a96196bdaf6c61e559d3696c7afc9535bc0378de31f7a23eac25b5813dab7272dfa883fa85d57c2207de89b1bfe834b
|
||||
+54
@@ -0,0 +1,54 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{12..15} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
OTLPC_PV=0.66_beta1
|
||||
|
||||
MY_P="opentelemetry-python-${PV}"
|
||||
DESCRIPTION="OpenTelemetry Protobuf encoding"
|
||||
HOMEPAGE="
|
||||
https://opentelemetry.io/
|
||||
https://pypi.org/project/opentelemetry-exporter-otlp-proto-common/
|
||||
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}/exporter/${PN}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
~dev-python/opentelemetry-exporter-otlp-common-${OTLPC_PV}[${PYTHON_USEDEP}]
|
||||
~dev-python/opentelemetry-proto-${PV}[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
~dev-python/opentelemetry-sdk-${PV}[${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 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