diff options
Diffstat (limited to 'dev-embedded/bitbake/bitbake-1.13.2.ebuild')
-rw-r--r-- | dev-embedded/bitbake/bitbake-1.13.2.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-embedded/bitbake/bitbake-1.13.2.ebuild b/dev-embedded/bitbake/bitbake-1.13.2.ebuild new file mode 100644 index 000000000000..4f4e848640b6 --- /dev/null +++ b/dev-embedded/bitbake/bitbake-1.13.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/bitbake/bitbake-1.13.2.ebuild,v 1.1 2011/07/16 20:08:35 radhermit Exp $ + +EAPI="3" +PYTHON_DEPEND="2:2.5" + +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 ~x86" +fi + +DESCRIPTION="package management tool for OpenEmbedded" +HOMEPAGE="http://developer.berlios.de/projects/bitbake/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="doc" + +RDEPEND="|| ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite] dev-lang/python:2.5[sqlite] >=dev-python/pysqlite-2.3.2 ) + 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 + echo "none:" >> doc/manual/Makefile + else + sed -i -e "s:\(share/doc/bitbake-%s.* %\) __version__:\1 \"${PV}\":" setup.py + fi +} |