commit: 3b83e5b94aad20160c2852624e9b5a9a28c6c27c Author: David Roman <droman <AT> ifae <DOT> es> AuthorDate: Tue Jul 22 12:42:49 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Sep 11 03:26:56 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b83e5b9
dev-build/kas: add 4.8.2 Closes: https://bugs.gentoo.org/952275 Signed-off-by: David Roman <droman <AT> ifae.es> Part-of: https://github.com/gentoo/gentoo/pull/41131 Closes: https://github.com/gentoo/gentoo/pull/41131 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-build/kas/Manifest | 1 + dev-build/kas/kas-4.8.2.ebuild | 86 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) diff --git a/dev-build/kas/Manifest b/dev-build/kas/Manifest index 4689cbbf32f0..efdc31975fae 100644 --- a/dev-build/kas/Manifest +++ b/dev-build/kas/Manifest @@ -1 +1,2 @@ DIST kas-4.5.gh.tar.gz 102079 BLAKE2B d856385fc60bcbeaad8a5847ead88eac9a84a8ef8b0d4cd1247a58096f89a9f8d8348ff0842980285e3fb6f6cb9e5175e5f6bd80155bc57fe00d45b270607e6a SHA512 5625f1a8759f1cd0e3ae3ce0aaf51159dfe48f047b4217f74508ef10e0b27e24faaa8b6cf38d4eaec58c5a3faefc8df1d2a429e5f39808dfb47cbba7e78f6b30 +DIST kas-4.8.2.gh.tar.gz 134665 BLAKE2B 2c81e31437424a0d03a0247819e54573e45e90e7ceae84b42348fef4584e75415b766389df9fe75868a52f0a3fcfec4b1d2218c2b59c62ee93bc11c1dac27a76 SHA512 09ee32f756ac90c229d1942f4191a4e24bef70ac042c5958a8599e2238a1e01bc280c26b021da49fc4f3f4566cc6b6aa4f33a04be3a10bf1ec0e5876600465f3 diff --git a/dev-build/kas/kas-4.8.2.ebuild b/dev-build/kas/kas-4.8.2.ebuild new file mode 100644 index 000000000000..00fcbc12ff8a --- /dev/null +++ b/dev-build/kas/kas-4.8.2.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Setup tool for bitbake based projects" +HOMEPAGE=" + https://github.com/siemens/kas + https://kas.readthedocs.io/en/latest/ + https://pypi.org/project/kas/ +" +# pypi does not package tests +SRC_URI=" + https://github.com/siemens/kas/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/pyyaml-3.0.0[${PYTHON_USEDEP}] + >=dev-python/distro-1.0.0[${PYTHON_USEDEP}] + >=dev-python/jsonschema-2.5.0[${PYTHON_USEDEP}] + >=dev-python/kconfiglib-14.1.0[${PYTHON_USEDEP}] + >=dev-python/gitpython-3.1.0[${PYTHON_USEDEP}] + dev-libs/newt[${PYTHON_USEDEP}] +" + +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/python-gnupg[${PYTHON_USEDEP}] + dev-vcs/git + dev-vcs/mercurial + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + "tests/test_build.py::test_provenance" + "tests/test_commands.py::test_for_all_repos" + "tests/test_commands.py::test_checkout_with_ci_rewrite" + "tests/test_commands.py::test_checkout_create_refs[noenv]" + "tests/test_commands.py::test_checkout_shallow[noenv]" + "tests/test_commands.py::test_checkout[noenv]" + "tests/test_commands.py::test_repo_includes[noenv]" + "tests/test_commands.py::test_repo_includes" + "tests/test_commands.py::test_shallow_updates[noenv]" + "tests/test_refspec.py::test_refspec_switch[noenv]" + "tests/test_refspec.py::test_refspec_absolute[noenv]" + "tests/test_refspec.py::test_tag_commit_do_not_match[noenv] " + "tests/test_refspec.py::test_unsafe_tag_warning[noenv]" + "tests/test_refspec.py::test_tag_branch_same_name[noenv]" + "tests/test_refspec.py::test_refspec_warning[noenv]" + "tests/test_refspec.py::test_branch_and_tag[noenv]" + "tests/test_refspec.py::test_commit_expand[noenv]" + "tests/test_refspec.py::test_tag_commit_do_not_match[noenv]" + "tests/test_signature_verify.py::test_signed_gpg_invalid[noenv]" + "tests/test_signature_verify.py::test_signed_gpg_remove_key[noenv]" + "tests/test_signature_verify.py::test_signed_gpg_local_key" + "tests/test_commands.py::test_dump[noenv]" + "tests/test_commands.py::test_diff" + "tests/test_commands.py::test_lockfile" + "tests/test_environment_variables.py::test_env_section_export_bb_extra_white" + "tests/test_environment_variables.py::test_env_section_export_bb_env_passthrough_additions" +) + +EPYTEST_IGNORE=( + "tests/test_layers.py" + "tests/test_menu.py" + "tests/test_patch.py" +) + +pkg_postinst() { + optfeature_header "Install optional tools to clone repositories:" + optfeature "git repository support" dev-vcs/git + optfeature "mercurial repository support" dev-vcs/mercurial +}
