* [gentoo-commits] repo/gentoo:master commit in: dev-build/kas/
@ 2024-10-02 20:50 Sam James
0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2024-10-02 20:50 UTC (permalink / raw
To: gentoo-commits
commit: e3911c71e9389cdc2f4c2a73becba1d8ac2cb758
Author: Martin Homuth <mh <AT> emlix <DOT> com>
AuthorDate: Mon Sep 23 08:56:23 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 2 20:50:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3911c71
dev-build/kas: new package, add 4.5
Co-authored-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Martin Homuth <mh <AT> emlix.com>
Closes: https://github.com/gentoo/gentoo/pull/38767
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-build/kas/Manifest | 3 +++
dev-build/kas/kas-4.5.ebuild | 60 ++++++++++++++++++++++++++++++++++++++++++++
dev-build/kas/metadata.xml | 18 +++++++++++++
3 files changed, 81 insertions(+)
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>
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-build/kas/
@ 2024-10-03 7:31 Sam James
0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2024-10-03 7:31 UTC (permalink / raw
To: gentoo-commits
commit: 78e71a05d0300c6ad61f3a47873a7954fb931368
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 3 07:30:58 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 3 07:30:58 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78e71a05
dev-build/kas: fix SRC_URI
I was supposed to fix this on merging and didn't.
Closes: https://bugs.gentoo.org/940685
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-build/kas/Manifest | 2 +-
dev-build/kas/{kas-4.5.ebuild => kas-4.5-r1.ebuild} | 20 ++++++++++----------
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/dev-build/kas/Manifest b/dev-build/kas/Manifest
index 8d59e522f163..22f2c6fff9ea 100644
--- a/dev-build/kas/Manifest
+++ b/dev-build/kas/Manifest
@@ -1,3 +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
+DIST kas-4.5.gitbundle 972705 BLAKE2B 6b182237f92b97dcd831a39af2b3eec7a5eea42bb8221cd029f4fa1b59da896a987be04aac76bfd5bf756740e15fd587aabf3c718401bea3b4e565ff040f95d0 SHA512 f4bf95fbc05c70314c2b875972cf4048ac639e13f35688870ea2dab5d89dd21ca2cd66c1230b414de4a272b47baf90248f3136a876c294f215f74540ef84b3e1
diff --git a/dev-build/kas/kas-4.5.ebuild b/dev-build/kas/kas-4.5-r1.ebuild
similarity index 62%
rename from dev-build/kas/kas-4.5.ebuild
rename to dev-build/kas/kas-4.5-r1.ebuild
index 9ecfdfc9c280..3f127d53d98b 100644
--- a/dev-build/kas/kas-4.5.ebuild
+++ b/dev-build/kas/kas-4.5-r1.ebuild
@@ -20,8 +20,8 @@ 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
+ https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_P}.gitbundle
+ https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/evolve.hgbundle
)
"
@@ -35,12 +35,13 @@ RDEPEND="
>=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}]
+ dev-libs/newt[${PYTHON_USEDEP}]
"
BDEPEND="
${RDEPEND}
test? (
+ dev-vcs/git
dev-vcs/mercurial
)
"
@@ -48,13 +49,12 @@ BDEPEND="
distutils_enable_tests pytest
src_test() {
+ export KAS_REPO_REF_DIR=${T}
- 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
- # 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
+ distutils-r1_src_test
}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-build/kas/
@ 2024-10-04 7:28 Sam James
0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2024-10-04 7:28 UTC (permalink / raw
To: gentoo-commits
commit: abbb188e6b3fba8b25bd58986e66c57eeafda0ba
Author: Martin Homuth <mh <AT> emlix <DOT> com>
AuthorDate: Fri Oct 4 05:50:09 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 4 07:27:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abbb188e
dev-build/kas: fix test fetch, #940685
Closes: https://bugs.gentoo.org/940685
Signed-off-by: Martin Homuth <mh <AT> emlix.com>
Closes: https://github.com/gentoo/gentoo/pull/38868
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-build/kas/Manifest | 2 --
dev-build/kas/kas-4.5-r1.ebuild | 20 +++++---------------
2 files changed, 5 insertions(+), 17 deletions(-)
diff --git a/dev-build/kas/Manifest b/dev-build/kas/Manifest
index 22f2c6fff9ea..4689cbbf32f0 100644
--- a/dev-build/kas/Manifest
+++ b/dev-build/kas/Manifest
@@ -1,3 +1 @@
-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 972705 BLAKE2B 6b182237f92b97dcd831a39af2b3eec7a5eea42bb8221cd029f4fa1b59da896a987be04aac76bfd5bf756740e15fd587aabf3c718401bea3b4e565ff040f95d0 SHA512 f4bf95fbc05c70314c2b875972cf4048ac639e13f35688870ea2dab5d89dd21ca2cd66c1230b414de4a272b47baf90248f3136a876c294f215f74540ef84b3e1
diff --git a/dev-build/kas/kas-4.5-r1.ebuild b/dev-build/kas/kas-4.5-r1.ebuild
index 3f127d53d98b..8891bfda5007 100644
--- a/dev-build/kas/kas-4.5-r1.ebuild
+++ b/dev-build/kas/kas-4.5-r1.ebuild
@@ -19,10 +19,6 @@ HOMEPAGE="
SRC_URI="
https://github.com/siemens/kas/archive/refs/tags/${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
- test? (
- https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_P}.gitbundle
- https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/evolve.hgbundle
- )
"
LICENSE="MIT"
@@ -46,15 +42,9 @@ BDEPEND="
)
"
-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
+# unable to pre-download test repositories as the required
+# environment variable KAS_REPO_REF_DIR is deleted during
+# testing
+PROPERTIES="test_network"
- distutils-r1_src_test
-}
+distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-build/kas/
@ 2024-10-09 10:16 Sam James
0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2024-10-09 10:16 UTC (permalink / raw
To: gentoo-commits
commit: 493aeadc026ba93b170cd87a993ee003868d7767
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 9 10:13:51 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 9 10:16:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=493aeadc
dev-build/kas: cleanup MY_P
Not needed, it was leftover from pypi.eclass experimentation, see
https://github.com/gentoo/gentoo/pull/38767#discussion_r1793251402.
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-build/kas/kas-4.5-r1.ebuild | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dev-build/kas/kas-4.5-r1.ebuild b/dev-build/kas/kas-4.5-r1.ebuild
index 8891bfda5007..093c0a1dacdb 100644
--- a/dev-build/kas/kas-4.5-r1.ebuild
+++ b/dev-build/kas/kas-4.5-r1.ebuild
@@ -8,7 +8,6 @@ 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
@@ -18,7 +17,7 @@ HOMEPAGE="
# pypi does not package tests
SRC_URI="
https://github.com/siemens/kas/archive/refs/tags/${PV}.tar.gz
- -> ${MY_P}.gh.tar.gz
+ -> ${P}.gh.tar.gz
"
LICENSE="MIT"
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-build/kas/
@ 2024-10-09 10:16 Sam James
0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2024-10-09 10:16 UTC (permalink / raw
To: gentoo-commits
commit: a4d46d2137f2ed83b8677771059276e9200d6e88
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 9 10:16:13 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 9 10:16:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4d46d21
dev-build/kas: add VCS optfeatures
See https://github.com/gentoo/gentoo/pull/38767#discussion_r1793244373.
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-build/kas/kas-4.5-r1.ebuild | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/dev-build/kas/kas-4.5-r1.ebuild b/dev-build/kas/kas-4.5-r1.ebuild
index 093c0a1dacdb..9f85f1b5a62a 100644
--- a/dev-build/kas/kas-4.5-r1.ebuild
+++ b/dev-build/kas/kas-4.5-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
-inherit distutils-r1
+inherit distutils-r1 optfeature
DESCRIPTION="Setup tool for bitbake based projects"
HOMEPAGE="
@@ -47,3 +47,9 @@ BDEPEND="
PROPERTIES="test_network"
distutils_enable_tests pytest
+
+pkg_postinst() {
+ optfeature_header "Install optional tools to clone repositories:"
+ optfeature "git repository support" dev-vcs/git
+ optfeature "mercurial repository support" dev-vcs/mercurial
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-build/kas/
@ 2024-10-17 9:23 Sam James
0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2024-10-17 9:23 UTC (permalink / raw
To: gentoo-commits
commit: 5a54f1203143fe01d1cfa64f861c92658253d692
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 17 09:22:39 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 17 09:22:58 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a54f120
dev-build/kas: add missing RESTRICT="test"
https://mgorny.pl/articles/the-ultimate-guide-to-eapi-8.html#properties-test-network-to-ease-reenabling-tests-requiring-internet
Closes: https://bugs.gentoo.org/941687
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-build/kas/kas-4.5-r1.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-build/kas/kas-4.5-r1.ebuild b/dev-build/kas/kas-4.5-r1.ebuild
index 9f85f1b5a62a..71d9764d7f04 100644
--- a/dev-build/kas/kas-4.5-r1.ebuild
+++ b/dev-build/kas/kas-4.5-r1.ebuild
@@ -45,6 +45,7 @@ BDEPEND="
# environment variable KAS_REPO_REF_DIR is deleted during
# testing
PROPERTIES="test_network"
+RESTRICT="test"
distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-10-17 9:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-02 20:50 [gentoo-commits] repo/gentoo:master commit in: dev-build/kas/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2024-10-03 7:31 Sam James
2024-10-04 7:28 Sam James
2024-10-09 10:16 Sam James
2024-10-09 10:16 Sam James
2024-10-17 9:23 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox