mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/opentelemetry-semantic-conventions: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST opentelemetry-python-1.30.0.gh.tar.gz 1189401 BLAKE2B 10a52a24625ee80f0b68e7fad05f770098be75c21ccf0230a786a1ffc4b3fb23daf251dc129bab840d22ff2ac9a6bab1c84e55c644abcd1b475dc7a5872447a5 SHA512 cd74100aa60639b3722f2747bd19dae42bffbfca4007837a6cf8db61a408c59601064c9718782b9f6ebeee7a30a454e03a09950b2b00845d642f6452a894674b
|
||||
DIST opentelemetry-python-1.31.0.gh.tar.gz 1224355 BLAKE2B 050149fa7c0c445556d184f921209b59b6e4e5aea225bbb315b781b0f4a95892385aeaae6f385f1fee8ef412981ce92b17e65d4dcd863622c22d027705a23890 SHA512 d69d9c8f6fee0e39c37e92fbf1df14e903b8165e07933fd6d2a70d510b373f8ca70f9b69a12ac6d8863013e87ac2753d07aebb336bec49d1c7a555dc62c15129
|
||||
DIST opentelemetry-python-1.31.1.gh.tar.gz 1224970 BLAKE2B de3c81075fdfa3c005db7ab5ba2ba150983b205b6324ff99129389b65f8bdf8e90fe4cd3c11ff73f0782845aeef70a80cc9627c485cb9b5ba84133d2fc5110dd SHA512 de26d96cf08b306b0f2cee860393a3baa333d2266b3a386d2c9947f6b1dc90d8fd1b36f229c0c92b240819fd71ebdac126a5c371f7d6c249fa2e791ecf5174aa
|
||||
|
||||
@@ -1,52 +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 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/deprecated-1.2.6[${PYTHON_USEDEP}]
|
||||
~dev-python/opentelemetry-api-${PV}[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
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
|
||||
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest
|
||||
}
|
||||
@@ -1,52 +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 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/deprecated-1.2.6[${PYTHON_USEDEP}]
|
||||
~dev-python/opentelemetry-api-${PV}[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
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
|
||||
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest
|
||||
}
|
||||
Reference in New Issue
Block a user