1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 if [[ ${PV} == *9999* ]]; then
9 EGIT_REPO_URI="git://anongit.gentoo.org/proj/catalyst.git"
16 SRC_URI="mirror://gentoo/${P}.tar.bz2
17 https://dev.gentoo.org/~jmbsvicetto/distfiles/${P}.tar.bz2
18 https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.bz2"
19 KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
22 PYTHON_COMPAT=( python2_7 )
24 inherit distutils-r1 multilib ${SRC_ECLASS}
26 DESCRIPTION="Release metatool used for creating releases based on Gentoo Linux"
27 HOMEPAGE="https://www.gentoo.org/proj/en/releng/catalyst/"
31 IUSE="ccache doc kernel_linux"
35 >=dev-python/snakeoil-0.5.2
41 amd64? ( >=sys-boot/syslinux-3.72 )
42 ia64? ( sys-fs/dosfstools )
43 x86? ( >=sys-boot/syslinux-3.72 )
44 ccache? ( dev-util/ccache )
45 kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )
48 python_prepare_all() {
50 echo VERSION="${PV}" "${PYTHON}" setup.py set_version
51 VERSION="${PV}" "${PYTHON}" setup.py set_version
54 python_compile_all() {
55 # build the man pages and docs
60 distutils-r1_python_install_all
62 dodoc files/HOWTO.html files/docbook-xsl.css