mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-python/opentelemetry-api: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +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
|
||||
DIST opentelemetry-python-1.37.0.gh.tar.gz 1270475 BLAKE2B e3739e70de1f612f2f7ce477810106ef4f9bc444a4001e5e7c20652b185c60b15370675a4da7a877799839076c5fc357bd4dab8e0d82cccbd7b49908a8c6ea42 SHA512 9e8f309b8bdbedb6040acb1f29d1bbfdd4dabc8b5dae01554363431dbdfd7e5d26fdf76e3ca63f1d9b1ab31d570ce24dc41418d85e8cc3b5d65530a52069e8e3
|
||||
|
||||
@@ -1,61 +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
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user