diff options
| author | root <root@alpha.trunkmasters.com> | 2026-07-30 03:04:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-07-30 03:04:49 -0500 |
| commit | 0fb86e044f244e00302b1878b3e15e0db0e4b7e5 (patch) | |
| tree | 01eeaaaafa24d9c759103aa30b91c5999ae52a1d /dev-build/buildstream-plugins-community | |
| parent | 8087a9548fbac1dade3245660600d025f43d6732 (diff) | |
| download | baldeagleos-repo-0fb86e044f244e00302b1878b3e15e0db0e4b7e5.tar.gz baldeagleos-repo-0fb86e044f244e00302b1878b3e15e0db0e4b7e5.tar.xz baldeagleos-repo-0fb86e044f244e00302b1878b3e15e0db0e4b7e5.zip | |
Adding metadata
Diffstat (limited to 'dev-build/buildstream-plugins-community')
3 files changed, 92 insertions, 0 deletions
diff --git a/dev-build/buildstream-plugins-community/Manifest b/dev-build/buildstream-plugins-community/Manifest new file mode 100644 index 000000000000..0ee30077a879 --- /dev/null +++ b/dev-build/buildstream-plugins-community/Manifest @@ -0,0 +1 @@ +DIST buildstream-plugins-community-2.3.1.tar.bz2 130547 BLAKE2B f31634f526d6768615a98d59c1c100c4906441e636965eb990e6b330693e54517a9108760d1e28ac3eba96729c6fb8ba378880a635860f55c042534b342ce1c1 SHA512 cdebe7b88d0c528ff23166a1065bff952c136411b587dddd7454f8903b0d399319da120596aee424a5e6e9c482d52b11c31b27acbe2fff2e3c77aaf9621a0181 diff --git a/dev-build/buildstream-plugins-community/buildstream-plugins-community-2.3.1.ebuild b/dev-build/buildstream-plugins-community/buildstream-plugins-community-2.3.1.ebuild new file mode 100644 index 000000000000..bc043cfa8ce3 --- /dev/null +++ b/dev-build/buildstream-plugins-community/buildstream-plugins-community-2.3.1.ebuild @@ -0,0 +1,82 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="A collection of community maintained plugins for the BuildStream project" +HOMEPAGE="https://buildstream.gitlab.io/buildstream-plugins-community/" +SRC_URI="https://gitlab.com/BuildStream/buildstream-plugins-community/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="2" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=" + dev-build/buildstream:2[${PYTHON_USEDEP}] + dev-python/arpy[${PYTHON_USEDEP}] + dev-python/dulwich[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pycodestyle[${PYTHON_USEDEP}] + dev-python/pyftpdlib[${PYTHON_USEDEP}] + dev-python/pylint[${PYTHON_USEDEP}] + dev-python/pytest-datafiles[${PYTHON_USEDEP}] + dev-python/pytest-env[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + dev-python/setuptools-scm[${PYTHON_USEDEP}] + dev-util/ostree + dev-util/quilt + dev-vcs/git-lfs + ) +" + +RESTRICT="!test? ( test )" + +EPYTEST_PLUGINS=( pytest-datafiles ) + +distutils_enable_tests pytest + +src_configure() { + # pyproject contains `version=dynamic` + export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + + distutils-r1_src_configure +} + +python_test() { + # UNKNOWN:Path name should not have more than 107 characters + local TMPDIR=/tmp + + # fuse: failed to open /dev/fuse: Permission denied + addwrite "/dev/fuse" + # still fails inside a bubblewrap container :/ + # fusermount3: mount failed: Operation not permitted + + EPYTEST_DESELECT=( + # fuse tests + tests/sources/bazel.py::test_basic + tests/sources/bazel.py::test_multi_url + tests/sources/bazel.py::test_no_sha + # tests using network + tests/sources/bazel_file.py::test_basic + tests/sources/bazel_file.py::test_multi_url + source_determinism.py::test_deterministic_source_umask[git_tag] + source_determinism.py::test_deterministic_source_umask[zip] + ) + + # to not pollute the source directory and make grepping hard. + # can't just use ${T} as the --basetemp option removes the directory + # if it exists + epytest --basetemp "${T}"/test_dir +} diff --git a/dev-build/buildstream-plugins-community/metadata.xml b/dev-build/buildstream-plugins-community/metadata.xml new file mode 100644 index 000000000000..976a61e93dd8 --- /dev/null +++ b/dev-build/buildstream-plugins-community/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zyx@envs.net</email> + <name>zyxhereðŸ’</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
