Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/catalyst/
Date: Fri, 31 Aug 2018 19:21:11
Message-Id: 1535743234.36040969e5f41263ebdd7133a8a760840b5c8408.bkohler@gentoo
1 commit: 36040969e5f41263ebdd7133a8a760840b5c8408
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 31 19:19:52 2018 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 31 19:20:34 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36040969
7
8 dev-util/catalyst: add missing snakeoil RDEPEND, revbump
9
10 Fixes: https://bugs.gentoo.org/651230
11 Package-Manager: Portage-2.3.48, Repoman-2.3.10
12 RepoMan-Options: --force
13
14 dev-util/catalyst/catalyst-3.0.2-r1.ebuild | 71 ++++++++++++++++++++++++++++++
15 1 file changed, 71 insertions(+)
16
17 diff --git a/dev-util/catalyst/catalyst-3.0.2-r1.ebuild b/dev-util/catalyst/catalyst-3.0.2-r1.ebuild
18 new file mode 100644
19 index 00000000000..74acf27f4ce
20 --- /dev/null
21 +++ b/dev-util/catalyst/catalyst-3.0.2-r1.ebuild
22 @@ -0,0 +1,71 @@
23 +# Copyright 1999-2018 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=6
27 +
28 +if [[ ${PV} == *9999* ]]; then
29 + SRC_ECLASS="git-r3"
30 + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/catalyst.git"
31 + EGIT_BRANCH="master"
32 +else
33 + SRC_URI="mirror://gentoo/${P}.tar.bz2
34 + https://dev.gentoo.org/~dolsen/releases/catalyst/${P}.tar.bz2
35 + https://dev.gentoo.org/~jmbsvicetto/distfiles/${P}.tar.bz2
36 + https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.bz2"
37 + KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd"
38 +fi
39 +
40 +PYTHON_COMPAT=( python{3_4,3_5,3_6} )
41 +
42 +inherit distutils-r1 ${SRC_ECLASS}
43 +
44 +DESCRIPTION="Release metatool used for creating releases based on Gentoo Linux"
45 +HOMEPAGE="https://wiki.gentoo.org/wiki/Catalyst"
46 +
47 +LICENSE="GPL-2"
48 +SLOT="0"
49 +IUSE="ccache doc kernel_linux system-bootloader"
50 +
51 +DEPEND="
52 + app-text/asciidoc
53 + >=dev-python/snakeoil-0.6.5[${PYTHON_USEDEP}]
54 +"
55 +RDEPEND="
56 + app-arch/lbzip2
57 + app-crypt/shash
58 + >=dev-python/pydecomp-0.2[${PYTHON_USEDEP}]
59 + >=dev-python/snakeoil-0.6.5[${PYTHON_USEDEP}]
60 + sys-fs/dosfstools
61 + !kernel_FreeBSD? ( || ( app-arch/tar[xattr] app-arch/libarchive[xattr] ) )
62 + kernel_FreeBSD? ( app-arch/libarchive[xattr] )
63 + virtual/cdrtools
64 + amd64? ( >=sys-boot/syslinux-3.72 )
65 + x86? ( >=sys-boot/syslinux-3.72 )
66 + ccache? ( dev-util/ccache )
67 + kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )
68 +"
69 +PDEPEND="system-bootloader? ( >=sys-apps/memtest86+-5.01-r4
70 + sys-boot/grub:2
71 + amd64? ( sys-boot/grub[grub_platforms_efi-32,grub_platforms_efi-64] )
72 + x86? ( sys-boot/grub[grub_platforms_efi-32] )
73 + sys-boot/syslinux
74 + sys-boot/shim )"
75 +
76 +python_prepare_all() {
77 + python_setup
78 + echo VERSION="${PV}" "${PYTHON}" setup.py set_version
79 + VERSION="${PV}" "${PYTHON}" setup.py set_version || die
80 + distutils-r1_python_prepare_all
81 +}
82 +
83 +python_compile_all() {
84 + # build the man pages and docs
85 + emake
86 +}
87 +
88 +python_install_all() {
89 + distutils-r1_python_install_all
90 + if use doc; then
91 + dodoc files/HOWTO.html files/docbook-xsl.css
92 + fi
93 +}