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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Dec 1 19:57:59 2012 UTC (16 months, 2 weeks ago) by armin76
Branch: MAIN
Changes since 1.7: +2 -2 lines
alpha/ia64/s390/sh/sparc stable wrt #441306

(Portage version: 2.1.11.31/cvs/Linux ia64, signed Manifest commit with key F6AD3240)

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.7.ebuild,v 1.7 2012/11/20 20:57:13 ago 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
17 MY_PV="${PV/_p/p}"
18 MY_P="${PN}-${MY_PV}"
19 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
20
21 LICENSE="GPL-2"
22 SLOT="0"
23 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-interix ~amd64-linux"
24 IUSE="test"
25
26 RDEPEND="dev-python/setuptools
27 dev-python/twisted
28 !!<dev-util/buildbot-0.8.1
29 !<dev-util/buildbot-0.8.3"
30 DEPEND="${RDEPEND}
31 test? ( dev-python/mock )"
32
33 PYTHON_MODNAME="buildslave"
34
35 S="${WORKDIR}/${MY_P}"
36
37 pkg_setup() {
38 python_pkg_setup
39 enewuser buildbot
40 }
41
42 src_install() {
43 distutils_src_install
44
45 doman docs/buildslave.1 || die "doman failed"
46
47 newconfd "${FILESDIR}/buildslave.confd" buildslave || die "newconfd failed"
48 newinitd "${FILESDIR}/buildslave.initd" buildslave || die "newinitd failed"
49 }
50
51 pkg_postinst() {
52 distutils_pkg_postinst
53
54 elog "The \"buildbot\" user and the \"buildslave\" init script has been added"
55 elog "to support starting buildslave through Gentoo's init system. To use this,"
56 elog "set up your build slave following the documentation, make sure the"
57 elog "resulting directories are owned by the \"buildbot\" user and point"
58 elog "\"${ROOT}etc/conf.d/buildslave\" at the right location. The scripts can"
59 elog "run as a different user if desired. If you need to run more than one"
60 elog "build slave, just copy the scripts."
61 }

  ViewVC Help
Powered by ViewVC 1.1.20