diff options
Diffstat (limited to 'dev-util')
44 files changed, 770 insertions, 21 deletions
diff --git a/dev-util/buildbot-badges/Manifest b/dev-util/buildbot-badges/Manifest index 760cdc1a7bef..e54b554d6b9b 100644 --- a/dev-util/buildbot-badges/Manifest +++ b/dev-util/buildbot-badges/Manifest @@ -1 +1,2 @@ DIST buildbot-badges-3.6.1.tar.gz 3967 BLAKE2B 07763a458c0eb32db13fd7b39a20186c2772ff53ea30e3b199f0dd64008346c218d550b10b238b63deb2ee64064b3f1fb19c95013f6647ec4992b8fee12ca2e5 SHA512 4326f49c2d69d86e9c49250c261c59d67553d6cb63098f19c391f3bfb83c4f99ea783d2351930fcfed40fe83dbfc8466294d77609e39e79e76c6c7b42e557c0f +DIST buildbot-badges-3.9.0.tar.gz 4677 BLAKE2B acbeb9b1dc850c77caa2d8cec67da2649dd79b4da27f0cb224e007919b12571f5766fe8c0652ef63a98ced8f8f3385b06479cd008e50e98f3f16f1efa17d60e6 SHA512 f718a9c9b44296cb4636106945fc0f214f1bbef494cfdc65f14b415f4f36b746659751778e13104145aa1d771b969d176e67930a49a0f9fc30385e47e20bdab1 diff --git a/dev-util/buildbot-badges/buildbot-badges-3.9.0.ebuild b/dev-util/buildbot-badges/buildbot-badges-3.9.0.ebuild new file mode 100644 index 000000000000..b86bb2176187 --- /dev/null +++ b/dev-util/buildbot-badges/buildbot-badges-3.9.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_REQ_USE="sqlite" +PYTHON_COMPAT=( python3_{8,9,10,11} ) +inherit distutils-r1 pypi + +DESCRIPTION="Buildbot badges plugin produces an image in SVG or PNG format..." +HOMEPAGE="https://buildbot.net/ + https://github.com/buildbot/buildbot + https://pypi.org/project/buildbot-grid-view/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~amd64-linux ~x86-linux" + +BDEPEND=" + ~dev-util/buildbot-${PV}[${PYTHON_USEDEP}] + ~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}] + ~dev-util/buildbot-pkg-${PV}[${PYTHON_USEDEP}] + dev-python/cairocffi[${PYTHON_USEDEP}] + media-gfx/cairosvg[${PYTHON_USEDEP}] + >=dev-python/jinja-2.1[${PYTHON_USEDEP}] + dev-python/klein[${PYTHON_USEDEP}] +" diff --git a/dev-util/buildbot-badges/metadata.xml b/dev-util/buildbot-badges/metadata.xml index ff3d099d2f84..c103197c1ab0 100644 --- a/dev-util/buildbot-badges/metadata.xml +++ b/dev-util/buildbot-badges/metadata.xml @@ -5,6 +5,10 @@ <email>dolsen@gentoo.org</email> <name>Brian Dolbec</name> </maintainer> + <maintainer type="person"> + <email>zorry@gentoo.org</email> + <name>Magnus Granberg</name> + </maintainer> <longdescription lang="en"> The Buildbot badges plugin produces an image in SVG or PNG format with information about the last build for the given builder name. PNG diff --git a/dev-util/buildbot-console-view/Manifest b/dev-util/buildbot-console-view/Manifest index 377105e12b38..acbaf680fea5 100644 --- a/dev-util/buildbot-console-view/Manifest +++ b/dev-util/buildbot-console-view/Manifest @@ -1 +1,2 @@ DIST buildbot-console-view-3.6.1.tar.gz 18731 BLAKE2B b572b0c2bedfb1149056237a5b7417c933cdd75b8a723edcb5b37cbf33c8d6d1c1fa5d490955a119eb6ca6df7317b89182c45462ceebb310d3b78f44712f4d33 SHA512 3489579c02db7f2b02aaeab8d9cc2eb60d72e5a12eca51c63cf10491c683ba7b99069de6ca2348fcf44dd6ce81d58d437a7d03749815a3fad55162e50df912e0 +DIST buildbot-console-view-3.9.0.tar.gz 19013 BLAKE2B 8e4adcbbe1aa545dfe314e31a13ec5b50dfb074e7c7c945f30a099937307fe4b76b058cde35e9726e030ea925670b570f8fbb8489e2162c7d0594d0f4227a557 SHA512 4cff6c23f3b8959b49db9d04447730eabdf3794050c2a8602f111c7b7a144de6fb53f2ee4035a63e27f25954034af04e39e81db1b1b9c785168670aa8660a631 diff --git a/dev-util/buildbot-console-view/buildbot-console-view-3.9.0.ebuild b/dev-util/buildbot-console-view/buildbot-console-view-3.9.0.ebuild new file mode 100644 index 000000000000..c475f5cef78d --- /dev/null +++ b/dev-util/buildbot-console-view/buildbot-console-view-3.9.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_REQ_USE="sqlite" +PYTHON_COMPAT=( python3_{8,9,10,11} ) +inherit distutils-r1 pypi + +DESCRIPTION="Buildbot console-view plugin" +HOMEPAGE="https://buildbot.net/ + https://github.com/buildbot/buildbot + https://pypi.org/project/buildbot-console-view/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~amd64-linux ~x86-linux" + +RDEPEND=" + ~dev-util/buildbot-${PV}[${PYTHON_USEDEP}] + ~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}] +" +BDEPEND="${RDEPEND}" diff --git a/dev-util/buildbot-console-view/metadata.xml b/dev-util/buildbot-console-view/metadata.xml index 7aa134eea957..6e5bba88c836 100644 --- a/dev-util/buildbot-console-view/metadata.xml +++ b/dev-util/buildbot-console-view/metadata.xml @@ -5,6 +5,10 @@ <email>dolsen@gentoo.org</email> <name>Brian Dolbec</name> </maintainer> + <maintainer type="person"> + <email>zorry@gentoo.org</email> + <name>Magnus Granberg</name> + </maintainer> <longdescription lang="en"> The buildbot-console-view plugin is the user interface code used to display information about the builds to the console. diff --git a/dev-util/buildbot-grid-view/Manifest b/dev-util/buildbot-grid-view/Manifest index 02943aadf61e..dbf90a74adb8 100644 --- a/dev-util/buildbot-grid-view/Manifest +++ b/dev-util/buildbot-grid-view/Manifest @@ -1 +1,2 @@ DIST buildbot-grid-view-3.6.1.tar.gz 13706 BLAKE2B 808d663b397459c7dd2d537a1a6eab2a0cc839ef0ba42bf56722ee53628bc9e6d41d03f549f0adb0fa92b0b8f416ca8c0a4bc310d67b4b06823eefe33b1ed02b SHA512 7605a5af1428ff08c96751f9c93fddd7b54f57a8879b85c270338e94eeb4ed55ddcfb7066519a2a3ff6d07b537a6ac28bb388b48eecb81c477aa1b6fbaa361dd +DIST buildbot-grid-view-3.9.0.tar.gz 14091 BLAKE2B f598e0718ad80d439d15a9b88205d3aef448bd350da8ed3fe3260b1f71770c530c1a0d8cc2a18516cf5e1f5e97f5836c540e578749aa1ad3be2088e62705a750 SHA512 e7ec9e082a3339f72fb2089f727de009db2b155069aad1ce073235ad4b36701d27c2f77ccbe2b02862f52cb1512620797705d32d317588db17431477b02e897c diff --git a/dev-util/buildbot-grid-view/buildbot-grid-view-3.9.0.ebuild b/dev-util/buildbot-grid-view/buildbot-grid-view-3.9.0.ebuild new file mode 100644 index 000000000000..c03bede3c833 --- /dev/null +++ b/dev-util/buildbot-grid-view/buildbot-grid-view-3.9.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_REQ_USE="sqlite" +PYTHON_COMPAT=( python3_{8,9,10,11} ) +inherit distutils-r1 pypi + +DESCRIPTION="BuildBot grid view web interface" +HOMEPAGE="https://buildbot.net/ + https://github.com/buildbot/buildbot + https://pypi.org/project/buildbot-grid-view/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~amd64-linux ~x86-linux" + +BDEPEND=" + ~dev-util/buildbot-${PV}[${PYTHON_USEDEP}] + ~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}] +" diff --git a/dev-util/buildbot-grid-view/metadata.xml b/dev-util/buildbot-grid-view/metadata.xml index 42d291a8ce71..74357c90fc70 100644 --- a/dev-util/buildbot-grid-view/metadata.xml +++ b/dev-util/buildbot-grid-view/metadata.xml @@ -5,6 +5,10 @@ <email>dolsen@gentoo.org</email> <name>Brian Dolbec</name> </maintainer> + <maintainer type="person"> + <email>zorry@gentoo.org</email> + <name>Magnus Granberg</name> + </maintainer> <longdescription lang="en"> The buildbot-grid-view plugin is the user interface code used to display information about the builds. diff --git a/dev-util/buildbot-pkg/Manifest b/dev-util/buildbot-pkg/Manifest index 8b4dab297664..320ffad3aaeb 100644 --- a/dev-util/buildbot-pkg/Manifest +++ b/dev-util/buildbot-pkg/Manifest @@ -1 +1,2 @@ DIST buildbot-pkg-3.6.1.tar.gz 4807 BLAKE2B d492d0ca36fa8634e877bbc56ffd06ff6a7bb477c98bde2e3586dfc64f4b9d394ec1e5bb1a113aad9d2905277805b9f8737babcad669e2b73abb67d156d3126c SHA512 5833581b4551dc204a52a8356bdb110d57a9de022c33b09b7efdc14f5f4a7c0b0e26f9f9a6a076945aec3a5b7089c040ddaaad8d94c6e0217c2cb6b7742c1ac2 +DIST buildbot-pkg-3.9.0.tar.gz 4987 BLAKE2B b7a05d0401efbecbab718c60e40e87d154e42d0a1b3e298d738f291853fd3a96ae984474e55b52b34eb43959bc2399aaaef90582a7bb2fef7e9b60943076ea13 SHA512 96500b53bdcb955146bd3115a93c7b96019da62f81baf81cd736eb0b236b1cec8e2c24c8048c54bd298c15147b807f6e6c6a90bd71fc0dc95a50fffe3aa9f07b diff --git a/dev-util/buildbot-pkg/buildbot-pkg-3.9.0.ebuild b/dev-util/buildbot-pkg/buildbot-pkg-3.9.0.ebuild new file mode 100644 index 000000000000..ef2a22cf3233 --- /dev/null +++ b/dev-util/buildbot-pkg/buildbot-pkg-3.9.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_REQ_USE="sqlite" +PYTHON_COMPAT=( python3_{8,9,10,11} ) +inherit distutils-r1 pypi + +DESCRIPTION="BuildBot common www build tools for packaging releases" +HOMEPAGE="https://buildbot.net/ + https://github.com/buildbot/buildbot + https://pypi.org/project/buildbot-pkg/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~amd64-linux ~x86-linux" + +# No real integration tests for this pkg. +# all tests are related to making releases and final checks for distribution +RESTRICT="test" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +src_prepare() { + sed -e "/version/s/=.*$/=\"${PV/_p/.post}\",/" -i setup.py || die + distutils-r1_src_prepare +} diff --git a/dev-util/buildbot-pkg/metadata.xml b/dev-util/buildbot-pkg/metadata.xml index bd31e76523be..780e5b01b7e5 100644 --- a/dev-util/buildbot-pkg/metadata.xml +++ b/dev-util/buildbot-pkg/metadata.xml @@ -5,6 +5,10 @@ <email>dolsen@gentoo.org</email> <name>Brian Dolbec</name> </maintainer> + <maintainer type="person"> + <email>zorry@gentoo.org</email> + <name>Magnus Granberg</name> + </maintainer> <longdescription lang="en"> BuildBot is a system to automate the compile/test cycle required by most software projects to validate code changes. diff --git a/dev-util/buildbot-react-console-view/Manifest b/dev-util/buildbot-react-console-view/Manifest new file mode 100644 index 000000000000..4c0f257bc907 --- /dev/null +++ b/dev-util/buildbot-react-console-view/Manifest @@ -0,0 +1 @@ +DIST buildbot-react-console-view-3.9.0.tar.gz 25184 BLAKE2B 672e80e9bfd04232a292da0807b1bbc024be2bdcaadec54ecf4ab9f2ee562a2bada92a48965339b3f56f2ceade127faf0903ed09f5e064e0a1f604c2aaba626c SHA512 51d398dadf7e0874061efefc62e3b0d08ce2d29fc8bd686a4f700d12858edc733e114e99d44d2fc97cd891f32faa0751a423be5bce2ae06ebd6ce0c6903e1a0d diff --git a/dev-util/buildbot-react-console-view/buildbot-react-console-view-3.9.0.ebuild b/dev-util/buildbot-react-console-view/buildbot-react-console-view-3.9.0.ebuild new file mode 100644 index 000000000000..2828f34da82b --- /dev/null +++ b/dev-util/buildbot-react-console-view/buildbot-react-console-view-3.9.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_REQ_USE="sqlite" +PYTHON_COMPAT=( python3_{8,9,10,11} ) +inherit distutils-r1 pypi + +DESCRIPTION="Buildbot react based console-view plugin" +HOMEPAGE="https://buildbot.net/ + https://github.com/buildbot/buildbot + https://pypi.org/project/buildbot-react-console-view/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~amd64-linux ~x86-linux" + +RDEPEND=" + ~dev-util/buildbot-${PV}[${PYTHON_USEDEP}] + ~dev-util/buildbot-www-react-${PV}[${PYTHON_USEDEP}] +" +BDEPEND="${RDEPEND}" diff --git a/dev-util/buildbot-react-console-view/metadata.xml b/dev-util/buildbot-react-console-view/metadata.xml new file mode 100644 index 000000000000..4ca690afb11e --- /dev/null +++ b/dev-util/buildbot-react-console-view/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dolsen@gentoo.org</email> + <name>Brian Dolbec</name> + </maintainer> + <maintainer type="person"> + <email>zorry@gentoo.org</email> + <name>Magnus Granberg</name> + </maintainer> + <longdescription lang="en"> + The buildbot-react-console-view plugin is the new react based user interface + code used to display information about the builds to the console. + </longdescription> + <upstream> + <maintainer> + <email>devel@buildbot.net</email> + <name>Developers List</name> + </maintainer> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-util/buildbot-react-grid-view/Manifest b/dev-util/buildbot-react-grid-view/Manifest new file mode 100644 index 000000000000..bb06113df104 --- /dev/null +++ b/dev-util/buildbot-react-grid-view/Manifest @@ -0,0 +1 @@ +DIST buildbot-react-grid-view-3.9.0.tar.gz 13096 BLAKE2B 8999df8e3e8b389769003b6694fb22eafc31ebeedbfd559eadfa38fb7ac152c968b3de278c51b54a35372d3d90b5df39ee121a74e44e68bc51777dd058e2e0bc SHA512 22624e5be3b638de4a0f826770a249d4da7fb47109586a2f4a3bada76202a639cdd98be62c9a108b48fddb41294b3c0a8594c0cb4b8cc33cae4b198607924d81 diff --git a/dev-util/buildbot-react-grid-view/buildbot-react-grid-view-3.9.0.ebuild b/dev-util/buildbot-react-grid-view/buildbot-react-grid-view-3.9.0.ebuild new file mode 100644 index 000000000000..20d39a73e563 --- /dev/null +++ b/dev-util/buildbot-react-grid-view/buildbot-react-grid-view-3.9.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_REQ_USE="sqlite" +PYTHON_COMPAT=( python3_{8,9,10,11} ) +inherit distutils-r1 pypi + +DESCRIPTION="BuildBot react based grid view web interface" +HOMEPAGE="https://buildbot.net/ + https://github.com/buildbot/buildbot + https://pypi.org/project/buildbot-react-grid-view/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~amd64-linux ~x86-linux" + +BDEPEND=" + ~dev-util/buildbot-${PV}[${PYTHON_USEDEP}] + ~dev-util/buildbot-www-react-${PV}[${PYTHON_USEDEP}] +" diff --git a/dev-util/buildbot-react-grid-view/metadata.xml b/dev-util/buildbot-react-grid-view/metadata.xml new file mode 100644 index 000000000000..359b3e15f09a --- /dev/null +++ b/dev-util/buildbot-react-grid-view/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dolsen@gentoo.org</email> + <name>Brian Dolbec</name> + </maintainer> + <maintainer type="person"> + <email>zorry@gentoo.org</email> + <name>Magnus Granberg</name> + </maintainer> + <longdescription lang="en"> + The buildbot-react-grid-view plugin is the new react based user interface + code used to display information about the builds. + </longdescription> + <upstream> + <maintainer> + <email>devel@buildbot.net</email> + <name>Developers List</name> + </maintainer> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-util/buildbot-waterfall-view/Manifest b/dev-util/buildbot-waterfall-view/Manifest index 8aabe766b347..08fa1fb526a6 100644 --- a/dev-util/buildbot-waterfall-view/Manifest +++ b/dev-util/buildbot-waterfall-view/Manifest @@ -1 +1,2 @@ DIST buildbot-waterfall-view-3.6.1.tar.gz 193914 BLAKE2B 401dd8b1c042fe2dc5bc1c696607d3c0ab3188975757feb8a242049fb73c28f1f5f4dc1dc027ccf37f7a942e1a7d3093b917c1c3a4f81d5181bf8f8dffff6196 SHA512 f1bf080fa7b8e1dc17d52367e1e3dc3e4224c2de6db128bc2f061c338ef69c88732b39d487dcf92d06e2855902d6f078d76e97ddd0d38e348d4e83d0728ad634 +DIST buildbot-waterfall-view-3.9.0.tar.gz 194360 BLAKE2B 30aeaee85bfcaf2b6079decca6c976d0dd13a83962a3b5c95fc9f2ec2b9601b58830ca9d9293647d05a94f3d0b16d8b57827f0f3d07b58aa2039fdeef5536e20 SHA512 815926d177de53048c39442639d85ae3ff4f861f181882896be187962464dcc51e7ff4a9e25e9cc1c31de6eb70442efb0dc20567e26316c5941ae7daa4572e6d diff --git a/dev-util/buildbot-waterfall-view/buildbot-waterfall-view-3.9.0.ebuild b/dev-util/buildbot-waterfall-view/buildbot-waterfall-view-3.9.0.ebuild new file mode 100644 index 000000000000..bb3815baa8a8 --- /dev/null +++ b/dev-util/buildbot-waterfall-view/buildbot-waterfall-view-3.9.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_REQ_USE="sqlite" +PYTHON_COMPAT=( python3_{8,9,10,11} ) +inherit distutils-r1 pypi + +DESCRIPTION="Buildbot waterfall-view plugin" +HOMEPAGE="https://buildbot.net/ + https://github.com/buildbot/buildbot + https://pypi.org/project/buildbot-waterfall-view/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~amd64-linux ~x86-linux" + +RDEPEND=" + ~dev-util/buildbot-${PV}[${PYTHON_USEDEP}] + ~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] +" +BDEPEND="${RDEPEND}" diff --git a/dev-util/buildbot-waterfall-view/metadata.xml b/dev-util/buildbot-waterfall-view/metadata.xml index fdf7a4e10782..d71560d36bed 100644 --- a/dev-util/buildbot-waterfall-view/metadata.xml +++ b/dev-util/buildbot-waterfall-view/metadata.xml @@ -5,6 +5,10 @@ <email>dolsen@gentoo.org</email> <name>Brian Dolbec</name> </maintainer> + <maintainer type="person"> + <email>zorry@gentoo.org</email> + <name>Magnus Granberg</name> + </maintainer> <longdescription lang="en"> The buildbot-waterfall-view plugin is the user interface code used to generate the web pages used to display information about the builds. diff --git a/dev-util/buildbot-worker/Manifest b/dev-util/buildbot-worker/Manifest index aec8d3312aff..5f1865d7aa29 100644 --- a/dev-util/buildbot-worker/Manifest +++ b/dev-util/buildbot-worker/Manifest @@ -1 +1,2 @@ DIST buildbot-worker-3.6.1.tar.gz 120224 BLAKE2B 010893b7b4e5710654299b2541c4cdcdad47b3b763dbc7e2336e5480c841908e04d8350c7cb42edd9ea99d16fd26f36a524a6d6bec8c0f933665a02ded369f89 SHA512 f1e3bf7c0da2f31dd446dc16487e32fddaecc0c2f9c17c469146707322a3d7bb2cc77db4f6145c62530bce58dd61aa19e008e944a7f39a17dc66f1317ee26e1b +DIST buildbot-worker-3.9.0.tar.gz 125913 BLAKE2B e053cd150cf21cc0e5dfb2d49c186c49d340670429b760ce9f697aa97a245d0e6a12f0ea84eb1256a610891042096877c89244b1f2862bf74160502170f9124c SHA512 08b74d6f019ca85f65c598a34c81bc47fdf873abad17205072788d938fcd5450f80aa6ca9d324edc01893947f4ac8e2968889dd73be854a82b4ea54e4730613b diff --git a/dev-util/buildbot-worker/buildbot-worker-3.9.0.ebuild b/dev-util/buildbot-worker/buildbot-worker-3.9.0.ebuild new file mode 100644 index 000000000000..75737b7b4bca --- /dev/null +++ b/dev-util/buildbot-worker/buildbot-worker-3.9.0.ebuild @@ -0,0 +1,137 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{8,9,10,11} ) +inherit readme.gentoo-r1 systemd distutils-r1 pypi + +DESCRIPTION="BuildBot Worker (slave) Daemon" +HOMEPAGE="https://buildbot.net/ + https://github.com/buildbot/buildbot + https://pypi.org/project/buildbot-worker/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~sparc ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + acct-user/buildbot + !<dev-util/buildbot-1.0.0 + >=dev-python/autobahn-0.16.0[${PYTHON_USEDEP}] + dev-python/future[${PYTHON_USEDEP}] + >=dev-python/msgpack-0.6.0[${PYTHON_USEDEP}] + >=dev-python/twisted-18.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/mock[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +DOC_CONTENTS="The \"buildbot\" user and the \"buildbot_worker\" init script has been added +to support starting buildbot_worker through Gentoo's init system. To use this, +execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance. +Set up your build worker following the documentation, make sure the +resulting directories are owned by the \"buildbot\" user and point +\"${ROOT}/etc/conf.d/buildbot_worker.myinstance\" at the right location. +The scripts can run as a different user if desired." + +src_prepare() { + # Remove shipped windows start script + sed -e "/'buildbot_worker_windows_service=buildbot_worker.scripts.windows_service:HandleCommandLine',/d" \ + -i setup.py || die + + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" -m twisted.trial buildbot_worker || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + + distutils-r1_python_install_all + + doman docs/buildbot-worker.1 + + newconfd "${FILESDIR}/buildbot_worker.confd2" buildbot_worker + newinitd "${FILESDIR}/buildbot_worker.initd2" buildbot_worker + systemd_dounit "${FILESDIR}/buildbot_worker.target" + systemd_newunit "${FILESDIR}/buildbot_worker_at.service" "buildbot_worker@.service" + systemd_install_serviced "${FILESDIR}/buildbot_worker_at.service.conf" "buildbot_worker@.service" + + dodir /var/lib/buildbot_worker + cp "${FILESDIR}/buildbot.tac.sample" "${D}/var/lib/buildbot_worker"|| die "Install failed!" + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + + if [[ -n ${REPLACING_VERSIONS} ]]; then + ewarn + ewarn "More than one instance of a buildbot_worker can be run simultaneously." + ewarn " Note that \"BASEDIR\" in the buildbot_worker configuration file" + ewarn "is now the common base directory for all instances. If you are migrating from an older" + ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory." + ewarn "The name of the subdirectory corresponds to the name of the buildbot_worker instance." + ewarn "In order to start the service running OpenRC-based systems need to link to the init file:" + ewarn " ln --symbolic --relative /etc/init.d/buildbot_worker /etc/init.d/buildbot_worker.myinstance" + ewarn " rc-update add buildbot_worker.myinstance default" + ewarn " /etc/init.d/buildbot_worker.myinstance start" + ewarn "Systems using systemd can do the following:" + ewarn " systemctl enable buildbot_worker@myinstance.service" + ewarn " systemctl enable buildbot_worker.target" + ewarn " systemctl start buildbot_worker.target" + fi +} + +pkg_config() { + local buildworker_path="/var/lib/buildbot_worker" + local log_path="/var/log/buildbot_worker" + + einfo "This will prepare a new buildbot_worker instance in ${buildworker_path}." + einfo "Press Control-C to abort." + + einfo "Enter the name for the new instance: " + read instance_name + [[ -z "${instance_name}" ]] && die "Invalid instance name" + + local instance_path="${buildworker_path}/${instance_name}" + local instance_log_path="${log_path}/${instance_name}" + + if [[ -e "${instance_path}" ]]; then + eerror "The instance with the specified name already exists:" + eerror "${instance_path}" + die "Instance already exists" + fi + + if [[ ! -d "${instance_path}" ]]; then + mkdir --parents "${instance_path}" || die "Unable to create directory ${buildworker_path}" + fi + chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed" + cp "${buildworker_path}/buildbot.tac.sample" "${instance_path}/buildbot.tac" \ + || die "Moving sample configuration failed" + ln --symbolic --relative "/etc/init.d/buildbot_worker" "/etc/init.d/buildbot_worker.${instance_name}" \ + || die "Unable to create link to init file" + + if [[ ! -d "${instance_log_path}" ]]; then + mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}" + chown --recursive buildbot:buildbot "${instance_log_path}" \ + || die "Setting permissions for instance failed" + fi + ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \ + || die "Unable to create link to log file" + + einfo "Successfully created a buildbot_worker instance at ${instance_path}." + einfo "To change the default settings edit the buildbot.tac file in this directory." +} diff --git a/dev-util/buildbot-worker/buildbot-worker-9999.ebuild b/dev-util/buildbot-worker/buildbot-worker-9999.ebuild index b6f5120cc6cb..b07b3c3ac7ff 100644 --- a/dev-util/buildbot-worker/buildbot-worker-9999.ebuild +++ b/dev-util/buildbot-worker/buildbot-worker-9999.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8,9,10,11} ) EGIT_REPO_URI="https://github.com/buildbot/buildbot.git" -inherit readme.gentoo-r1 git-r3 distutils-r1 +inherit readme.gentoo-r1 systemd distutils-r1 DESCRIPTION="BuildBot Worker (slave) Daemon" HOMEPAGE="https://buildbot.net/ @@ -21,13 +21,13 @@ RESTRICT="!test? ( test )" RDEPEND=" acct-user/buildbot + !<dev-util/buildbot-1.0.0 >=dev-python/autobahn-0.16.0[${PYTHON_USEDEP}] - >=dev-python/twisted-18.7.0[${PYTHON_USEDEP}] dev-python/future[${PYTHON_USEDEP}] - !<dev-util/buildbot-1.0.0 + >=dev-python/msgpack-0.6.0[${PYTHON_USEDEP}] + >=dev-python/twisted-18.7.0[${PYTHON_USEDEP}] " BDEPEND=" - >=dev-python/msgpack-0.6.0[${PYTHON_USEDEP}] test? ( ${RDEPEND} dev-python/mock[${PYTHON_USEDEP}] @@ -57,12 +57,16 @@ python_test() { } python_install_all() { + distutils-r1_python_install_all doman docs/buildbot-worker.1 newconfd "${FILESDIR}/buildbot_worker.confd2" buildbot_worker newinitd "${FILESDIR}/buildbot_worker.initd2" buildbot_worker + systemd_dounit "${FILESDIR}/buildbot_worker.target" + systemd_newunit "${FILESDIR}/buildbot_worker_at.service" "buildbot_worker@.service" + systemd_install_serviced "${FILESDIR}/buildbot_worker_at.service.conf" "buildbot_worker@.service" dodir /var/lib/buildbot_worker cp "${FILESDIR}/buildbot.tac.sample" "${D}/var/lib/buildbot_worker"|| die "Install failed!" diff --git a/dev-util/buildbot-worker/metadata.xml b/dev-util/buildbot-worker/metadata.xml index 4bb84fcc32c7..4102c8c36a6d 100644 --- a/dev-util/buildbot-worker/metadata.xml +++ b/dev-util/buildbot-worker/metadata.xml @@ -5,6 +5,10 @@ <email>dolsen@gentoo.org</email> <name>Brian Dolbec</name> </maintainer> + <maintainer type="person"> + <email>zorry@gentoo.org</email> + <name>Magnus Granberg</name> + </maintainer> <upstream> <remote-id type="cpe">cpe:/a:buildbot:buildbot</remote-id> <maintainer> diff --git a/dev-util/buildbot-wsgi-dashboards/Manifest b/dev-util/buildbot-wsgi-dashboards/Manifest index 96fb064880e3..5ab5fe72f313 100644 --- a/dev-util/buildbot-wsgi-dashboards/Manifest +++ b/dev-util/buildbot-wsgi-dashboards/Manifest @@ -1 +1,2 @@ DIST buildbot-wsgi-dashboards-3.6.1.tar.gz 5584 BLAKE2B f0b82de52022c3a8a0d0747aa4ade67345af177be70a8767d66163fe98ceff63e0b297ba547619de874a66e381b721c48d864361fdb82a818f2450c339d687cc SHA512 7ecd4fd71786258deab1fb1d96b4999ef929df4486d09404cb1bc3d1a7f831c90f8253f5bf0474258ba472ac9e8f960f4c4eb1f7993a0a8070eaa68e3bbbb4e9 +DIST buildbot-wsgi-dashboards-3.9.0.tar.gz 6224 BLAKE2B 462dc93c1334ba8daba5eb01b85eb7747a2ce4a9dfc17f5e96f1fd4dc8c5d54d1740d4a041d667cd38e67d1d4e25c44845a90758e3d3a7925f12802d78152ed0 SHA512 fbdf567fe08d83b62ad0b4a5eca35a01567a1bdccd749adced1dad89805c102fdb6d6a35d8d7b07b2b47b9762a411c62a86aaa28c28b370363383a9130091352 diff --git a/dev-util/buildbot-wsgi-dashboards/buildbot-wsgi-dashboards-3.9.0.ebuild b/dev-util/buildbot-wsgi-dashboards/buildbot-wsgi-dashboards-3.9.0.ebuild new file mode 100644 index 000000000000..cd768358b630 --- /dev/null +++ b/dev-util/buildbot-wsgi-dashboards/buildbot-wsgi-dashboards-3.9.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_REQ_USE="sqlite" +PYTHON_COMPAT=( python3_{8,9,10,11} ) +inherit distutils-r1 pypi + +DESCRIPTION="Buildbot plugin to integrate flask or bottle dashboards to buildbot UI" +HOMEPAGE="https://buildbot.net/ + https://github.com/buildbot/buildbot + https://pypi.org/project/buildbot-wsgi-dashboards/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~amd64-linux ~x86-linux" + +BDEPEND=" + ~dev-util/buildbot-${PV}[${PYTHON_USEDEP}] + ~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}] +" diff --git a/dev-util/buildbot-wsgi-dashboards/metadata.xml b/dev-util/buildbot-wsgi-dashboards/metadata.xml index d6de32cbe0ef..55622c7df093 100644 --- a/dev-util/buildbot-wsgi-dashboards/metadata.xml +++ b/dev-util/buildbot-wsgi-dashboards/metadata.xml @@ -5,6 +5,10 @@ <email>dolsen@gentoo.org</email> <name>Brian Dolbec</name> </maintainer> + <maintainer type="person"> + <email>zorry@gentoo.org</email> + <name>Magnus Granberg</name> + </maintainer> <longdescription lang="en"> The buildbot-wsgi-dashboards plugin is the user interface code used to integrate flask or bottle dashboards to buildbot's web interface. diff --git a/dev-util/buildbot-www-react/Manifest b/dev-util/buildbot-www-react/Manifest new file mode 100644 index 000000000000..ab2f6c0f9904 --- /dev/null +++ b/dev-util/buildbot-www-react/Manifest @@ -0,0 +1 @@ +DIST buildbot-www-react-3.9.0.tar.gz 38431 BLAKE2B e32edbd846c131670f8bc3c84fbc9456bd5757a09ed1e3b145f8cbb13707a31866527b3d1d16b7d77a2cf05d90923037841034c835ba5d7bc92ee47d9a00be92 SHA512 bdc1db5a21ff47b8f8c416e1eae38b561b2480d7643b91b598ae25bf6ffa362e6eeadf90c6a0e109dca6b80c15400562529d7b4dfe9e0ed1588e33a69b8c132f diff --git a/dev-util/buildbot-www-react/buildbot-www-react-3.9.0.ebuild b/dev-util/buildbot-www-react/buildbot-www-react-3.9.0.ebuild new file mode 100644 index 000000000000..c42a814463cf --- /dev/null +++ b/dev-util/buildbot-www-react/buildbot-www-react-3.9.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_REQ_USE="sqlite" +PYTHON_COMPAT=( python3_{8,9,10,11} ) +inherit distutils-r1 pypi + +DESCRIPTION="BuildBot base web interface, use with buildbot-react-{console-view,grid-view}..." +HOMEPAGE="https://buildbot.net/ + https://github.com/buildbot/buildbot + https://pypi.org/project/buildbot-www-react/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~amd64-linux ~x86-linux" + +RDEPEND="~dev-util/buildbot-pkg-${PV}[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND}" diff --git a/dev-util/buildbot-www-react/metadata.xml b/dev-util/buildbot-www-react/metadata.xml new file mode 100644 index 000000000000..009fca6fbecd --- /dev/null +++ b/dev-util/buildbot-www-react/metadata.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dolsen@gentoo.org</email> + <name>Brian Dolbec</name> + </maintainer> + <maintainer type="person"> + <email>zorry@gentoo.org</email> + <name>Magnus Granberg</name> + </maintainer> + <longdescription lang="en"> + The BuildBot-www-react package is the base or common code used for the other + react based user interface packages such as the grid and console views. + </longdescription> + <upstream> + <maintainer> + <email>devel@buildbot.net</email> + <name>Developers List</name> + </maintainer> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-util/buildbot-www/Manifest b/dev-util/buildbot-www/Manifest index 37443f8b4330..390f4ebc0e2f 100644 --- a/dev-util/buildbot-www/Manifest +++ b/dev-util/buildbot-www/Manifest @@ -1 +1,2 @@ DIST buildbot-www-3.6.1.tar.gz 3210526 BLAKE2B 6db8be32ee85cab63ad3f92d0e24042ed1ebece3b7be1b67e6f72240f61f3af2c31f1b3b31315db0d7ca18dddab1351eacffb92e762d1f1d68ce414349e52eee SHA512 d2fb3f97412e4a1b21fe7637458dffa8e8e005693ad2275222e908d35551ec64f89a88e696859a09f64b2b5be5fbdb386fbd71324356dbe8c2adc92b1c6b9f01 +DIST buildbot-www-3.9.0.tar.gz 3211620 BLAKE2B d5a75845941b456537be50484d341e450f545cf14ccafdc245d4b4d296df154e333d2797f8e5f5dc42c872a83360c675b0e747564cbcc3c182c4c1c0138205fb SHA512 2c88e0f41d5f4de37eecebc43b21f5f741771e0ecaed79865744503b939335f1f1dd426cd2e1cdbcf75a7573aa89ab5913e4c64aa6dea9e13fa19646dd717c0b diff --git a/dev-util/buildbot-www/buildbot-www-3.9.0.ebuild b/dev-util/buildbot-www/buildbot-www-3.9.0.ebuild new file mode 100644 index 000000000000..949b718c3831 --- /dev/null +++ b/dev-util/buildbot-www/buildbot-www-3.9.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_REQ_USE="sqlite" +PYTHON_COMPAT=( python3_{8,9,10,11} ) +inherit distutils-r1 pypi + +DESCRIPTION="BuildBot base web interface, use with buildbot-{console-view,waterfall-view}..." +HOMEPAGE="https://buildbot.net/ + https://github.com/buildbot/buildbot + https://pypi.org/project/buildbot-www/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~amd64-linux ~x86-linux" + +RDEPEND="~dev-util/buildbot-pkg-${PV}[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND}" diff --git a/dev-util/buildbot-www/metadata.xml b/dev-util/buildbot-www/metadata.xml index de81a5288a25..75fc8d0cb02c 100644 --- a/dev-util/buildbot-www/metadata.xml +++ b/dev-util/buildbot-www/metadata.xml @@ -5,6 +5,10 @@ <email>dolsen@gentoo.org</email> <name>Brian Dolbec</name> </maintainer> + <maintainer type="person"> + <email>zorry@gentoo.org</email> + <name>Magnus Granberg</name> + </maintainer> <longdescription lang="en"> The BuildBot-www package is the base or common code used for the other user interface packages such as the waterfall and console views. diff --git a/dev-util/buildbot/Manifest b/dev-util/buildbot/Manifest index c2083c50a18d..c0ec66e0e9b9 100644 --- a/dev-util/buildbot/Manifest +++ b/dev-util/buildbot/Manifest @@ -1 +1,2 @@ DIST buildbot-3.6.1.tar.gz 2458176 BLAKE2B 4587ed222e2fae424f3c4f275e67e72bf25b0ce88231a29f931582d82fbe93a846f85b14bdc64740939466ccdc3f15dab3774244aa5c0a293250b52b542014ea SHA512 62a993d1acd8bc5cc916f009909b4b099d9f64007fe790dc219104f248bb21e0ab8f1771c354ef61e6d8ba497451cdef5e7a7de17a87cfd1e941b3b49fbf2206 +DIST buildbot-3.9.0.tar.gz 2505725 BLAKE2B 144a16655a8ec23d74ba190a7867a2dce9c65ea6009aa53ea11494be6f03f8d45bc6568a36511812e7664bcc7de9540728b91264251a46301cbd7ebec04c2069 SHA512 9103c5e08f9d5335c0281403d81fc939cc91b81e8051d4590f29e00779392ac706934d209312e51aafc44a35ab768ad54cbd251afe50e326c52e2f1b0d72196b diff --git a/dev-util/buildbot/buildbot-3.9.0.ebuild b/dev-util/buildbot/buildbot-3.9.0.ebuild new file mode 100644 index 000000000000..bfa53a1a446f --- /dev/null +++ b/dev-util/buildbot/buildbot-3.9.0.ebuild @@ -0,0 +1,177 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_REQ_USE="sqlite" +PYTHON_COMPAT=( python3_{8,9,10,11} ) +inherit readme.gentoo-r1 systemd distutils-r1 pypi + +DESCRIPTION="BuildBot build automation system" +HOMEPAGE="https://buildbot.net/ + https://github.com/buildbot/buildbot + https://pypi.org/project/buildbot/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~amd64-linux ~x86-linux" + +IUSE="crypt docker examples irc test" +RESTRICT="!test? ( test )" + +RDEPEND=" + acct-user/buildbot + ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}] + >=dev-python/alembic-1.6.0[${PYTHON_USEDEP}] + >=dev-python/autobahn-0.16.0[${PYTHON_USEDEP}] + >=dev-python/jinja-2.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}] + dev-python/pyjwt[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}] + <dev-python/sqlalchemy-1.5.0[${PYTHON_USEDEP}] + >=dev-python/twisted-18.7.0[${PYTHON_USEDEP}] + >=dev-python/txaio-2.2.2[${PYTHON_USEDEP}] + >=dev-python/zope-interface-4.1.1[${PYTHON_USEDEP}] + crypt? ( + >=dev-python/pyopenssl-16.0.0[${PYTHON_USEDEP}] + dev-python/service-identity[${PYTHON_USEDEP}] + || ( + >=dev-python/twisted-18.7.0[${PYTHON_USEDEP},ssl(-)] + >=dev-python/twisted-18.7.0[${PYTHON_USEDEP},crypt(-)] + ) + dev-python/idna[${PYTHON_USEDEP}] + ) + irc? ( + dev-python/txrequests[${PYTHON_USEDEP}] + ) + docker? ( + >=dev-python/docker-2.2.0[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + ) +" +BDEPEND=" + test? ( + ${RDEPEND} + ~dev-util/buildbot-pkg-${PV}[${PYTHON_USEDEP}] + dev-util/buildbot-worker[${PYTHON_USEDEP}] + ~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}] + >=dev-python/boto3-1.12.48[${PYTHON_USEDEP}] + dev-python/lz4[${PYTHON_USEDEP}] + dev-python/ldap3[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + dev-python/moto[${PYTHON_USEDEP}] + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + dev-python/pypugjs[${PYTHON_USEDEP}] + dev-python/treq[${PYTHON_USEDEP}] + dev-python/txrequests[${PYTHON_USEDEP}] + )" + +DOC_CONTENTS="The \"buildbot\" user and the \"buildmaster\" init script has been added +to support starting buildbot through Gentoo's init system. To use this, +execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance. +The scripts can run as a different user if desired." + +src_prepare() { + # disable all warnings as errors + sed -e "/warnings.filterwarnings('error')/d" -i buildbot/test/__init__.py || die + + distutils-r1_src_prepare +} + +python_test() { + "${EPYTHON}" -m twisted.trial buildbot || die "Tests failed with ${EPYTHON}" +} + +src_install() { + distutils-r1_src_install + + doman docs/buildbot.1 + + if use examples; then + dodoc -r docs/examples + fi + + newconfd "${FILESDIR}/buildmaster.confd" buildmaster + newinitd "${FILESDIR}/buildmaster.initd" buildmaster + systemd_dounit "${FILESDIR}/buildmaster.target" + systemd_newunit "${FILESDIR}/buildmaster_at.service" "buildmaster@.service" + systemd_install_serviced "${FILESDIR}/buildmaster_at.service.conf" "buildmaster@.service" + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + + if [[ -n ${REPLACING_VERSIONS} ]]; then + ewarn + ewarn "Starting with buildbot-0.8.12-r2, more than one instance of buildmaster" + ewarn "can be run simultaneously. Note that \"BASEDIR\" in the buildbot configuration file" + ewarn "is now the common base directory for all instances. If you are migrating from an older" + ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory." + ewarn "The name of the subdirectory corresponds to the name of the buildmaster instance." + ewarn "In order to start the service running OpenRC-based systems need to link to the init file:" + ewarn " ln --symbolic --relative /etc/init.d/buildmaster /etc/init.d/buildmaster.myinstance" + ewarn " rc-update add buildmaster.myinstance default" + ewarn " /etc/init.d/buildmaster.myinstance start" + ewarn "Systems using systemd can do the following:" + ewarn " systemctl enable buildmaster@myinstance.service" + ewarn " systemctl enable buildmaster.target" + ewarn " systemctl start buildmaster.target" + elog + elog "Upstream recommends the following when upgrading:" + elog "Each time you install a new version of Buildbot, you should run the" + elog "\"buildbot upgrade-master\" command on each of your pre-existing build masters." + elog "This will add files and fix (or at least detect) incompatibilities between" + elog "your old config and the new code." + fi + elog + elog "In order to create a new instance of buildmaster, execute:" + elog " emerge --config =${CATEGORY}/${PF}" +} + +pkg_config() { + local buildmaster_path="/var/lib/buildmaster" + local log_path="/var/log/buildmaster" + + einfo "This will prepare a new buildmaster instance in ${buildmaster_path}." + einfo "Press Control-C to abort." + + einfo "Enter the name for the new instance: " + read instance_name + [[ -z "${instance_name}" ]] && die "Invalid instance name" + + local instance_path="${buildmaster_path}/${instance_name}" + local instance_log_path="${log_path}/${instance_name}" + + if [[ -e "${instance_path}" ]]; then + eerror "The instance with the specified name already exists:" + eerror "${instance_path}" + die "Instance already exists" + fi + + local buildbot="/usr/bin/buildbot" + if [[ ! -d "${buildmaster_path}" ]]; then + mkdir --parents "${buildmaster_path}" || die "Unable to create directory ${buildmaster_path}" + fi + "${buildbot}" create-master "${instance_path}" &>/dev/null || die "Creating instance failed" + chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed" + mv "${instance_path}/master.cfg.sample" "${instance_path}/master.cfg" \ + || die "Moving sample configuration failed" + ln --symbolic --relative "/etc/init.d/buildmaster" "/etc/init.d/buildmaster.${instance_name}" \ + || die "Unable to create link to init file" + + if [[ ! -d "${instance_log_path}" ]]; then + mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}" + chown --recursive buildbot:buildbot "${instance_log_path}" \ + || die "Setting permissions for instance failed" + fi + ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \ + || die "Unable to create link to log file" + + einfo "Successfully created a buildmaster instance at ${instance_path}." + einfo "To change the default settings edit the master.cfg file in this directory." +} diff --git a/dev-util/buildbot/buildbot-9999.ebuild b/dev-util/buildbot/buildbot-9999.ebuild index 79e9cd2bf94e..29bdb09ae6a2 100644 --- a/dev-util/buildbot/buildbot-9999.ebuild +++ b/dev-util/buildbot/buildbot-9999.ebuild @@ -22,17 +22,19 @@ RESTRICT="!test? ( test )" RDEPEND=" acct-user/buildbot - >=dev-python/twisted-18.7.0[${PYTHON_USEDEP}] - >=dev-python/jinja-2.1[${PYTHON_USEDEP}] - >=dev-python/zope-interface-4.1.1[${PYTHON_USEDEP}] - >=dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}] - <dev-python/sqlalchemy-1.5.0[${PYTHON_USEDEP}] >=dev-python/alembic-1.6.0[${PYTHON_USEDEP}] - >=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}] - >=dev-python/txaio-2.2.2[${PYTHON_USEDEP}] >=dev-python/autobahn-0.16.0[${PYTHON_USEDEP}] + dev-python/crontiter[${PYTHON_USEDEP}] + >=dev-python/jinja-2.1[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] dev-python/pyjwt[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.3.0[${PYTHON_USEDEP}] + <dev-python/sqlalchemy-1.5.0[${PYTHON_USEDEP}] + >=dev-python/twisted-18.7.0[${PYTHON_USEDEP}] + >=dev-python/txaio-2.2.2[${PYTHON_USEDEP}] + >=dev-python/zope-interface-4.1.1[${PYTHON_USEDEP}] dev-util/buildbot-worker[${PYTHON_USEDEP}] crypt? ( >=dev-python/pyopenssl-16.0.0[${PYTHON_USEDEP}] @@ -54,18 +56,19 @@ RDEPEND=" BDEPEND=" test? ( ${RDEPEND} - dev-python/treq[${PYTHON_USEDEP}] - dev-python/txrequests[${PYTHON_USEDEP}] - dev-python/pypugjs[${PYTHON_USEDEP}] + ~dev-util/buildbot-pkg-${PV}[${PYTHON_USEDEP}] + dev-util/buildbot-worker[${PYTHON_USEDEP}] + ~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}] >=dev-python/boto3-1.12.48[${PYTHON_USEDEP}] - dev-python/moto[${PYTHON_USEDEP}] - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] - >=dev-python/msgpack-0.6.0[${PYTHON_USEDEP}] dev-python/lz4[${PYTHON_USEDEP}] dev-python/ldap3[${PYTHON_USEDEP}] - dev-util/buildbot-pkg[${PYTHON_USEDEP}] - dev-util/buildbot-worker[${PYTHON_USEDEP}] - dev-util/buildbot-www[${PYTHON_USEDEP}] + dev-python/markdown[${PYTHON_USEDEP}] + dev-python/moto[${PYTHON_USEDEP}] + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] + dev-python/parameterized[${PYTHON_USEDEP}] + dev-python/pypugjs[${PYTHON_USEDEP}] + dev-python/treq[${PYTHON_USEDEP}] + dev-python/txrequests[${PYTHON_USEDEP}] )" DOC_CONTENTS="The \"buildbot\" user and the \"buildmaster\" init script has been added diff --git a/dev-util/buildbot/metadata.xml b/dev-util/buildbot/metadata.xml index c10cf8ca1bfe..2b6c4f6ac0eb 100644 --- a/dev-util/buildbot/metadata.xml +++ b/dev-util/buildbot/metadata.xml @@ -5,6 +5,10 @@ <email>dolsen@gentoo.org</email> <name>Brian Dolbec</name> </maintainer> + <maintainer type="person"> + <email>zorry@gentoo.org</email> + <name>Magnus Granberg</name> + </maintainer> <longdescription lang="en"> BuildBot is a system to automate the compile/test cycle required by most software projects to validate code changes. diff --git a/dev-util/fypp/Manifest b/dev-util/fypp/Manifest index 6d6d46fabc32..f5d7f919d777 100644 --- a/dev-util/fypp/Manifest +++ b/dev-util/fypp/Manifest @@ -1 +1,2 @@ DIST fypp-3.1.tar.gz 68237 BLAKE2B 504fe6c655da647b9d30554afe1c0c036f636991562001763180425a572e03b52ceaf0287e68f82ea534914cd61d176fb4bad7fba5562bb1597500d80ae8c919 SHA512 91638d957f6a4306f23406b6a235e8ee8258cf9065e9b8dc3e137bbe651a2e1397f557292f2b4d3628a57ef6ced67df150c25c0bf304944f7c1b2b5b85087bd5 +DIST fypp-3.2.tar.gz 69307 BLAKE2B f84738dafdacc48e41fe67a10d1dafabee8b531b3171f1e0fda6e180ab579cffbd2276f3004a54a428f5adf4409347b639c2339297cfe4d1e8a468cc306b6039 SHA512 79cdaaf540447d72a665360ae8dbdea52d71b2d1a3a8733e35a258d0050d0e77729414e1c59d9905349d3ef61f1a943348efce3fffddd80affd808a0b2660ea3 diff --git a/dev-util/fypp/files/filevarroot.fypp b/dev-util/fypp/files/filevarroot.fypp new file mode 100644 index 000000000000..9eb9a2a720a7 --- /dev/null +++ b/dev-util/fypp/files/filevarroot.fypp @@ -0,0 +1,5 @@ +FILE: ${_FILE_}$:${_LINE_}$ +THIS_FILE: ${_THIS_FILE_}$:${_THIS_LINE_}$ +--- +#:include "filevarroot.inc" +$:macro() diff --git a/dev-util/fypp/fypp-3.2.ebuild b/dev-util/fypp/fypp-3.2.ebuild new file mode 100644 index 000000000000..7b99a77f7668 --- /dev/null +++ b/dev-util/fypp/fypp-3.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Fypp - Python powered Fortran preprocessor" +HOMEPAGE="https://github.com/aradi/fypp" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RESTRICT="!test? ( test )" + +src_prepare() { + default + cp "${FILESDIR}/filevarroot.fypp" "${S}/test/input/" || die +} + +python_test() { + # pass python version as arg + test/runtests.sh ${EPYTHON} || die +} diff --git a/dev-util/patchelf/Manifest b/dev-util/patchelf/Manifest index 7e7fcf5bffb8..ed30350914d1 100644 --- a/dev-util/patchelf/Manifest +++ b/dev-util/patchelf/Manifest @@ -1 +1,2 @@ +DIST patchelf-0.17.2.tar.gz 143954 BLAKE2B 7ed684c63955a0b9cfe293fb966f7f08a90c76e8efb2b493eaf3705c57767b31b31e48ab59f39ff1d91b7a4501e6d203e32a40040625a44a7d44113b1320530c SHA512 e5545416d32248d023759457d0a5cd4841d69f39366eb0aa9cfd8a43d2ce372c6e05995bf60ba62bd85c6d98fdece2dbd1e20872e338ef5ac75f11b82ae091b3 DIST patchelf-0.18.0.tar.gz 331312 BLAKE2B e6ce4ec3bd89c280bb37230dbeb566b803f09900006e79f7dba74f138f66e17746d331baea4def6a43163024b3d86aa8dbac9b2c6545ac146298a8b84373d03b SHA512 6a917d7336b1e8c59f42d4cd1dc725df1378d77657fce13cb31547da1d4805b9df8a834a7b8408fda8aa1dbeb37d0cdca74d8698844ea2f44149f800b802dea6 diff --git a/dev-util/patchelf/patchelf-0.17.2.ebuild b/dev-util/patchelf/patchelf-0.17.2.ebuild new file mode 100644 index 000000000000..968fd2dbe7bd --- /dev/null +++ b/dev-util/patchelf/patchelf-0.17.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Small utility to modify the dynamic linker and RPATH of ELF executables" +HOMEPAGE="https://github.com/NixOS/patchelf" +SRC_URI="https://github.com/NixOS/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~riscv-linux ~x86-linux" +LICENSE="GPL-3" + +src_prepare() { + default + rm src/elf.h || die + + sed -i \ + -e 's:-Werror::g' \ + configure.ac || die + + eautoreconf +} diff --git a/dev-util/patchelf/patchelf-0.18.0.ebuild b/dev-util/patchelf/patchelf-0.18.0.ebuild index e00b1f7629dd..19d9351a66a2 100644 --- a/dev-util/patchelf/patchelf-0.18.0.ebuild +++ b/dev-util/patchelf/patchelf-0.18.0.ebuild @@ -9,7 +9,7 @@ DESCRIPTION="Small utility to modify the dynamic linker and RPATH of ELF executa HOMEPAGE="https://github.com/NixOS/patchelf" SRC_URI="https://github.com/NixOS/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" SLOT="0" -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~riscv-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 x86 ~amd64-linux ~riscv-linux ~x86-linux" LICENSE="GPL-3" PATCHES=( |
