Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/catalyst/
Date: Tue, 10 Mar 2020 18:38:26
Message-Id: 1583865492.c6a01f6a1bcc13eaaee7a6ea39f20d55cb87cbbc.mattst88@gentoo
1 commit: c6a01f6a1bcc13eaaee7a6ea39f20d55cb87cbbc
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 10 18:35:31 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 10 18:38:12 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6a01f6a
7
8 dev-util/catalyst: Version bump to 3.0.9
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 dev-util/catalyst/Manifest | 1 +
13 dev-util/catalyst/catalyst-3.0.9.ebuild | 68 +++++++++++++++++++++++++++++++++
14 2 files changed, 69 insertions(+)
15
16 diff --git a/dev-util/catalyst/Manifest b/dev-util/catalyst/Manifest
17 index 2752f7eaaf1..fb419264506 100644
18 --- a/dev-util/catalyst/Manifest
19 +++ b/dev-util/catalyst/Manifest
20 @@ -1 +1,2 @@
21 DIST catalyst-3.0.8.tar.bz2 873610 BLAKE2B af6fca5dd8dea377795d1b50b942773b0cb8383e1727ba547f1511f126ad4f1494d64ca3d4b3e479664de366e8ed2f8ad8c09c206bbd213d6f95aa51ae56ea8c SHA512 b00a31d9af9b3c1d220080eb6068c924f6ca9f4d574f4805f2b833e61e0fdb79290ec6f5b190c0c7501e015068eb756ede6aea7a959d2e22cef8a055968b7203
22 +DIST catalyst-3.0.9.tar.bz2 873866 BLAKE2B 293a4d52c57e73269f1f82fed8ea72934a0f939b3b9d4fb9943f4971fd4155edecc6cf0170b917eba16f0125aac9861041b7e10f85f6110a35659a2f85fd3665 SHA512 c8c25ad1c76b0040bd84b491909d364306746c660afbbb8c6a074911779aabe89b60a12cc3ac5b9cd3398bdf8986b50d24d9979c3d12d2fa9de66ebf62ded309
23
24 diff --git a/dev-util/catalyst/catalyst-3.0.9.ebuild b/dev-util/catalyst/catalyst-3.0.9.ebuild
25 new file mode 100644
26 index 00000000000..f49e1e66af5
27 --- /dev/null
28 +++ b/dev-util/catalyst/catalyst-3.0.9.ebuild
29 @@ -0,0 +1,68 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +if [[ ${PV} == *9999* ]]; then
36 + SRC_ECLASS="git-r3"
37 + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/catalyst.git"
38 + EGIT_BRANCH="master"
39 +else
40 + SRC_URI="https://gitweb.gentoo.org/proj/catalyst.git/snapshot/${P}.tar.bz2"
41 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86"
42 +fi
43 +
44 +PYTHON_COMPAT=( python3_{6,7,8} )
45 +
46 +inherit distutils-r1 ${SRC_ECLASS}
47 +
48 +DESCRIPTION="Release metatool used for creating releases based on Gentoo Linux"
49 +HOMEPAGE="https://wiki.gentoo.org/wiki/Catalyst"
50 +
51 +LICENSE="GPL-2"
52 +SLOT="0"
53 +IUSE="ccache doc +iso kernel_linux system-bootloader"
54 +
55 +DEPEND="
56 + app-text/asciidoc
57 + >=dev-python/snakeoil-0.6.5[${PYTHON_USEDEP}]
58 +"
59 +RDEPEND="
60 + >=dev-python/snakeoil-0.6.5[${PYTHON_USEDEP}]
61 + >=dev-python/pydecomp-0.3[${PYTHON_USEDEP}]
62 + app-arch/lbzip2
63 + app-crypt/shash
64 + sys-fs/dosfstools
65 + !kernel_FreeBSD? ( || ( app-arch/tar[xattr] app-arch/libarchive[xattr] ) )
66 + kernel_FreeBSD? ( app-arch/libarchive[xattr] )
67 + amd64? ( >=sys-boot/syslinux-3.72 )
68 + x86? ( >=sys-boot/syslinux-3.72 )
69 + ccache? ( dev-util/ccache )
70 + iso? ( virtual/cdrtools )
71 + kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )
72 +"
73 +PDEPEND="system-bootloader? ( >=sys-apps/memtest86+-5.01-r4
74 + sys-boot/grub:2
75 + amd64? ( sys-boot/grub[grub_platforms_efi-32,grub_platforms_efi-64] )
76 + x86? ( sys-boot/grub[grub_platforms_efi-32] )
77 + sys-boot/syslinux
78 + sys-boot/shim )"
79 +
80 +python_prepare_all() {
81 + python_setup
82 + echo VERSION="${PV}" "${PYTHON}" setup.py set_version
83 + VERSION="${PV}" "${PYTHON}" setup.py set_version || die
84 + distutils-r1_python_prepare_all
85 +}
86 +
87 +python_compile_all() {
88 + # build the man pages and docs
89 + emake
90 +}
91 +
92 +python_install_all() {
93 + distutils-r1_python_install_all
94 + if use doc; then
95 + dodoc files/HOWTO.html files/docbook-xsl.css
96 + fi
97 +}