blob: 84aa7e444533412de6e67c6b195ef7bc8c8a9961 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/bitbake/bitbake-1.15.3.ebuild,v 1.2 2013/05/12 18:31:43 floppym Exp $
EAPI="4"
PYTHON_DEPEND="2:2.5"
PYTHON_USE_WITH="sqlite"
inherit distutils
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://git.openembedded.org/bitbake.git"
inherit git-2
SRC_URI=""
KEYWORDS=""
else
SRC_URI="http://cgit.openembedded.org/cgit.cgi/${PN}/snapshot/${P}.tar.bz2"
KEYWORDS="~amd64 ~ppc ~x86"
fi
DESCRIPTION="package management tool for OpenEmbedded"
HOMEPAGE="http://developer.berlios.de/projects/bitbake/"
LICENSE="GPL-2"
SLOT="0"
IUSE="doc"
RDEPEND="
dev-python/ply
dev-python/progressbar"
DEPEND="${RDEPEND}
doc? ( dev-libs/libxslt )"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
if ! use doc ; then
sed -i -e 's:doctype = "html":doctype = "none":' \
-e 's:("share/doc/bitbake-%s/manual.*))::' setup.py || die
echo "none:" >> doc/manual/Makefile || die
else
sed -i -e "s:\(share/doc/bitbake-%s.* %\) __version__:\1 \"${PV}\":" setup.py || die
fi
}
|