diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-03 04:43:49 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-03 04:43:49 +0100 |
commit | 9b22dab88308071d43d47cd078b37903900f47d3 (patch) | |
tree | 67e9a0a10dcdbe72770cc89ba63028a4a8efd711 /dev-build/kas | |
parent | f354cd2612137255e64a82b6578696697b0415b4 (diff) |
gentoo auto-resync : 03:10:2024 - 04:43:49
Diffstat (limited to 'dev-build/kas')
-rw-r--r-- | dev-build/kas/Manifest | 5 | ||||
-rw-r--r-- | dev-build/kas/kas-4.5.ebuild | 60 | ||||
-rw-r--r-- | dev-build/kas/metadata.xml | 18 |
3 files changed, 83 insertions, 0 deletions
diff --git a/dev-build/kas/Manifest b/dev-build/kas/Manifest new file mode 100644 index 000000000000..634f71c3efb4 --- /dev/null +++ b/dev-build/kas/Manifest @@ -0,0 +1,5 @@ +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 +EBUILD kas-4.5.ebuild 1434 BLAKE2B 6f8e31e4590450a47714f47ad017ff0e13aeb64fd7b27fe81bdc76f8fedf45fa6b437c5768b962756861b1d9b1d3b3cb859ad0b7717d1d236d2f01fec8a5c1a1 SHA512 f2723e6292de3ef1da1c1257b8a1ae10ac68fc487b96a183a8d256b3271fda04f2e52d16d3c13182dee7afa0d2b88ee37c903d3a3322bbc3b110e2e14fd97d30 +MISC metadata.xml 654 BLAKE2B b79c895db04dd9c28d3da0c2d5c4ba4fb1e4d306ef55e7e8cc8892025bab0e84c7b063522b737e92ee3c7fb91b5eeffe9bf0c439c65d524ff0c947c4a4409758 SHA512 190a39b616e5796260d3f69dab961f7e23e2566a12093c20adfc902b97f18805bfc8e00791f74dbfee9b269c17aefbc638ffa8ab3eb27b749a8dea9c680d8a0c 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> |