From b7d079f384d345426a0d141a3a1c3fd44103e73f Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Thu, 27 May 2010 16:24:56 +0000 Subject: [PATCH] Version bump. Package-Manager: portage-HEAD/cvs/Linux x86_64 --- dev-util/buildbot/ChangeLog | 8 ++- dev-util/buildbot/Manifest | 4 +- dev-util/buildbot/buildbot-0.8.0.ebuild | 95 +++++++++++++++++++++++++ 3 files changed, 105 insertions(+), 2 deletions(-) create mode 100644 dev-util/buildbot/buildbot-0.8.0.ebuild diff --git a/dev-util/buildbot/ChangeLog b/dev-util/buildbot/ChangeLog index e7eb987a513e..6906dc25b305 100644 --- a/dev-util/buildbot/ChangeLog +++ b/dev-util/buildbot/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/buildbot # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot/ChangeLog,v 1.55 2010/02/20 18:48:48 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot/ChangeLog,v 1.56 2010/05/27 16:24:56 arfrever Exp $ + +*buildbot-0.8.0 (27 May 2010) + + 27 May 2010; Arfrever Frehtes Taifersar Arahesis + +buildbot-0.8.0.ebuild: + Version bump. 20 Feb 2010; Arfrever Frehtes Taifersar Arahesis buildbot-0.7.12.ebuild: diff --git a/dev-util/buildbot/Manifest b/dev-util/buildbot/Manifest index 198f47e68434..3ab8194cd23a 100644 --- a/dev-util/buildbot/Manifest +++ b/dev-util/buildbot/Manifest @@ -4,7 +4,9 @@ AUX buildmaster.confd 218 RMD160 a8f6893aa83c0c169f493104e1c6f023ec45f787 SHA1 8 AUX buildslave.confd 215 RMD160 ffe7545a43c10a9f3e9798f23ba6a32ab47c137b SHA1 8c57893b6ef370a98f4af552d91e1b702b89abd6 SHA256 5d0ab58d0808ccfa2d594b22047dfca9167c855ff749d34523177cefb307f76a DIST buildbot-0.7.11p3.tar.gz 1019706 RMD160 5fc1d9e1c32127109f58ea727cae2e6266b16fb9 SHA1 3c0fc8bbdb2db92450d7294da11fc40979e94e63 SHA256 5bc20a29e761c3eb191c8d7b36ef10929f7c371c50dfeeec426ce3589c8ce740 DIST buildbot-0.7.12.tar.gz 1296550 RMD160 b7c9ad263690708bbf1abadaa0b4bb78de4abd50 SHA1 76e2278cd8cb56dba99086fdcc0400f8fea5079f SHA256 56c38c77a679f380782635ed763744ecaa2c75f8741153b561b7a2cf0577e1be +DIST buildbot-0.8.0.tar.gz 4467106 RMD160 8c15795b41f1ebd71f43ddce100d7d15055bbdad SHA1 0d1b315673e7c18f7c990fe252578b47645979dd SHA256 a85aea3cb911312a836c57c6c0dc24b170b612c429dfaffa7c66083352fd4f7a EBUILD buildbot-0.7.11_p3.ebuild 3108 RMD160 dc6bfdf2da4b7c8823914235ee9a803d8ac03374 SHA1 f523514733eaee33e61469ce1f74c88c7609dfdc SHA256 b364a7b0014fe3360bcd71297ec9120ce46b0e75b8fd9bdcb6b1b56907a2b484 EBUILD buildbot-0.7.12.ebuild 3198 RMD160 30edd57d6b2bd7973be50d0eb53fd343fc5c9aa4 SHA1 ce3438dfa8aa2ebbcc22043f96cb0c3b6e122cc7 SHA256 e05f076ff814239b394bf624ce0deed6a220021ef37cf8e2ffee6a9caa4d8277 -MISC ChangeLog 7677 RMD160 5513aba9b2f1d46e408479878a8a6248041e2018 SHA1 8352538f95598eedfa0bdb1fcdf4421a9e9404c2 SHA256 89034f81596fcaf3605865a2f7add1e5c2a832cbd5d3000048b8fb797aeeb78a +EBUILD buildbot-0.8.0.ebuild 3213 RMD160 a88d157d6d41fb96a219edd5e199cdd90a44d483 SHA1 a39e61b23edb8153d52e0e0aeea4521448ba9b42 SHA256 93d8af4a4a78a02a348494ef1842df97a8e2aabb599052d80dc18329ad373570 +MISC ChangeLog 7824 RMD160 16dc3c852aa9d1ae126908181e7c97cec6ee9f58 SHA1 853a1d916e520fbb4913c7db159a7ba45e200486 SHA256 7210083c05118ad5ed241e9cc5e484b56665ae8bd3365c4d59feec52d5659ee3 MISC metadata.xml 1292 RMD160 87e781b71385afcd20ae84320394fecf27fee917 SHA1 66be097e7db1e17218cf906f4876bda684d779bf SHA256 24c59ac7a6f85e11cd776e636b8e9ebd95350acdd0a3329ad4d584d294b6523a diff --git a/dev-util/buildbot/buildbot-0.8.0.ebuild b/dev-util/buildbot/buildbot-0.8.0.ebuild new file mode 100644 index 000000000000..4e5f57947825 --- /dev/null +++ b/dev-util/buildbot/buildbot-0.8.0.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot/buildbot-0.8.0.ebuild,v 1.1 2010/05/27 16:24:56 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +DISTUTILS_SRC_TEST="trial" +DISTUTILS_DISABLE_TEST_DEPENDENCY="1" + +inherit distutils eutils + +MY_PV="${PV/_p/p}" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="A Python system to automate the compile/test cycle to validate code changes" +HOMEPAGE="http://buildbot.net/ http://pypi.python.org/pypi/buildbot" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="doc irc mail manhole test" + +RDEPEND=">=dev-python/twisted-2.0.1 + mail? ( dev-python/twisted-mail ) + manhole? ( dev-python/twisted-conch ) + irc? ( dev-python/twisted-words ) + dev-python/twisted-web + dev-python/twisted-mail" +DEPEND="${DEPEND} + test? ( dev-python/twisted-mail + dev-python/twisted-web + dev-python/twisted-words ) + doc? ( dev-python/epydoc )" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + enewuser buildbot + python_pkg_setup +} + +src_compile() { + distutils_src_compile + + if use doc; then + einfo "Generation of documentation" + PYTHONPATH="." "$(PYTHON -f)" docs/epyrun -o docs/reference || die "Generation of documentation failed" + fi +} + +src_install() { + distutils_src_install + doinfo docs/buildbot.info + dohtml -r docs/images + + insinto /usr/share/doc/${PF} + doins -r contrib + doins -r docs/examples + + if use doc; then + doins -r docs/reference || die "doins failed" + fi + + newconfd "${FILESDIR}/buildslave.confd" buildslave || die "newconfd failed" + newinitd "${FILESDIR}/buildbot.initd-r1" buildslave || die "newinitd failed" + newconfd "${FILESDIR}/buildmaster.confd" buildmaster || die "newconfd failed" + newinitd "${FILESDIR}/buildbot.initd-r1" buildmaster || die "newinitd failed" + + # Make it print the right names when you start/stop the script. + sed -e "s/@buildbot@/buildslave/" -i "${ED}etc/init.d/buildslave" || die "sed buildslave failed" + sed -e "s/@buildbot@/buildmaster/" -i "${ED}etc/init.d/buildmaster" || die "sed buildmaster failed" +} + +pkg_postinst() { + distutils_pkg_postinst + + elog 'The "buildbot" user and the "buildmaster" and "buildslave" init' + elog "scripts were added to support starting buildbot through gentoo's" + elog "init system. To use this set up your build master or build slave" + elog "following the buildbot documentation, make sure the resulting" + elog 'directories are owned by the "buildbot" user and point' + elog "${ROOT}etc/conf.d/buildmaster or ${ROOT}etc/conf.d/buildslave" + elog "at the right location. The scripts can run as a different user" + elog "if desired. If you need to run more than one master or slave" + elog "just copy the scripts." + elog "" + elog "Upstream recommends the following when upgrading:" + elog "Each time you install a new version of Buildbot, you should run the new" + elog "'buildbot upgrade-master' command on each of your pre-existing buildmasters." + elog "This will add files and fix (or at least detect) incompatibilities between" + elog "your old config and the new code." +} -- 2.26.2