diff options
Diffstat (limited to 'dev-util/buildbot-worker')
-rw-r--r-- | dev-util/buildbot-worker/Manifest | 29 | ||||
-rw-r--r-- | dev-util/buildbot-worker/buildbot-worker-0.9.13.ebuild | 133 | ||||
-rw-r--r-- | dev-util/buildbot-worker/buildbot-worker-9999.ebuild | 4 |
3 files changed, 150 insertions, 16 deletions
diff --git a/dev-util/buildbot-worker/Manifest b/dev-util/buildbot-worker/Manifest index b80782f1c674..6f672ce5b801 100644 --- a/dev-util/buildbot-worker/Manifest +++ b/dev-util/buildbot-worker/Manifest @@ -1,14 +1,15 @@ -AUX buildbot.tac.sample 1809 SHA256 a30325dea9efe1226f8e018aea314b1a44262bfce42fb5e0fd9edd4b7e14be76 SHA512 0cfe04d4587b9befef451d2fb47125643d84bbf12eec99a84622c21f06d7a8e10eb0ceb67c9491b61639b6634b2942ebc42d2ffa8253afbec688dc4e03d70158 WHIRLPOOL e2365fb5b843b005b7dad0ccb7ac0bf7b2de78c12fdfbe6b0bf7b6e978973b5d0660ea8c59d72abf1129383420064847a47b6acaa8d7b7d57052ef23585c699e -AUX buildbot_worker.confd 222 SHA256 1fa81daad2d0b36b5743b5ecd7afb1fb65b4b0b568e565c89cfbca3043e053f9 SHA512 ccea785a073ba3a159f25c42d02722311eae3bdcafa4fe011e80d626f8b1aa74d3fe5118bf0c7831c7ceefdd896feab58667534e47e6814f5c62dd2b6bb0c550 WHIRLPOOL c68188a65e2695450fb800b34958e2ad23538425374e4ad1dd5ead4106d04d4f8d70df9fa86b846b444bf9b767fc8d1f309c9ec4d9b173d979b9866ca9128a62 -AUX buildbot_worker.confd2 367 SHA256 eca0268e8763e4382ac0baf77061d1238b1a81523ba099b794138b8535424923 SHA512 d46ca9656ba3f4fa58208954ba80d0c8e3a2a6a1eb14a92128653e56915811ac1f1e0a4aba0755fe4844aa0d85907eef6c657236035d139faf030b5d6940b820 WHIRLPOOL cd01a8e9ba57f2b41a2a23726cbe77eeb9ac09a6555c95252168f3321b697540cab70d5b33550967ba43908dd110fafbd447d79b9e0ffef9948f520f44b289d0 -AUX buildbot_worker.initd 1139 SHA256 e5572d2219c33b9e6c4689eae779d1aeffa2645b9a0942fcb3909bc7ad9c40f5 SHA512 51a8f21f84849eaa8e26abdb8b7bfaa3be4f1af813485fbb294ac09bef5ea003de32ae07566267fb1d52177fedf2541805af60204a8793645ea4909388e39c10 WHIRLPOOL c8f597e988b0e1a884c8947fa56def10d7d28a5b4d2a3d0c1b02720b0d40ff1241f96870a3f8a3d33a6987cf32bb61ec427e8b0884c260f21de78c0caf0a5ec3 -AUX buildbot_worker.initd2 1640 SHA256 5894d6b79e903d82d3981b08957834af33757ba38ea4ed5f97936283421d7a1e SHA512 8eae575cb001b4750cd2033f9cb82d3985ad9bc2a4bc20ff0e4aaa0cbd05bacf8d6d885ec08112da15e0ccf8fd895006eed39b0b9a4bcaee86911b5180fab0f2 WHIRLPOOL 0f570af7607c066678a328480b3157a3ff04300cf0a13f1f684c8156d20ab0017d801c5461e2b956bbe00464a28a6d956ed312f29e8b0aa7818e58aaaba6eb46 -DIST buildbot-worker-0.9.10.tar.gz 99028 SHA256 1793631d74629cd73bc0df1fadf28fb34d87e63aa72cba82058122bde165a824 SHA512 0f515610d9c788657b10ba6624745841241fe554b472e53abdda221a678eb73d7a21a6529eb0769450de3a79b43bb6e51f4208247a4d8ef25c3d36b6ced6ec89 WHIRLPOOL 67cb199328428167c7e52f7b6ecbe7aa73729b5b453b5a8c16ba4999502bf30d9b139788f755eb4811968a60ce61fde32cdc29a31242d3777302792bb04863a6 -DIST buildbot-worker-0.9.11.tar.gz 100746 SHA256 4254bf964465acb6586fda36b26a424466a265b6a5259138cf4fa63a1e9f6851 SHA512 c7209c3fff8c43a23de71fa61709c9f02a5bdd9c8c8980ac5d205f720abdaa9bdb78d0d4e40fe9f915c8d5cf253b9e3c63401712ee121ac085909b0244d82897 WHIRLPOOL 30e1fb17eda975ff3a1e333a0ae17bdc2b432bd9c139a0c1f8dbea69984311add3a6f0659b7add0a3fecc2acf9460a908709efa8994f5763bfbbd2618df67050 -DIST buildbot-worker-0.9.12.tar.gz 101655 SHA256 d2a9cdf5525bd18965c1f96d2b9afb8b83c46f2d10bfda6a22cbf6724265af41 SHA512 c2e86bd8818eddc2849626a0c7642169bc91fa2cc1d531977736e53c4ad3c87c3f0cb17d7b9acd137e783ae822f558a19f4668e3cd37e90a8435157485bd1d57 WHIRLPOOL 83d914cc94fe99471c830a8615e6a93ccb351c98f75978d6f504cf45a3d87f48a82b07f93b51993c679c1c316c4058fe91e56717f786262d234e230e88b8272b -EBUILD buildbot-worker-0.9.10-r2.ebuild 4810 SHA256 79b798ef0f6513ec2ac108005657d0cb067c6781532b74fa98ddfd21e714a5e4 SHA512 c330f345c67d69ac7c276462104942061ffd9fa5b55173222a8b5b927576ac218ec97a11c09c9fd4eca56beccbbc45f8080d771dd5c1ebde7eef7cff43ca4a2a WHIRLPOOL 9794ba57c88cc4674eb3cc59492d820714ff9e0ece4d6d55a8cf3f14924d4f352323eb37792d3c6dfd9c3b19a846b40004b13396f00769bd3df8bd1a80decaf7 -EBUILD buildbot-worker-0.9.11.ebuild 4804 SHA256 13c159d879f67129928e5e6625bebe0f91414fc0cd4476bb8cd192c3aad2ae98 SHA512 999648a81ebd40ffc7cba11a718374e558d7026f0cc67cec1b7117e6b81f571043037e98ac3e5e0ef8751ae9a426be5fa5e675764223091c789c725ae99a1b7c WHIRLPOOL 6494284ba56aea9f77dcc3bfae2ca49f5224a1550e40b8198715da59a4dce03568272837a5ab5fc7c70c47e81f659061ec8a60c94570ac963e1bdb98e8d31a93 -EBUILD buildbot-worker-0.9.12.ebuild 4807 SHA256 6544fbb1b0cd24e2342091a299dcf5703c07d73e2623c01ef63c898ddd6d1f23 SHA512 a6e244e3971f9015652bdac9702932475da8fce610ab5a92fcde9c01e43ea6a0f18efbbb8f1589fd0babe3dc8975e3becebffc034105536442c090958cfd748d WHIRLPOOL 7f0d827354fb521fcdb105a3e4a0ac05180253b11350a9d86e7aa1eadfac5665169e49b22845ec17e563b57f53af8a663a94c45aecfe8d07f852eb42ece54f45 -EBUILD buildbot-worker-9999.ebuild 4807 SHA256 6544fbb1b0cd24e2342091a299dcf5703c07d73e2623c01ef63c898ddd6d1f23 SHA512 a6e244e3971f9015652bdac9702932475da8fce610ab5a92fcde9c01e43ea6a0f18efbbb8f1589fd0babe3dc8975e3becebffc034105536442c090958cfd748d WHIRLPOOL 7f0d827354fb521fcdb105a3e4a0ac05180253b11350a9d86e7aa1eadfac5665169e49b22845ec17e563b57f53af8a663a94c45aecfe8d07f852eb42ece54f45 -MISC ChangeLog 1884 SHA256 e84ac9d3144868250dba0f8f838d5758ad64836792e5a2fe02a9bcab9a1a74b8 SHA512 6fc01aefe3d8e75fb7ae5448154e04565ebf434acb2e0d843c89d6dbc607ba0b3064a0a352fc38a329ce588061c4491960a2dfdbe3a51bc9f035501170e341e4 WHIRLPOOL 4cff2243ef7c6ee758d399779b0f9d18490b22ea51b7ec27576a83a05996db55f2f78b98f56dcb1d5147c4dc1d2d35259a8e2115d80108aac74f537837d2ad11 -MISC metadata.xml 591 SHA256 3a89cdceb5291fcd69949b39636d7114b706e2c40fcf11b03c0a06bd2aeb51b2 SHA512 d3273df1c8e6284b75ab5cd15cc5092d10db8ab8c0126e5eb21425bf3f2cab0f582a4e1bdf1e96881cc580a13047ac9fc72e09474f03dd788f85cd7962be6257 WHIRLPOOL ad7de4c7080f104c6545121826b45527607a3da5b5135dfb66de78369818665e05905d1d514ab6da940295c04d4dc030e054882802c9eb2ba120c41c168ffb15 +AUX buildbot.tac.sample 1809 BLAKE2B 57b907edf44579b9f380d528d47fbf3616248d106190f700313e050bd439909f6522a20ce2bf91e6e18205b52ca79f9f6ecdb98d8018e67059c0a74c00d56483 SHA512 0cfe04d4587b9befef451d2fb47125643d84bbf12eec99a84622c21f06d7a8e10eb0ceb67c9491b61639b6634b2942ebc42d2ffa8253afbec688dc4e03d70158 +AUX buildbot_worker.confd 222 BLAKE2B 54c18448ab0b4b9b056aa45d2c1a02608f942428708933290338f46e16b19a3a6d02d4e8ecfe3c85960441c43ae4bcd8b50b8b9ac970ba33be2e4c1f5c2f27b2 SHA512 ccea785a073ba3a159f25c42d02722311eae3bdcafa4fe011e80d626f8b1aa74d3fe5118bf0c7831c7ceefdd896feab58667534e47e6814f5c62dd2b6bb0c550 +AUX buildbot_worker.confd2 367 BLAKE2B 51ea7eacb99bec3e8fe31ef9933ddeebc4ae6afad1880f4acb76b0460b16336f00b1868b980315b09ba591be9dab9379466cfa6eda5b6d7a999a5e4eaa1b76be SHA512 d46ca9656ba3f4fa58208954ba80d0c8e3a2a6a1eb14a92128653e56915811ac1f1e0a4aba0755fe4844aa0d85907eef6c657236035d139faf030b5d6940b820 +AUX buildbot_worker.initd 1139 BLAKE2B 8b4159313aca170c1aba90aa4315e877d5d7fb375bb70068505d6daa08400ab1270b2ec72aabbaf711aa5b700ff377c10b8d813090518d541f3cda306086cbaf SHA512 51a8f21f84849eaa8e26abdb8b7bfaa3be4f1af813485fbb294ac09bef5ea003de32ae07566267fb1d52177fedf2541805af60204a8793645ea4909388e39c10 +AUX buildbot_worker.initd2 1640 BLAKE2B 17a40547260004b40d77219aefa70f08846741e328a2a20bb0b075d5fa0007cc6ad63ecf600eee49251de14c4abb41f70ca813a9429dbce251509121157da9b9 SHA512 8eae575cb001b4750cd2033f9cb82d3985ad9bc2a4bc20ff0e4aaa0cbd05bacf8d6d885ec08112da15e0ccf8fd895006eed39b0b9a4bcaee86911b5180fab0f2 +DIST buildbot-worker-0.9.10.tar.gz 99028 BLAKE2B 8cbbcceceb60afa6194c1e1c8f7382eb92a6e7517aa94477656f81c0c3eed38d39d85f1e98a37481fde39d24726c1dce73a6e8b9f2615faa2592f16900a4efd3 SHA512 0f515610d9c788657b10ba6624745841241fe554b472e53abdda221a678eb73d7a21a6529eb0769450de3a79b43bb6e51f4208247a4d8ef25c3d36b6ced6ec89 +DIST buildbot-worker-0.9.11.tar.gz 100746 BLAKE2B ad8111100ee565cb70a7234e1527b5145e40d791341f16e4b415fc0d2dbd33cdc226b462ebb4de370ba3731df0d81217d797691e1c8cb1fcbf73c199674968ce SHA512 c7209c3fff8c43a23de71fa61709c9f02a5bdd9c8c8980ac5d205f720abdaa9bdb78d0d4e40fe9f915c8d5cf253b9e3c63401712ee121ac085909b0244d82897 +DIST buildbot-worker-0.9.12.tar.gz 101655 BLAKE2B a73f98ec56bd3ad6d19ad0b9dfa015869fd6115789a7ddcecdebdac8707850715c677ee248668f73035ea5656665973634829f2f97e3e75fe8e1515cb0838b88 SHA512 c2e86bd8818eddc2849626a0c7642169bc91fa2cc1d531977736e53c4ad3c87c3f0cb17d7b9acd137e783ae822f558a19f4668e3cd37e90a8435157485bd1d57 +DIST buildbot-worker-0.9.13.tar.gz 102710 BLAKE2B ab60bc2607a706ecc760c2439655bca3f328d773fbb07e73c994f079356341a251ca23c573a71cce92dbf71ba62ceaa70210f8925fd4d1cdfac335b2a485ee9f SHA512 920f76d70c88a660b1d4c15683847a144b8dfaa01b91742ff2fedbe013ab030d3c5f07b6308f8bfb3f7bf3c2f805f7735d007e67257ca5233d2b585518f79e40 +EBUILD buildbot-worker-0.9.10-r2.ebuild 4810 BLAKE2B 8e4432a39c33377a58d78fdb442d9cdd7a343dec1cd22435288fef4b12fe28757090c27c1914fc0a6cc0366fd78ab712c2472617c711911327cc13afdceece4d SHA512 c330f345c67d69ac7c276462104942061ffd9fa5b55173222a8b5b927576ac218ec97a11c09c9fd4eca56beccbbc45f8080d771dd5c1ebde7eef7cff43ca4a2a +EBUILD buildbot-worker-0.9.11.ebuild 4804 BLAKE2B 9bffadc0e2237049223801828898588e028ed3d6caa95d434149c01d3d2772263ae8e5843405d15efe10613ab288011e1e92e77d52fef59f059e278e21cac916 SHA512 999648a81ebd40ffc7cba11a718374e558d7026f0cc67cec1b7117e6b81f571043037e98ac3e5e0ef8751ae9a426be5fa5e675764223091c789c725ae99a1b7c +EBUILD buildbot-worker-0.9.12.ebuild 4807 BLAKE2B ca781f207c2ad6f5aa0028a4bcded57a7875c969642489791827ca94556e2710bedaa3142e18275431838a173c504a66d471d205705f54bc0c99a7aad8f9016e SHA512 a6e244e3971f9015652bdac9702932475da8fce610ab5a92fcde9c01e43ea6a0f18efbbb8f1589fd0babe3dc8975e3becebffc034105536442c090958cfd748d +EBUILD buildbot-worker-0.9.13.ebuild 4814 BLAKE2B f84a2610fee9092d86a4f1acc2e7c07aff137d0f9f38c702a0f829a03186b5a644be47474966ce1c935c9881439c92830a6363066648776f9a1b1c0e8ef6c462 SHA512 eb66e9ba14a47d46d5bea97ce47d049664580ebf8f4748584b0fa26cc643a854ba1cdd1809e7255324f718053f0e8b0c9a8dc54cf59928d1a6cf0071355766ba +EBUILD buildbot-worker-9999.ebuild 4814 BLAKE2B f84a2610fee9092d86a4f1acc2e7c07aff137d0f9f38c702a0f829a03186b5a644be47474966ce1c935c9881439c92830a6363066648776f9a1b1c0e8ef6c462 SHA512 eb66e9ba14a47d46d5bea97ce47d049664580ebf8f4748584b0fa26cc643a854ba1cdd1809e7255324f718053f0e8b0c9a8dc54cf59928d1a6cf0071355766ba +MISC metadata.xml 591 BLAKE2B e5b06e8136a2adbab54c70e416a7117fccf3ae0a33bab129e1b5db13096cdb8716ca09606fd67a9c82088a0e40e0ae8bc3137262086c8ebb45bbc6993c14984a SHA512 d3273df1c8e6284b75ab5cd15cc5092d10db8ab8c0126e5eb21425bf3f2cab0f582a4e1bdf1e96881cc580a13047ac9fc72e09474f03dd788f85cd7962be6257 diff --git a/dev-util/buildbot-worker/buildbot-worker-0.9.13.ebuild b/dev-util/buildbot-worker/buildbot-worker-0.9.13.ebuild new file mode 100644 index 000000000000..a9abdbc71ee4 --- /dev/null +++ b/dev-util/buildbot-worker/buildbot-worker-0.9.13.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +EGIT_REPO_URI="https://github.com/buildbot/buildbot.git" + +[[ ${PV} == *9999 ]] && inherit git-r3 +inherit readme.gentoo-r1 user distutils-r1 + +DESCRIPTION="BuildBot Worker (slave) Daemon" +HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.python.org/pypi/buildbot-worker" + +MY_V="${PV/_p/p}" +MY_P="${PN}-${MY_V}" +[[ ${PV} == *9999 ]] || SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +if [[ ${PV} == *9999 ]]; then + KEYWORDS="" +else + KEYWORDS="~amd64" +fi +IUSE="test" + +RDEPEND=">=dev-python/setuptools-21.2.1[${PYTHON_USEDEP}] + >=dev-python/twisted-17.9.0[${PYTHON_USEDEP}] + dev-python/future[${PYTHON_USEDEP}] + !<dev-util/buildbot-0.9.7 +" +DEPEND="${RDEPEND} + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/setuptools_trial[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_P}" +[[ ${PV} == *9999 ]] && S=${S}/worker + +pkg_setup() { + enewuser buildbot + + 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." +} + +python_test() { + distutils_install_for_testing + + esetup.py test || die "Tests failed under ${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 + + 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 "Starting with buildbot-worker-0.9.10-r1, more than one instance of a buildbot_worker" + ewarn "can be run simultaneously. 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 "${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}" + 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 4fd3f42b8d6f..a9abdbc71ee4 100644 --- a/dev-util/buildbot-worker/buildbot-worker-9999.ebuild +++ b/dev-util/buildbot-worker/buildbot-worker-9999.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI="6" -PYTHON_COMPAT=( python2_7 python3_5 ) +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) EGIT_REPO_URI="https://github.com/buildbot/buildbot.git" @@ -38,7 +38,7 @@ DEPEND="${RDEPEND} " S="${WORKDIR}/${MY_P}" -[[ ${PV} == *9999 ]] && S=${S}/slave +[[ ${PV} == *9999 ]] && S=${S}/worker pkg_setup() { enewuser buildbot |