Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 86604 Details for
Bug 133004
dev-util/buildbot-0.7.2 (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
The ebuild
buildbot-0.7.2.ebuild (text/plain), 2.50 KB, created by
Michael Schmid
on 2006-05-11 05:33:05 UTC
(
hide
)
Description:
The ebuild
Filename:
MIME Type:
Creator:
Michael Schmid
Created:
2006-05-11 05:33:05 UTC
Size:
2.50 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit distutils > >DESCRIPTION="A Python system to automate the compile/test cycle to validate code changes. Similar to Tinderbox, but simpler." >HOMEPAGE="http://buildbot.sourceforge.net/" >SRC_URI="mirror://sourceforge/buildbot/${P}.tar.gz" > >LICENSE="GPL-1" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="mail irc" >#S=${WORKDIR}/buildbot >RESTRICT="nomirror" > >RDEPEND=">=dev-lang/python-2.2 > >=dev-python/twisted-2.0.1 > !master? ( > mail? ( dev-python/twisted-mail >=dev-lang/python-2.2.2 ) > dev-python/twisted-web > irc? ( dev-python/twisted-words >=dev-lang/python-2.3 ) > )" ># web? ( dev-python/twisted-web ) <- Can't seem to get the master configuration file ready for this ># cvs? ( freshcvs ) <- Gentoo doesn't have an ebuild >DEPEND="${RDEPEND}" > >pkg_setup(){ > enewuser buildbot -1 /bin/bash /var/buildbot nofiles >} > >src_install(){ > distutils_src_install > cd docs > doinfo buildbot.info > dohtml PyCon-2003/buildbot.html > dodoc buildbot.texinfo > > insinto /etc/buildbot/ > cd examples > for file in * > do > newins $file ${file}.sample > done > doconfd ${FILESDIR}/conf.d/buildbot > doinitd ${FILESDIR}/init.d/buildbot >} > >pkg_postinst(){ > einfo "You can let this ebuild to automatically set up the master builder's directory by typing:" > einfo "\"[BUILDBOT_DIR_LOC=\"/my/path\"] [MASTERNAME=\"someproject-buildmaster\"] ebuild /var/db/pkg/dev-util/${PF}/${PF}.ebuild config\" now." > einfo "<Note that the variables in the brackets are optional>\n" > einfo "Of course you can also do the setup by hand, as described in the bb manual: \"info buildbot\"" > einfo "Remember to look at twisted.log in the slave/master workdir." >} > >pkg_config(){ >: ${BUILDBOT_DIR_LOC:=/var/buildbot} >: ${MASTERNAME:=master} >MASTERDIR=$BUILDBOT_DIR_LOC/$MASTERNAME >MASTERCONFIG=$MASTERDIR/master.cfg >if [[ -d $MASTERDIR ]]; then > eerror "A directory already exists at $MASTERDIR and I will not overwrite it." > eerror "Delete $MASTERDIR first if you really want a buildbot repository to be installed again." >else > mkdir -p $MASTERDIR > einfo ">>> Populating buildmaster directory ..." > /usr/bin/buildbot master $MASTERDIR > cp $MASTERDIR/master.cfg.sample $MASTERCONFIG > einfo ">>> Setting buildmaster directory permissions ..." > chown -Rf buildbot $MASTERDIR > einfo ">>> Fixing config file at $MASTERCONFIG ..." > sed -i -e '/.*freshcvs.*/s/^/#/' $MASTERCONFIG > einfo ">>> Done.\nNow you can add the build directory to /etc/conf.d/buildbot and run \"/etc/init.d/buildbot start\"" >fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 133004
: 86604 |
86605
|
86606