diff --git a/dev-embedded/idf-component-manager/Manifest b/dev-embedded/idf-component-manager/Manifest index a8e6274dd7..86c821c487 100644 --- a/dev-embedded/idf-component-manager/Manifest +++ b/dev-embedded/idf-component-manager/Manifest @@ -1,2 +1,3 @@ DIST idf-component-manager-2.0.3.gh.tar.gz 322831 BLAKE2B 8456e2f4bb3e4b221aba4c946b7f2a980c36a8796e7fd7a53b97c76fd68f1462f92943bfb185d0dea4ae1792fe91f58527812ec5d81a19462e978fb2625bf2b6 SHA512 632bef699b8164b05d6cd5b0cc93cce28a1f8ec86b3fc2f58989f872ac556af3c8f7ea28d4966880ee3bca64ebb1169a819d4e46652e978e8a3bfab38ae52a02 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 diff --git a/dev-embedded/idf-component-manager/idf-component-manager-2.1.1.ebuild b/dev-embedded/idf-component-manager/idf-component-manager-2.1.1.ebuild new file mode 100644 index 0000000000..bc40309553 --- /dev/null +++ b/dev-embedded/idf-component-manager/idf-component-manager-2.1.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..12} ) +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 +) + +# network access +EPYTEST_IGNORE=( + tests/test_api_client.py + tests/test_prepare_dep_dirs.py +) + +distutils_enable_tests pytest