From c88b09cc756aa381c102ff15b84cdd7e8ca82602 Mon Sep 17 00:00:00 2001 From: David Roman Date: Wed, 25 Mar 2026 17:14:54 +0100 Subject: [PATCH] dev-embedded/idf-component-manager: add 3.0.0 Signed-off-by: David Roman --- dev-embedded/idf-component-manager/Manifest | 1 + .../idf-component-manager-3.0.0.ebuild | 81 +++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 dev-embedded/idf-component-manager/idf-component-manager-3.0.0.ebuild diff --git a/dev-embedded/idf-component-manager/Manifest b/dev-embedded/idf-component-manager/Manifest index e3bb9c0e4d..64727da1a1 100644 --- a/dev-embedded/idf-component-manager/Manifest +++ b/dev-embedded/idf-component-manager/Manifest @@ -1,2 +1,3 @@ DIST idf-component-manager-2.4.2.gh.tar.gz 328411 BLAKE2B 26dda6f11bcc1d36ddc51b79e0bfa9b7c537e1f7e116f0c8df57cbd395d196e6b0d54d7039024e4fdef4f37c7d6e3275f7b22471f2595b9a6eafda9f3b62ba4e SHA512 437c79a18c1cad50aa61486dce1a8d5b690a2ff4fd525084d4ef02ff6b2db7b0ab986f5e64ff6bc2cb635a22e2c835db71b9334d1061511f85ced55f3f3dcb5a DIST idf-component-manager-2.4.6.gh.tar.gz 336846 BLAKE2B ef1c6bd3b6591b9b796dcd31ef8c2eee1a87eb1680730e0281bab3ad3ed11a0a81ebc9bbd9d774426b7b7845d72ca5c93b059c5b9f92820ffc15610c2d3ec0a5 SHA512 93bfd0179b9b98ea8b40cc73be6f2394ed358a682f1a0c3ad278269f39a78385a074b997412b1a83bb66ea284f5ca96898995daf3614ccf85b2e360aa21ab82c +DIST idf-component-manager-3.0.0.gh.tar.gz 341925 BLAKE2B 505bfedb91ee3658b77a3542b896975e830ee42150763e7736ec3b5e06298fbdef26829bb3efd27a69278abf6051330c85ccd7830d2c3b6eec6bd568410d6263 SHA512 6b01c407ec9ea4e5be4d688fc1606c34d0f20c870553bef7b6759ae6401472ef49cbfc78a236062eaf1c62843e586ae9e21e6d6e8d36f00e359de33b398f5c58 diff --git a/dev-embedded/idf-component-manager/idf-component-manager-3.0.0.ebuild b/dev-embedded/idf-component-manager/idf-component-manager-3.0.0.ebuild new file mode 100644 index 0000000000..c0ddb960a3 --- /dev/null +++ b/dev-embedded/idf-component-manager/idf-component-manager-3.0.0.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{12..14} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="Tool for installing ESP-IDF components" +HOMEPAGE="https://github.com/espressif/idf-component-manager" +SRC_URI="https://github.com/espressif/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/requests-mock[${PYTHON_USEDEP}] + dev-python/vcrpy[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +RDEPEND=" + dev-python/cachecontrol[${PYTHON_USEDEP}] + dev-python/click[${PYTHON_USEDEP}] + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/jsonref[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/pydantic-settings[${PYTHON_USEDEP}] + dev-python/pyparsing[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests-toolbelt[${PYTHON_USEDEP}] + dev-python/requests-file[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/schema[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-python/urllib3[${PYTHON_USEDEP}] +" + +# Requires networking or additional files not available in the tarball +EPYTEST_DESELECT=( + tests/core/test_upload_component.py::test_check_only_upload_component + tests/test_component_manager.py::test_pack_component_with_examples_errors + tests/test_component_manager.py::test_pack_component_with_dest_dir + tests/test_profile.py::TestMultiStorageClient::test_registry_storage_url + tests/test_profile.py::TestMultiStorageClient::test_storage_clients_precedence + tests/test_mirror_sync.py::test_collect_component_versions_merges_multiple_specs + tests/test_mirror_sync.py::test_sync_dependency_with_matches + tests/test_mirror_sync.py::test_sync_dependency_with_rules + tests/test_mirror_sync.py::test_update_existing_local_mirror + tests/test_mirror_sync.py::test_registry_sync_latest_with_two_requirements + tests/cli/test_manifest_command.py::test_add_git_dependency + tests/cli/test_manifest_command.py::test_add_git_dependency_invalid + tests/cli/test_manifest_command.py::test_manifest_keeps_comments + tests/cli/test_module.py::test_raise_exception_on_warnings + tests/cli/test_registry_command.py::test_logout_from_registry_revoked_token + tests/sources/test_git.py::test_versions_component_hash + tests/version_solver/test_local_components_precedence.py::test_local_component_transitive_dependency + tests/version_solver/test_local_components_precedence.py::test_local_component_chain_dependency + + tests/test_lock.py::TestLockManager::test_lock_dump_with_solution + tests/test_lock.py::TestLockManager::test_lock_dump_with_dictionary + tests/test_lock.py::TestLockManager::test_lock_dump +) + +# network access +EPYTEST_IGNORE=( + tests/test_api_client.py + tests/test_prepare_dep_dirs.py +) + +EPYTEST_PLUGINS=( pytest-mock ) +distutils_enable_tests pytest