# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-admin/cdist/cdist-3.0.2.ebuild,v 1.1 2014/01/26 12:12:33 pinkbyte Exp $ EAPI=5 PYTHON_COMPAT=( python{3_2,3_3} ) EGIT_REPO_URI="https://github.com/telmich/cdist.git" inherit distutils-r1 git-r3 DESCRIPTION="A usable configuration management system" HOMEPAGE="http://www.nico.schottelius.org/software/cdist/" LICENSE="GPL-3" SLOT="0" IUSE="doc" DOCS=( README ) src_prepare() { # since eclass dont fetch tags, wee need the tags get it git fetch ${EGIT_REPO_URI} git fetch --tags ${EGIT_REPO_URI} bin/build-helper version make -j8 man } python_install_all() { if use doc; then HTML_DOCS=( docs/man/man1/*.html docs/man/man7/*.html ) fi distutils-r1_python_install_all doman docs/man/man1/*.1 docs/man/man7/*.7 }