summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Homuth <mh@emlix.com>2024-09-23 10:56:23 +0200
committerSam James <sam@gentoo.org>2024-10-02 21:50:21 +0100
commite3911c71e9389cdc2f4c2a73becba1d8ac2cb758 (patch)
tree810c5a469d90667223e68bb78ad4cdce66f8f6e2 /dev-build
parentnet-dns/pdns: add 4.9.2 (diff)
downloadgentoo-e3911c71e9389cdc2f4c2a73becba1d8ac2cb758.tar.gz
gentoo-e3911c71e9389cdc2f4c2a73becba1d8ac2cb758.tar.bz2
gentoo-e3911c71e9389cdc2f4c2a73becba1d8ac2cb758.zip
dev-build/kas: new package, add 4.5
Co-authored-by: Sam James <sam@gentoo.org> Signed-off-by: Martin Homuth <mh@emlix.com> Closes: https://github.com/gentoo/gentoo/pull/38767 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-build')
-rw-r--r--dev-build/kas/Manifest3
-rw-r--r--dev-build/kas/kas-4.5.ebuild60
-rw-r--r--dev-build/kas/metadata.xml18
3 files changed, 81 insertions, 0 deletions
diff --git a/dev-build/kas/Manifest b/dev-build/kas/Manifest
new file mode 100644
index 000000000000..8d59e522f163
--- /dev/null
+++ b/dev-build/kas/Manifest
@@ -0,0 +1,3 @@
+DIST evolve.hgbundle 4691381 BLAKE2B 26f6ea88a5ac7abc8c5d27fe29c7fc523c7fb705b67c14f0bd8271ded2959493cae914d00987ce19fda0b4069ba44bcb9ad13ad387db0fb11b50e33e58c1b3c5 SHA512 631c55d90753c0628642d1f6830db23f4bf429abb9e425d6246a8be850e993dbd4a2a9ea1ef8cbf242aad99d94a8c99c11b655a8e5ccd37257f3c1cc68103484
+DIST kas-4.5.gh.tar.gz 102079 BLAKE2B d856385fc60bcbeaad8a5847ead88eac9a84a8ef8b0d4cd1247a58096f89a9f8d8348ff0842980285e3fb6f6cb9e5175e5f6bd80155bc57fe00d45b270607e6a SHA512 5625f1a8759f1cd0e3ae3ce0aaf51159dfe48f047b4217f74508ef10e0b27e24faaa8b6cf38d4eaec58c5a3faefc8df1d2a429e5f39808dfb47cbba7e78f6b30
+DIST kas-4.5.gitbundle 943325 BLAKE2B 46376b7305a08f639b73f0427aa9a15ed94442b64df56d70eb61f0c8b881d31a36033f4ef5c312aa1392f2b2679ee5902bf2814a67b982ca8982cccd35be40e0 SHA512 030735159c3d0ca3e793c1ac36eaddcf37adb1d0bc4af259cca0b32eed94ffb79e30d09df19a274481b8af9cc414e403e3b801572a4bd2ca300743042594a9a4
diff --git a/dev-build/kas/kas-4.5.ebuild b/dev-build/kas/kas-4.5.ebuild
new file mode 100644
index 000000000000..9ecfdfc9c280
--- /dev/null
+++ b/dev-build/kas/kas-4.5.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+MY_P="kas-${PV}"
+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
+ -> ${MY_P}.gh.tar.gz
+ test? (
+ https://dev.gentoo.org/~someone/dist/${MY_P}.gitbundle
+ https://dev.gentoo.org/~someone/dist/evolve.hgbundle
+ )
+"
+
+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-tcltk/snack[python,${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+ ${RDEPEND}
+ test? (
+ dev-vcs/mercurial
+ )
+"
+
+distutils_enable_tests pytest
+
+src_test() {
+
+ export KAS_REPO_REF_DIR=${T}
+
+ # tests try to clone https://github.com/siemens/kas
+ git clone -q -b master "${DISTDIR}/${MY_P}.gitbundle" "${T}/github.com.siemens.kas.git" || die
+ # tests try to clone https://repo.mercurial-scm.org/evolve
+ hg clone -q "${DISTDIR}/evolve.hgbundle" "${T}/repo.mercurial-scm.org.evolve" || die
+
+ distutils-r1_src_test
+}
diff --git a/dev-build/kas/metadata.xml b/dev-build/kas/metadata.xml
new file mode 100644
index 000000000000..85e7227358de
--- /dev/null
+++ b/dev-build/kas/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mh@emlix.com</email>
+ <name>Martin Homuth</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/siemens/kas/issues</bugs-to>
+ <changelog>https://github.com/siemens/kas/blob/master/CHANGELOG.md</changelog>
+ <remote-id type="github">siemens/kas</remote-id>
+ <remote-id type="pypi">kas</remote-id>
+ </upstream>
+</pkgmetadata>