commit:     37b10764ecc786b3c666a42599041983e667092f
Author:     David Roman <droman <AT> ifae <DOT> es>
AuthorDate: Fri Mar 13 13:41:53 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 14 18:46:47 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37b10764

dev-build/kas: add 5.2

Signed-off-by: David Roman <droman <AT> ifae.es>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/312
Merges: https://codeberg.org/gentoo/gentoo/pulls/312
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-build/kas/Manifest       |  1 +
 dev-build/kas/kas-5.2.ebuild | 89 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/dev-build/kas/Manifest b/dev-build/kas/Manifest
index 318c8086fcb3..c6b2ffb3327a 100644
--- a/dev-build/kas/Manifest
+++ b/dev-build/kas/Manifest
@@ -1 +1,2 @@
 DIST kas-5.1.gh.tar.gz 141260 BLAKE2B 
1168202fa2ff6d6b72fcde049add8030d963f9b4d25ea882f1d0fea62f6a7624a2de449d13f8925ddaa82b743ec9fac68cc8bc1f73b84feead6c83740940d9bf
 SHA512 
a399f248eb9a1d39a95c525ae43f642db1096a57b2caf94397af80e99cbb218a905186661b850d72b1f3997b7b10782a53980cac793f7859ee95d633f355e583
+DIST kas-5.2.gh.tar.gz 143789 BLAKE2B 
dce3c92db2e7afcc1d05751e16859724e77eb262d4d21227be160eec7c7d6fb331bb734f5d112eb6b4b4bba05e8266a8b51c1059350cb20a0e81889ef54d9fda
 SHA512 
c9f38f66f68d1b59e5f8bc629cd7808f2e0ca13173e21d0521eb382666c7f12cfd14dba072c5316aae997318044061606c4a0258fe32c6c824a488337e014b3d

diff --git a/dev-build/kas/kas-5.2.ebuild b/dev-build/kas/kas-5.2.ebuild
new file mode 100644
index 000000000000..2a2e6755f2a5
--- /dev/null
+++ b/dev-build/kas/kas-5.2.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{12..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
+       )
+"
+
+EPYTEST_PLUGINS=()
+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_invalid_checkout[noenv-test-invalid-tag.yml-RepoRefError]"
+       "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"
+       "tests/test_environment_variables.py::test_ssh_agent_setup"
+)
+
+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
+}

Reply via email to