/[gentoo-x86]/dev-util/buildbot-slave/buildbot-slave-0.8.3.ebuild
Gentoo

Contents of /dev-util/buildbot-slave/buildbot-slave-0.8.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Fri Jun 8 07:44:54 2012 UTC (2 years, 1 month ago) by radhermit
Branch: MAIN
Changes since 1.11: +2 -2 lines
Drop unused eutils inherit.

(Portage version: 2.2.0_alpha109/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/buildbot-slave/buildbot-slave-0.8.3.ebuild,v 1.11 2012/06/07 21:09:26 zmedico Exp $
4
5 EAPI="3"
6 PYTHON_DEPEND="2"
7 SUPPORT_PYTHON_ABIS="1"
8 RESTRICT_PYTHON_ABIS="3.* *-jython"
9 DISTUTILS_SRC_TEST="trial buildslave"
10 DISTUTILS_DISABLE_TEST_DEPENDENCY="1"
11
12 inherit distutils user
13
14 DESCRIPTION="BuildBot Slave Daemon"
15 HOMEPAGE="http://trac.buildbot.net/ http://code.google.com/p/buildbot/ http://pypi.python.org/pypi/buildbot-slave"
16 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
17
18 LICENSE="GPL-2"
19 SLOT="0"
20 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-interix ~amd64-linux"
21 IUSE="test"
22
23 RDEPEND="dev-python/setuptools
24 >=dev-python/twisted-2
25 !!<dev-util/buildbot-0.8.1
26 !<dev-util/buildbot-0.8.3"
27 DEPEND="${RDEPEND}
28 test? ( dev-python/mock )"
29
30 PYTHON_MODNAME="buildslave"
31
32 pkg_setup() {
33 python_pkg_setup
34 enewuser buildbot
35 }
36
37 src_install() {
38 distutils_src_install
39
40 doman docs/buildslave.1 || die "doman failed"
41
42 newconfd "${FILESDIR}/buildslave.confd" buildslave || die "newconfd failed"
43 newinitd "${FILESDIR}/buildslave.initd" buildslave || die "newinitd failed"
44 }
45
46 pkg_postinst() {
47 distutils_pkg_postinst
48
49 elog "The \"buildbot\" user and the \"buildslave\" init script has been added"
50 elog "to support starting buildslave through Gentoo's init system. To use this,"
51 elog "set up your build slave following the documentation, make sure the"
52 elog "resulting directories are owned by the \"buildbot\" user and point"
53 elog "\"${ROOT}etc/conf.d/buildslave\" at the right location. The scripts can"
54 elog "run as a different user if desired. If you need to run more than one"
55 elog "build slave, just copy the scripts."
56 }

  ViewVC Help
Powered by ViewVC 1.1.20