From 0620368b3b5d55330b90cc38cf62567fcad97a89 Mon Sep 17 00:00:00 2001 From: David Roman Date: Mon, 23 Jun 2025 13:42:59 +0200 Subject: [PATCH] dev-embedded/idf-component-manager: add 2.2.2 Signed-off-by: David Roman --- dev-embedded/idf-component-manager/Manifest | 1 + .../idf-component-manager-2.2.2.ebuild | 71 +++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 dev-embedded/idf-component-manager/idf-component-manager-2.2.2.ebuild diff --git a/dev-embedded/idf-component-manager/Manifest b/dev-embedded/idf-component-manager/Manifest index c23fc597c4..ec34bdf063 100644 --- a/dev-embedded/idf-component-manager/Manifest +++ b/dev-embedded/idf-component-manager/Manifest @@ -1,3 +1,4 @@ DIST idf-component-manager-2.0.4.gh.tar.gz 325170 BLAKE2B 813ec539fc3d48a51dc6378e3a2922cd996c56472091a5d58775c8d67c046acbdf87741ef0ccf69d8c00fcf7e684a5117134a146d55145ea59359a55cead76e1 SHA512 5160c3e0a580d499ce722966f166a87e2029b15e1e60566d8b2d063217e9bc156ecf47908800a270e75d8de25494b74efdf5cd859536e76bd717065f0d1fb4c4 DIST idf-component-manager-2.1.1.gh.tar.gz 306788 BLAKE2B a8b5d06d897386148e885cec7faacd2e44f80eddc116da2afdf6dbac0f0af583eaf6438c0280b7bd51b21389137899d91de198cbaa86e3ec757b679a1b3fb239 SHA512 f6d4448810b885333c98fd7be091138a1e060e37ea21222df50327f0ef33c983649ed4ff6cb23c4d20d485a256132f9d75dfb6bfdc77b594c324adcb061502ba DIST idf-component-manager-2.1.2.gh.tar.gz 308251 BLAKE2B 013152281d4d6650e468c358a868d8d76bfb7a7d8e694979248f85a05d462b94ad87483c5abf5aa4ff92ff78adaa8de7faac6b8e60c3caba238c8f8104d98bab SHA512 7dac54f184086c776e09aa3480a8765d5e192255a05f6762bbb03e8f7455ad57397a162de745c8f91c30bab054769215c426b928dc9eb55b7251d49ed97a9c70 +DIST idf-component-manager-2.2.2.gh.tar.gz 306348 BLAKE2B 30c25712632fc75c9802e9d322225d94d7c7945786ddf3b9d02aaf3643490b6ab5772fd77fd4ff4376373e40e3864e97203cc76e32249bd0a913a5c8eb388cea SHA512 caaa5590fd1bc8af5b625525f0bda7d835a0e59fbd251bd3196177f4c0ca974776cea89fad162c191ef943bf5d3ee2d2f653f1e5df65799f53d8874f825e19db diff --git a/dev-embedded/idf-component-manager/idf-component-manager-2.2.2.ebuild b/dev-embedded/idf-component-manager/idf-component-manager-2.2.2.ebuild new file mode 100644 index 0000000000..ec8ff9792d --- /dev/null +++ b/dev-embedded/idf-component-manager/idf-component-manager-2.2.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +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/requests-mock[${PYTHON_USEDEP}] + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/vcrpy[${PYTHON_USEDEP}] + dev-python/filelock[${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/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/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_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 +) + +# network access +EPYTEST_IGNORE=( + tests/test_api_client.py + tests/test_prepare_dep_dirs.py +) + +distutils_enable_tests pytest